You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/12/26 21:32:07 UTC

[Myfaces Wiki] Trivial Update of "Display Radio Buttons In Columns" by LuisParravicini

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 LuisParravicini:
http://wiki.apache.org/myfaces/Display_Radio_Buttons_In_Columns

The comment on the change is:
minor style changes and typo correction

------------------------------------------------------------------------------
  Below are two examples of displaying radio buttons in columns.  Both examples are similar in that they will display a total of nine buttons in three
  columns and result in setting the property {{{button}}} in the managed bean {{{bean}}}.  The difference is the source of the buttons.  In the static example the number of buttons is hard coded into the JSF, in the dynamic the number of buttons is not known only to the managed bean.
  
- Their is a related enhancement request to implement the {{{layoutWidth}}} attribute currently available in {{{<t:selectManyCheckBox>}}}.  See http://issues.apache.org/jira/browse/TOMAHAWK-526
+ There is a related enhancement request to implement the {{{layoutWidth}}} attribute currently available in {{{<t:selectManyCheckBox>}}}.  See http://issues.apache.org/jira/browse/TOMAHAWK-526
  
  == Static Example ==
  The example below will display a list of 9 buttons in 3 columns.
  
  Notice that {{{<t:selectOneRadio>}}} and it's associated {{{<h:panelGrid>}}} are inside a {{{<h:panelGroup>}}}.  If this
- was not done, the{{{<t:selectOneRadio>}}} would be rendered as a column and the radio buttons in another column.
+ was not done, the {{{<t:selectOneRadio>}}} would be rendered as a column and the radio buttons in another column.
  
  {{{
  <h:form id="myForm">
@@ -48, +48 @@

  
  Notice:
   * The use of {{{<t:dataTable>}}} inside {{{<h:panelGroup>}}}. 
-  * The {{{forceId="true" forceIdIndex="false"}}} in{{{<t:selectOneRadio>}}} is required to insure only one radio button is selected.   
+  * The {{{forceId="true" forceIdIndex="false"}}} in {{{<t:selectOneRadio>}}} is required to insure only one radio button is selected.   
   * The use of the id attribute in {{{<h:form>}}}, {{{<t:selectOneRadio>}}}, and {{{<t:radio>}}}
  
  {{{