Re: Struts2 select tag with multiple enabled

2009-04-16 Thread Felipe Lorenz
Im not sure. but i think you need to add the attribute "name". i.e.: On Thu, Apr 16, 2009 at 10:45 AM, Bhaarat Sharma wrote: > I am using a select tag like this > > value="%{fmrTenant.terminationReason}" required="true"/> > > list = "rejectionReasons" > > invokes the following method: > >p

Re: Struts2 select tag with multiple enabled

2009-04-16 Thread Terry Gardner
fmrTenant.getTerminationReason should return a String, not an array? On a different subject, consider using generics: public List getRejectionReasons() { return this.rejectionReasons; } private List rejectionReasons; On Apr 16, 2009, at 9:45 AM, Bhaarat Sharma wrote: I am using a select ta

Struts2 select tag with multiple enabled

2009-04-16 Thread Bhaarat Sharma
I am using a select tag like this list = "rejectionReasons" invokes the following method: public List getRejectionReasons() { return rejectionReasons; } I am using value="%{fmrTenant.terminationReason}" because I want to preselec some of the values returned. this invokes the f