aspose file tools
The moose likes JSF and the fly likes Dynamically render a link near label for each option in selectItems Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Dynamically render a link near label for each option in selectItems" Watch "Dynamically render a link near label for each option in selectItems" New topic
Author

Dynamically render a link near label for each option in selectItems

Vladlen Prohorov
Greenhorn

Joined: Mar 23, 2009
Posts: 5

Hi,
I'm working on part of CMS that can edit radio and checkboxes.
it't possible to dynamically render a link near label for each option in selectItems ? I mean something like:



tomahawk's selectItems have iterator, but doesn't support nested tags, so

doesn't work.
not sure I can write my own implementation.
may be there is some ready-made conponent ? or any other suggestions ?
Thanks in advance.
Dominik Scholz
Greenhorn

Joined: Mar 30, 2009
Posts: 8
Hi there,
i had a similar problem where i needed to color the background differently for each selectItem.
I replaced the SelectItems with a booleanCheckbox and an outputText inside a repeater.
This way you could add a commandLink easily.
Vladlen Prohorov
Greenhorn

Joined: Mar 23, 2009
Posts: 5

Thanks, a good idea ! (and simple enough)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamically render a link near label for each option in selectItems
 
Similar Threads
DOM and adding a brand new select list
unable to do validation for select in struts2
Inter Frame communication in quiz application
Struts 2 <s:submit action > and javascript help
id of radio button not unique when SelectItemGroup is used