Re: Struts2 Checkboxlist

2019-02-06 Thread Prasanth Pasala
wrote: > So there is no need to add MultiselectInterceptor in the action definition? > > Below is the checkboxlist in the jsp. accountNames map is in the account to > provide the list values and names. > > listValue="%{value}" theme="tpg" > > > Thanks,

Re: Struts2 Checkboxlist

2019-02-06 Thread Prasanth Pasala
So there is no need to add MultiselectInterceptor in the action definition? Below is the checkboxlist in the jsp. accountNames map is in the account to provide the list values and names. Thanks, Prasanth On 2/6/19 8:53 AM, Yasser Zamani wrote: > Ach! Sorry, you're right. For check

RE: Struts2 Checkboxlist

2019-02-06 Thread Yasser Zamani
to an empty instance of List, then setSelectedLongs will be called here with it. Regards. >-Original Message- >From: Prasanth Pasala >Sent: Wednesday, February 6, 2019 12:30 AM >To: user@struts.apache.org >Subject: Re: Struts2 Checkboxlist > >Hi Yasser, > >

Re: Struts2 Checkboxlist

2019-02-05 Thread Prasanth Pasala
Hi Yasser, Even after having the param the ArrayList was not populated with -1 for unchecked checkboxes. The ArrayList is in form. The set method in the form is not getting called when I don't check any of the checkboxes. I am using a checkboxlist rather than individual check

RE: Struts2 Checkboxlist

2019-02-05 Thread Yasser Zamani
-352999309 >-Original Message- >From: Prasanth Pasala >Sent: Tuesday, February 5, 2019 3:26 AM >To: user@struts.apache.org >Subject: Re: Struts2 Checkboxlist > >I am using the defaultStack but the ArrayList used for the checkboxes is of >type >Long. If we change

Re: Struts2 Checkboxlist

2019-02-04 Thread Prasanth Pasala
I am using the defaultStack but the ArrayList used for the checkboxes is of type Long. If we change it to ArrayList of Boolean would the interceptor set the values to false? Or is this only applicable if you have individual checkboxes rather than checkboxlist? Thanks, Prasanth On 2/4/19 4:29

RE: Struts2 Checkboxlist

2019-02-04 Thread Paul Zepernick
fault interceptor stack. Paul -Original Message- From: Prasanth Pasala Sent: Monday, February 4, 2019 5:21 PM To: user@struts.apache.org Subject: Re: Struts2 Checkboxlist NOTICE: This email originated from outside of the organization. Do not click links or open attachments unless you recogniz

Re: Struts2 Checkboxlist

2019-02-04 Thread Prasanth Pasala
lected items. >> >> Thanks for using Struts! >> >> Kind Regards. >> >>> -Original Message----- >>> From: Prasanth >>> Sent: Saturday, February 2, 2019 1:08 AM >>> To: user@struts.apache.org >>> Subject: Struts2 Checkboxlist &

RE: Struts2 Checkboxlist

2019-02-02 Thread Prasanth Pasala
t; >Thanks for using Struts! > >Kind Regards. > >>-Original Message- >>From: Prasanth >>Sent: Saturday, February 2, 2019 1:08 AM >>To: user@struts.apache.org >>Subject: Struts2 Checkboxlist >> >>Hi, >> >>I am using a checkbo

RE: Struts2 Checkboxlist

2019-02-02 Thread Yasser Zamani
method. Normally you should clear baz and fill it with them again to update selected items. Thanks for using Struts! Kind Regards. >-Original Message- >From: Prasanth >Sent: Saturday, February 2, 2019 1:08 AM >To: user@struts.apache.org >Subject: Struts2 Checkboxlist

Re: Struts2 Checkboxlist

2019-02-01 Thread Prasanth
gards > >Arjuna > >On Sat, 2 Feb 2019 3:18 am Prasanth, wrote: > >> Hi, >> >> I am using a checkboxlist on a jsp page which corresponds to a >ArrayList >> in the form class, which is used to store form data from a multi page >> wizard. I am using sco

Re: Struts2 Checkboxlist

2019-02-01 Thread Arjuna Bandara
Hi, As I understand, you need to modify previous Array before saving. Have you tried Session variable ? Regards Arjuna On Sat, 2 Feb 2019 3:18 am Prasanth, wrote: > Hi, > > I am using a checkboxlist on a jsp page which corresponds to a ArrayList > in the form class, which is u

Struts2 Checkboxlist

2019-02-01 Thread Prasanth
Hi, I am using a checkboxlist on a jsp page which corresponds to a ArrayList in the form class, which is used to store form data from a multi page wizard. I am using scope interceptor to store the form class in session so that the data persists as the user navigates the wizard. When the user

Re: validation checkboxlist

2018-01-09 Thread José Antonio Delgado Trujillo
Upss unbalanced ] the para-name was autocorrection of the email editor!!! thanks Un saludo, José A. > On 9 Jan 2018, at 14:45, Brian Holzer wrote: > > Hey there, >I'm not sure if this is affecting anything, but the syntax appears to be > wrong for your compared to the example from the li

Re: validation checkboxlist

2018-01-09 Thread José Antonio Delgado Trujillo
solved!!! It was a problem with unbalanced ] Un saludo, José A.

Re: validation checkboxlist

2018-01-09 Thread Brian Holzer
Hey there, I'm not sure if this is affecting anything, but the syntax appears to be wrong for your From the link: vs José : [!CDATA[personBean.levels.length > 0]]>> in José's, the < and > don't match properly. There appears to be a missing < before the [!CDATA... a

Re: validation checkboxlist

2018-01-08 Thread Lukasz Lenart
2018-01-08 20:04 GMT+01:00 José Antonio Delgado Trujillo : > [!CDATA[personBean.levels.length > 0]]>> > > Unfortunately it still doesn’t work and i don’t any idea why the form display > always the error message. Can you share rendered html? What's a name of the radio buttons? Regards -- Łukasz

Re: validation checkboxlist

2018-01-08 Thread José Antonio Delgado Trujillo
Thanks a lot Lukasz, I had the same like the example except the expression of the validation. I misunderstood the param-name=“expression” - It was the expression to evaluate!!! (i was thinking about the expression to fail the validation) >> [!CDATA[#personBean.levels.length==0]]>> [!CDATA[per

Re: validation checkboxlist

2018-01-07 Thread Lukasz Lenart
2018-01-05 19:26 GMT+01:00 José Antonio Delgado Trujillo : > Why not key? i have the correspondan property files > personBean.levels=Cursos > > I also see the label Cursos and the options Ok, but please be aware that the most important thing is a "name" attribute that must match the corresponding

Re: validation checkboxlist

2018-01-05 Thread José Antonio Delgado Trujillo
> “personBean.levels.isEmpty” Yes, it’s empty an in the form the first time rendered all the options are unchecked. > > You should use "name" instead of "key" Why not key? i have the correspondan property files personBean.levels=Cursos I also see the label Cursos and the options The proble

Re: validation checkboxlist

2018-01-04 Thread Lukasz Lenart
2018-01-04 18:53 GMT+01:00 José Antonio Delgado Trujillo : > > [!CDATA[#personBean.levels.length==0]]>> "personBean.levels.isEmpty" ? https://github.com/jkuhnert/ognl/blob/master/docs/LanguageGuide.md#pseudo-properties-for-collections > In Person class > private String[] levels > priv

Re: validation checkboxlist

2018-01-04 Thread José Antonio Delgado Trujillo
OK, Thanks for your explanation, i see clearer to use modeldriven or not. My problem is not about the populate the options of the checkboxlist but the exception rule you must select at least one. In the XML file i have [!CDATA[#personBean.levels.length==0]]>>

Re: validation checkboxlist

2018-01-04 Thread Lukasz Lenart
2018-01-04 13:24 GMT+01:00 José Antonio Delgado Trujillo : > In the docs about model driven > https://struts.apache.org/core-developers/model-driven.html > > > It is said that you must to implement the MovelDriven interface just the >

Re: validation checkboxlist

2018-01-04 Thread José Antonio Delgado Trujillo
In the docs about model driven https://struts.apache.org/core-developers/model-driven.html It is said that you must to implement the MovelDriven interface just the method getModel() to give an Object in which Struts populate with the

Re: validation checkboxlist

2018-01-04 Thread Lukasz Lenart
2018-01-03 10:30 GMT+01:00 José Antonio Delgado Trujillo : > Do you use ModelDriven? because this looks like linked directly to an action Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mai

validation checkboxlist

2018-01-03 Thread José Antonio Delgado Trujillo
I have a form with a checkboxlist linked to a bean with an array of string properties. I want the user must select at least one option. Looking for the documentation, i think this is possible with field expression, but it requires ONGL expression. I did it so: FORM … … BEAN public

checkboxlist box not checked

2011-03-19 Thread Rubens Gomes
I would appreciate any help here. I already spent a significant time on this problem. I tried several combinations of checkboxlist parameters. The checkboxlist selected checkbox(es) are not checked as required. The checkboxlist is rendenderd correctly. However, when the form is submitted, and

Re: Databinding a checkboxlist

2010-11-19 Thread Li Ying
LUE("Blue"), >        GREEN("Green"); > >        private String myLabel; >        private Color(String label){ this.myLabel = label; } >        public String getLabel(){ return this.myLabel; } > } > > This can be easily used to create a checkboxlist: >

Databinding a checkboxlist

2010-11-18 Thread Altenhof, David Aron
tring myLabel; private Color(String label){ this.myLabel = label; } public String getLabel(){ return this.myLabel; } } This can be easily used to create a checkboxlist: Please enter your favorite colors: I also have a set of Color on the Action that came from the persistence laye

Re: Freemarker error on form submit with checkboxlist

2010-03-15 Thread Alex Rodriguez Lopez
Solved, the list and name atributes of checkboxlist cannot have the same name: name="roles" list="roles" this is what caused the problem. Em 15-03-2010 13:16, Alex Rodriguez Lopez escreveu: Hi all, I ran into a strange error when using a checkboxlist, backed by a list

Freemarker error on form submit with checkboxlist

2010-03-15 Thread Alex Rodriguez Lopez
Hi all, I ran into a strange error when using a checkboxlist, backed by a list of usergroups (roles) objects. The error shows not when the form is displayed (it all works as expected) but when submitting the form with the checkboxes on it. Using 2.1.8.1 Could somebody please tell me if this

cssClass with CheckboxList

2009-09-21 Thread James Cook
Hi All, I am trying to have my inputs generated from a checkbox list use a certain css class. However when I use cssClass the class attribute doesn't show up in the html. JSP: HTML Generated: myValue I have tried using different themes e.g. theme="simple" Am I doing somethi

checkboxlist initial selection

2009-06-15 Thread Christopher Maloof
I'm confused by the documentation for checkboxlist (http://struts.apache.org/2.1.6/docs/checkboxlist.html). I want to set three things for each checkbox in the list: 1) The label seen by the user 2) The "value" attribute to be posted to the form 3) Whether it's initially

RE: checkboxlist

2009-03-26 Thread Muthu Velappan
ot;value" will be used to check the rendered textboxes. Hope this helps you... ~Muthu. -Original Message- From: sandy.verfai...@roularta.be [mailto:sandy.verfai...@roularta.be] Sent: Tuesday, March 24, 2009 3:53 PM To: user@struts.apache.org Subject: checkboxlist Hi, Can anyone tell me

checkboxlist

2009-03-24 Thread Sandy.Verfaille
Hi, Can anyone tell me how I can make a checkboxlist on my jsp that knows which checkbox should be checked and which not. I have my list of objects with three strings. string1: name (label for the checkbox) string2: key (value that identifies which object is checked) string3: true or false (that

Re: How to use a localised enum in a checkboxlist

2009-01-04 Thread Musachy Barroso
deja vu, see my comment on the ticket that you opened: https://issues.apache.org/struts/browse/WW-2763 musachy On Sun, Jan 4, 2009 at 2:49 PM, Stephan Schröder wrote: > > i have a checkboxlist which entries are derived from possible values of an > enum (named TrainingAttribute). >

How to use a localised enum in a checkboxlist

2009-01-04 Thread Stephan Schröder
i have a checkboxlist which entries are derived from possible values of an enum (named TrainingAttribute). This usage of the checkboxlist works <@s.checkboxlist label="Attribute" name="trainingAttributes" list="@domainobjects.util.trainingattrib...@values()}"

[S2]checkboxlist tag bug?

2008-09-07 Thread Ryan Wong
I've used checkboxlist tag with JDK 5 enum like: [EMAIL PROTECTED] key="resource.requestMethod" name="requestMethods" list="@[EMAIL PROTECTED]()" listKey="name()" listValue="name()" /] every thing is OK, and

RE: Struts[2] : Checkboxlist Problems

2008-05-20 Thread ravi_eze
org > Subject: Re: Struts[2] : Checkboxlist Problems > > > Are you getting any errors? > > There is a bug in the CheckboxInterceptor where it does not properly > handling arrays of checkboxes when none are selected. It might be > related, but this issue did causes error messag

RE: Struts[2] : Checkboxlist Problems

2008-05-20 Thread Hoying, Ken
: user@struts.apache.org Subject: Re: Struts[2] : Checkboxlist Problems Are you getting any errors? There is a bug in the CheckboxInterceptor where it does not properly handling arrays of checkboxes when none are selected. It might be related, but this issue did causes error messages. I submitted a

Re: Struts[2] : Checkboxlist Problems

2008-05-20 Thread Greg Lindholm
/browse/WW-2339 Hoying, Ken-2 wrote: > > I have a list of search filters that I am displaying on the page where > each is a checkboxlist. I am implementing this as such: > > > > name="searchCriteria.filterMap['%{fieldName}'].sel

Struts[2] : Checkboxlist Problems

2008-05-20 Thread Hoying, Ken
I have a list of search filters that I am displaying on the page where each is a checkboxlist. I am implementing this as such: Everything works great except for one small problem. I do not seem to be able to deselect all of the values for a filter. For example, if one of my filters

RE: How to validate a checkboxlist?

2008-05-09 Thread mojoRising
ent: Friday, May 09, 2008 2:34 PM > To: user@struts.apache.org > Subject: RE: How to validate a checkboxlist? > > > I am using struts 2.0.11, and with the validation framework, client-side > validation is of course done using javascript: > http://struts.apache.org/2.x/docs/client-

RE: How to validate a checkboxlist?

2008-05-09 Thread Allen, Daniel
e right direction. ~DVA -Original Message- From: mojoRising [mailto:[EMAIL PROTECTED] Sent: Friday, May 09, 2008 2:34 PM To: user@struts.apache.org Subject: RE: How to validate a checkboxlist? I am using struts 2.0.11, and with the validation framework, client-side validation is of

RE: How to validate a checkboxlist?

2008-05-09 Thread mojoRising
perfectly for text boxes...but I don't see how to make it check that a checkboxlist has at least one box checked? Has anyone ever done this? Allen, Daniel wrote: > > If you want client-side anything, wouldn't you want to use JavaScript? > As far as I know, everything XWork

RE: How to validate a checkboxlist?

2008-05-09 Thread Allen, Daniel
check.) -Original Message- From: mojoRising [mailto:[EMAIL PROTECTED] Sent: Thursday, May 08, 2008 5:21 PM To: user@struts.apache.org Subject: How to validate a checkboxlist? I am trying to perform client side validation on a struts checkboxlist tag but nothing I try seems to work. ANy ideas? I do not

How to validate a checkboxlist?

2008-05-08 Thread mojoRising
I am trying to perform client side validation on a struts checkboxlist tag but nothing I try seems to work. ANy ideas? I do not want to submit the form and do a validation method in the action bean because obviously it would be ridiculous to post back to the server just to check that there is at

Pre-checking items in checkboxlist (or multiple select box)

2008-04-21 Thread tristan_colson
ble.com/Pre-checking-items-in-checkboxlist-%28or-multiple-select-box%29-tp16815512p16815512.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Having trouble pre-populating a checkboxlist

2008-04-15 Thread tristan_colson
I must be missing something obvious here, but I can't seem to get my checkboxlist to prepopulate. platformsKeys is a array of integers and allPlatforms is a list of objects with the key being an integer and the value being a string. Here is what the HTML looks like: Queries Alerts W

BUG in checkboxlist

2008-02-12 Thread Moacir Cardoso
Hello, I'm getting some errors when using checkboxlist in situations where the name attribute or listKey and listValue are null values. The actual template doesn't tests for null values. If you do not use the name parameter this error occurs: "Expression parameters.name is un

Re: s2 : checkbox and checkboxlist : dynamic lists

2008-01-14 Thread Rubbinio
-checkboxlist-%3A-dynamic-lists-tp14760993p14812186.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: s2 : checkbox and checkboxlist : dynamic lists

2008-01-14 Thread hernan gonzalez
in the action class you can have: > > private String[] selectedGroup; > > Which will be populated back with what you have selected. It works fine in > our application. > -- > View this message in context: > http://www.nabble.com/s2-%3A-checkbox-and-checkboxlist-%3A-dynami

Re: s2 : checkbox and checkboxlist : dynamic lists

2008-01-11 Thread Rubbinio
Actually you can do something like this And in the action class you can have: private String[] selectedGroup; Which will be populated back with what you have selected. It works fine in our application. -- View this message in context: http://www.nabble.com/s2-%3A-checkbox-and-checkboxlist

s2 : checkbox and checkboxlist : dynamic lists

2008-01-11 Thread hernan gonzalez
r by a checkbox. (Example: a webmail). The UI checkbox tag of struts does not seem to cope well with this. I know of checkboxlist; but this does not seem the right answer. checkboxlist is thought as a macro-input component, very similar to a select box with multiple selection. That is, its idea is o

Re: [S2] vertical checkboxlist

2007-12-28 Thread jwpronto
De Luca wrote: >> >> Dear Strtuts users >> It is possible, in checkboxlist, to arrange checkboxes vertically? >> >> Thanks >> >> -- >> Filippo De Luca >> [EMAIL PROTECTED] >> http://www.filosganga.it >> ---

Re: [S2] vertical checkboxlist

2007-11-12 Thread Dave Newton
> Filippo De Luca wrote: > > > > Dear Strtuts users > > It is possible, in checkboxlist, to arrange > checkboxes vertically? > > > > Thanks > > > > -- > > Filippo De Luca > > [EMAIL PROTECTED] > > http://www.filosganga.it >

Re: [S2] vertical checkboxlist

2007-11-12 Thread SudarshanP
I too have the same problem anybody could figure out the solution Thanks in advance Filippo De Luca wrote: > > Dear Strtuts users > It is possible, in checkboxlist, to arrange checkboxes vertically? > > Thanks > > -- > Filippo De Luca > [EMAIL PROTECTED]

How to use multi select or checkboxlist in Struts 2

2007-10-21 Thread Stephen de Vries
Hi, I'm having a problem using a checkboxlist to update a list in my model and can't find any example of using checkboxlist on the web. Displaying the checkboxes works fine, but not saving their values to the model. And I'm not exactly clear on how the checkboxlist does

Re: [Struts2] CheckBoxList returns XWorkList instead of ArrayList

2007-10-17 Thread Jon D Cruz
he >> last day and wonder if >> someone out there can help. >> >> *** I'm using an ArrayList to populate a >> CheckBoxList on my JSP. >> *** The Parent object has an "id" and "name" field. >> *** I'm using an ArrayList to retriev

Checkboxlist disabled parameter - Struts 2

2007-10-17 Thread Engelking, Nicholas
Hi, I am using a checkboxlist, and I need some of my checkboxes disabled. My code looks like and in my action public class PermissionBean { private final PermissionNode node; private final boolean inherited; public PermissionBean

Re: [Struts2] CheckBoxList returns XWorkList instead of ArrayList

2007-10-17 Thread Martin Gainty
yes it is.. M- > Isn't XWorkList a sub-class of ArrayList? > > --- Jon D Cruz <[EMAIL PROTECTED]> wrote: > > > > > I've been wracking my brains on this issue for the > > last day and wonder if > > someone out there can help. > > > &

Re: [Struts2] CheckBoxList returns XWorkList instead of ArrayList

2007-10-17 Thread Dave Newton
Isn't XWorkList a sub-class of ArrayList? --- Jon D Cruz <[EMAIL PROTECTED]> wrote: > > I've been wracking my brains on this issue for the > last day and wonder if > someone out there can help. > > *** I'm using an ArrayList to populate a > CheckBoxL

[Struts2] CheckBoxList returns XWorkList instead of ArrayList

2007-10-17 Thread Jon D Cruz
I've been wracking my brains on this issue for the last day and wonder if someone out there can help. *** I'm using an ArrayList to populate a CheckBoxList on my JSP. *** The Parent object has an "id" and "name" field. *** I'm using an ArrayList to retrieve

Error repopulating a checkboxlist when a validation error occurs

2007-09-25 Thread José Manuel Bermudo Ancio
Hello. Please, i need help with struts2. I have a page with a form, that have several text fields and a checkboxlist that retrieves the options from a database. The first time i call the page i show all the fields ok and it works fine. Even if i send the page with javascript enabled, if there

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/

Checkboxlist - bind to List

2007-09-01 Thread Moacir Cardoso
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. Moa ;-) - To u

[S2] vertical checkboxlist

2007-07-04 Thread Filippo De Luca
Dear Strtuts users It is possible, in checkboxlist, to arrange checkboxes vertically? Thanks -- Filippo De Luca [EMAIL PROTECTED] http://www.filosganga.it -- Circolo Canottieri Roma Lungotevere Flaminio, 39 - 00196 - Roma - Italia http

[s2]checkboxlist problem

2007-05-18 Thread climbingrose
Hi there, I'm having problem with checkboxlist in Struts 2. Here is my jsp fragment: Now "attributes" is a list of Attribute objects. Attribute class look like: class Attribute { private Integer id; private String name; ... (getters & setters) } The "test"

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 m

Re: checkboxlist formatted vertically?

2007-05-17 Thread Allen Gilliland
s the best solution for your problem http://www.vitarara.org/cms/struts_2_cookbook/creating_a_theme Thanks, Nuwan - Original Message - From: "Allen Gilliland" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, May 16, 2007 11:59 PM

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:[

Re: checkboxlist formatted vertically?

2007-05-16 Thread Nuwan Chandrasoma
iland" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, May 16, 2007 11:59 PM Subject: checkboxlist formatted vertically? is there any way to make checkboxes created from a checkboxlist formatted vertically by adding a after each checkbox or some other

checkboxlist formatted vertically?

2007-05-16 Thread Allen Gilliland
is there any way to make checkboxes created from a checkboxlist formatted vertically by adding a after each checkbox or some other means. right now it just dumps them all out in a row. same thing for the radio button options. -- Allen

Re: [s2] checkboxlist tag problem

2007-04-19 Thread Zoran Avtarovski
The id attribute is for some JavaScript that will run once I get over this little hurdle. Do you mind sending me a copy of your domain object, action code and jsp file. I'm getting nowhere here and it's becoming quite frustrating. The issue I'm having now is that if I have no checkboxes selected

RE: [s2] checkboxlist tag problem

2007-04-19 Thread Hartrich, James CTR USTRANSCOM J6
Looks like you need roles; /** * Returns the roles * * @return the roles */ public List getRoles() { return roles; } /** * Sets the roles * * @param roles *the new user roles */ public void setRoles(List roles)

[s2] checkboxlist tag problem

2007-04-19 Thread Zoran Avtarovski
I'm having trouble getting my checkbox list to populate correctly. I have a User object which has a List of Role objects (roleId-Integer, roleName-String) with setter/getter as follows: private List roles; /** * Returns the roles * * @return the roles */ public Li