You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Paul Spencer (JIRA)" <de...@myfaces.apache.org> on 2009/02/03 03:45:59 UTC

[jira] Created: (TRINIDAD-1386) Add to render a list of select items as checkboxs

Add <tr:selectManyCheckbox> to render a list of select items as checkboxs
-------------------------------------------------------------------------

                 Key: TRINIDAD-1386
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1386
             Project: MyFaces Trinidad
          Issue Type: New Feature
          Components: Components
    Affects Versions: 1.0.10-core, 1.2.10-core
            Reporter: Paul Spencer


I have list of select items that are currently rendered using <tr:selectManyListbox> that I would like to see rendered as checkboxes across many columns.  The primary reason is to display a greater number of choices to the user at one time.    As an example, a 3 column list of Users would like the following:
    Users:    _  Sam Smith     _ Jane Doe       _Jerry James
                  _ Bill Smith         _ Sam Sneed   _ Tom Jones

A suggested tag would be a combination of <tr:selectManyListbox> and <tr:panelList>.  For the above example I would expect the tag to be:
  <tr:selectManyCheckbox rows="2'" maxColumns="3" label="Users" value="#{selectedUsers}">
      <f:selectItem itemValue="Sam Smith"/>
      <f:selectItem itemValue="Bil Smith"/>
      ....
   </tr:selectManyCheckbox>

Other implementation notes:
o <f:selectItems> can be used in place of <tr;selectItem>
o Rules around the ordering of the check boxes should be similar to the ordering rules in <tr:panelList>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.