RE: checkboxlist

2009-03-26 Thread Muthu Velappan
list="activePermissions" hold the entire collection holding Map. value="permissions" holds the Set that are applicable for this user. So, you can assume it like this.. The set you provide in "list" will get rendered as checkboxes and set in "value" will be used to check the rendere

Re: Checkboxlist - bind to List

2007-09-05 Thread Laurie Harper
Moacir Cardoso wrote: Hello!, I´m trying to bind some checkbox values to one parameterized List. Lets say List. Is it possible? in Jsp: list="#{'1':'Car1','2':'Car2','3':'Car3'}"> in Action: private List myList; ... gets and sets. If you already have a list in your action, you don't need/

Re: checkboxlist formatted vertically?

2007-05-17 Thread Josh Vickery
I agree! I would use checkboxes instead of a checkboxlist rather than write my own theme. I did something like that recently: On 5/17/07, Allen Gilliland <[EMAIL PROTECTED]> wrote: yeah, this is for struts2. that's a shame, hacking my own theme just so that my list gets

Re: checkboxlist formatted vertically?

2007-05-17 Thread Allen Gilliland
yeah, this is for struts2. that's a shame, hacking my own theme just so that my list gets formatted vertically seems overkill :( -- Allen Nuwan Chandrasoma wrote: Hi, Is this struts 2 or 1.x? in struts 2., we can create a theme , i think this may help you, but i am not sure this is the be

RE: checkboxlist formatted vertically?

2007-05-17 Thread Al Sutton
If you want to stay with checkboxlist you'll need to define your own theme with a template for checkboxes separated by s. You can find information on how to do it at; http://cwiki.apache.org/WW/themes-and-templates.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTE

Re: checkboxlist formatted vertically?

2007-05-16 Thread Nuwan Chandrasoma
Hi, Is this struts 2 or 1.x? in struts 2., we can create a theme , i think this may help you, but i am not sure this is the best solution for your problem http://www.vitarara.org/cms/struts_2_cookbook/creating_a_theme Thanks, Nuwan - Original Message - From: "Allen Gilliland" <[E