myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "from ADF to Trinidad" by SimonLessard
Date Fri, 18 Aug 2006 14:01:23 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by SimonLessard:
http://wiki.apache.org/myfaces/from_ADF_to_Trinidad

The comment on the change is:
Added doc on new components

------------------------------------------------------------------------------
  
  For a detailed list of all renamed components take a look at the [http://wiki.apache.org/myfaces/Trinidad_renaming
Components renaming] page.
  
+ == New components ==
+ 
+ Trinidad provides more components than ADF Faces, maybe some will answer a need you had
in the past.
+ 
+ ==== tr:inputNumberSpinbox ====
+ 
+  This component allows the user to enter a number and increment/decrement it using buttons
placed to the right of the input field. You can control the amount by which the number change
everytime the user press the increment/decrement button using the setpSize attribute. Example
of usage:
+  {{{
+ <tr:inputNumberSpinbox value="#{user.age}" stepSize="1"/>
+ }}}
+ 
+ ==== tr:outputDocument ====
+ 
+  This component allows you to print a multi-paragraph document without having to parse it
yourself. Each line feed of carriage return of the outputDocument's value will be interpreted
as a paragraph change. This component also supports title and separator facets. The former
will be placed before the first paragraph while the latter will be placed between paragraphes.
Example:
+  {{{
+ <tr:outputDocument value="#{resourceBean.longText}">
+   <f:facet name="title">
+     <tr:panelHeader text="#{resourceBean.longTextTitle}"/>
+   </f:facet>
+   <f:facet name="separator">
+     <tr:image src="/images/separator.gif"/>
+   </f:facet>
+ </tr:outputDocument>
+ }}}
+ 
+ ==== tr:panelAccordion ====
+ 
+  This component contains what was previously known as af:showOnePanel. However, it also
includes a cool new feature, showManyAccordion. With af:showOnePanel, the user was only able
to see one detail at a time. If you wanted to show more you had to use many af:showDetailHeader
components. showManyAccordion option now do it for you! It's like showOnePanel, but allow
the user to disclose any amount of children. Example:
+  {{{
+ <tr:panelAccordion discloseMany="true">
+   <tr:showDetailItem text="Item 1">
+     <!-- Add content here -->
+   </tr:showDetailItem>
+   <tr:showDetailItem text="Item 1">
+     <!-- Add content here -->
+   </tr:showDetailItem>
+ </tr:panelAccordion>
+ }}}
+ 
  == Deprecated components ==
  
  The following components were deprecated and might be desupported in the future, their usage
is therefore discouraged.
@@ -73, +112 @@

  The following components no longer exists and cannot be used anymore.
  
  ==== <af:menu*/> ====
- {{{
+  {{{
  <af:menuBar/>, <af:menuList/>, <af:menuTabs/> and <af:menuTree/>
  }}}
- Were merged into a single navigation component: 
+  Were merged into a single navigation component: 
- {{{
+  {{{
  <tr:navigationPane/>
  }}}
  
@@ -86, +125 @@

  The following attributes no longer exists and cannot  be used anymore.
  
  ==== Tip ====
- {{{tip}}} was replaced by the {{{help}}} facet found on most input components. A convenience
{{{helpText}}} attribute might be added in the future to make transition between ADF Faces
and Trinidad easier.
+  {{{tip}}} was replaced by the {{{help}}} facet found on most input components. A convenience
{{{helpText}}} attribute might be added in the future to make transition between ADF Faces
and Trinidad easier.
  
  == The "adfFacesContext" EL object ==
  

Mime
View raw message