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
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/
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
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
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
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
6 matches
Mail list logo