RE: Multibox and selected values

2004-03-15 Thread Amish Patel
the session directly in the form bean, > however, you can get the current session in your action class, and in > your action class, try get the current user and set it in the form bean. > > > -Original Message- > > From: Amish Patel [mailto:[EMAIL PROTECTED] > >

RE: Multibox and selected values

2004-03-15 Thread Amish Patel
lass, try get the current user and set it in the form bean. > -Original Message- > From: Amish Patel [mailto:[EMAIL PROTECTED] > Sent: Sunday, March 14, 2004 11:13 PM > To: [EMAIL PROTECTED] > Subject: Re: Multibox and selected values > > > Saul, > > How can I acc

Re: Multibox and selected values

2004-03-14 Thread Amish Patel
ne for allRoles, and the other for selectedRoles, which is the array of roles of the current user. Before forwarding to your jsp, in your action class, you can retrive all the roles of the currently user, and set the roles to the selectedRoles in the form bean. HTH, Saul - Original Message

Multibox and selected values

2004-03-14 Thread Amish Patel
Hello All, I am running into this problem, that I am not able figure out how to do it properly. I have searched the web and have not found a decent example. What I am trying to do is use html:multibox taglib to display a set of checkboxes. These check boxes represent the user's security pref

ActionForms Thread Safe

2004-02-21 Thread Amish Patel
Hello All, I am new to struts. I have been reading about it and they way I understand the framework instantiate ActionForm is as follows. .. 1) Check to see if an instance of the ActionForm already has been created. 2) If an ActionForm instance is present in the appropriate scope and it's