Re: s:checkboxlist help

2010-05-05 Thread Upasana Sharma
thanks for the response the issue is solved as On Wed, May 5, 2010 at 2:41 PM, Sébastien Domergue < sebastien.domer...@c-s.fr> wrote: > Hi, > > the label attribute is only used to render the label of the group of > checkboxes. It is not used in an iterative way. In order to access to your

Re: s:checkboxlist help

2010-05-05 Thread Sébastien Domergue
Hi, the label attribute is only used to render the label of the group of checkboxes. It is not used in an iterative way. In order to access to your .properties file, you have to build your list in your action then give it in list attribute. Regards Sébastien Le 05/05/2010 10:56, Upasana Sh

s:checkboxlist help

2010-05-05 Thread Upasana Sharma
But the key value is not passed to getText() The idea is to just initialize the keys in the checkboxlist and fetch the corresponding display text from .properties file Thanks in advance

Re: s:checkboxlist is there a way to do checked/unchecked

2009-03-21 Thread sajidbigler
i resolved this senario by replacing JSP as > -- View this message in context: http://www.nabble.com/s%3Acheckboxlist-is-there-a-way-to-do-checked-unchecked-tp22633750p22635748.html Sent from the Struts - User mailing list archive at Nabble.com. --

Re: s:checkboxlist is there a way to do checked/unchecked

2009-03-21 Thread sajidbigler
i resolved this senario by replacing JSP as > -- View this message in context: http://www.nabble.com/s%3Acheckboxlist-is-there-a-way-to-do-checked-unchecked-tp22633750p22635745.html Sent from the Struts - User mailing list archive at Nabble.com. --

Re: s:checkboxlist is there a way to do checked/unchecked

2009-03-21 Thread sajidbigler
i resolved this senario by replacing JSP as > -- View this message in context: http://www.nabble.com/s%3Acheckboxlist-is-there-a-way-to-do-checked-unchecked-tp22633750p22635741.html Sent from the Struts - User mailing list archive at Nabble.com. --

Re: s:radio and s:checkboxlist - how to customize listValue property.

2009-03-11 Thread boraldo
>> It isn't ideal if you want to keep your model carefully isolated from your UI Unfortunately it is the case, so I need another solution. Jim Kiley wrote: > > The easiest (I'm not going to say "best") solution is to make a "fake" > getter on your bean. Make a "getListLabel()" method that com

Re: s:radio and s:checkboxlist - how to customize listValue property.

2009-03-11 Thread Jim Kiley
The easiest (I'm not going to say "best") solution is to make a "fake" getter on your bean. Make a "getListLabel()" method that composes a String from the values that you want to display in the list label, and then set the listValue to be "listLabel". This is the way I've done this in the past an

s:radio and s:checkboxlist - how to customize listValue property.

2009-03-11 Thread boraldo
When I use that 2 components in my form I need to set attributes listValue and listKey. That attributes as I understand require a field of a bean that is a member of collection represented by list attribute. Example: That means: 1) there will be one radiobutton for each element of collect

Re: s:checkboxlist

2009-02-26 Thread Jiří Chaloupka
the FAQ if someone can tell me how I do that. jk On Thu, Feb 26, 2009 at 5:46 AM, <mailto:k...@chalu.cz>> wrote: BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Hallo, is there any way to set that all items (checkboxes) in s:checkboxlist are in thei

Re: s:checkboxlist

2009-02-26 Thread Jim Kiley
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; > }Hallo, > is there any way to set that all items (checkboxes) in > s:checkboxlist are in their own line, one checkbox under other. > Defaultly they are all on the same line and I cannot find the way > how to

s:checkboxlist

2009-02-26 Thread konf
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Hallo, is there any way to set that all items (checkboxes) in s:checkboxlist are in their own line, one checkbox under other. Defaultly they are all on the same line and I cannot find the way how to set that each one checkbox has

Re: [S2] s:iterator and s:checkboxlist inside (using 2.0.2 trunk)

2006-12-22 Thread Dariusz Wojtas
I have found a solution after lots of experiments. I am still not sure what caused the problems (I tried tons of variants in the JSP) but finally it started to work. No changes in the action code, only in the JSP block. It started to work after I added jstl into the game and dropped the s:iterate

[S2] s:iterator and s:checkboxlist inside (using 2.0.2 trunk)

2006-12-22 Thread Dariusz Wojtas
Hi, I have such properties in my action: private ArrayList extensionGroups = null; private HashMap> groupedExtensions = null; The 1st list contains only some 'Extension' elements. The 2nd map contains other lists of extensions (values) with some property (treeNo) from the parent used as the key