Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

selectManyCheckbox and own layout?  RSS feed

 
Ronald Johnson
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i do not understand the strong coupling between layout and the data in JSF.
I want to display several rows of checkboxes,
like below where
C=a checkbox,
N= the displayed name of the checkbox
BAR=a column where some calculated values are displayed (e.g. a bar with the length corresponding to how many times the name display in some text)

C N BAR
C N BAR
C N BAR

I try to use t:selectManyCheckbox, but I does not seem to have any layout controls. I can do
<t:selectManyCheckbox id="alist" layout="pageDirection"
value="#{searchCriteria_backing.mediaTypes}"
border="0">

and will have the rows generated, but how can I add a column of my own?

any ideas how I can achieve this?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!