RE: html:option on a nested collection

2006-03-23 Thread Wang, Hansen
ubject: RE: html:option on a nested collection I have this working using the following code: <% String literal =(String) act; %> But as you can see I am using java in the jsp: can anyone advise of some other way of doing this -Original Message- From: Vinit Sharm

RE: html:option on a nested collection

2006-03-23 Thread Shoukat, Faisal
15:35 To: Struts Users Mailing List Subject: Re: html:option on a nested collection Try using: If act is the third element in the list apps. On 3/23/06, Shoukat, Faisal <[EMAIL PROTECTED]> wrote: > > When I do the below in the form it submits > {exampleFormBean.apps.actions.act}

RE: html:option on a nested collection

2006-03-23 Thread Shoukat, Faisal
logic iterate tag : mailto:[EMAIL PROTECTED] Sent: 23 March 2006 15:35 To: Struts Users Mailing List Subject: Re: html:option on a nested collection Try using: If act is the third element in the list apps. On 3/23/06, Shoukat, Faisal <[EMAIL PROTECTED]> wrote: > > When I do the bel

Re: html:option on a nested collection

2006-03-23 Thread Vinit Sharma
n > apps > there is a getter for actions. > > There is no getter for act as this is deifined in the iterate tag > > Still stuck!! > > -Original Message- > From: Vinit Sharma [mailto:[EMAIL PROTECTED] > Sent: 23 March 2006 15:01 > To: Struts Users Mailing List >

RE: html:option on a nested collection

2006-03-23 Thread Shoukat, Faisal
- From: Vinit Sharma [mailto:[EMAIL PROTECTED] Sent: 23 March 2006 15:01 To: Struts Users Mailing List Subject: Re: html:option on a nested collection You can use EL extention of html tag and use something like this: Assuming getters are defined for all properties. Regds, On 3/23/06, Shoukat

Re: html:option on a nested collection

2006-03-23 Thread Vinit Sharma
You can use EL extention of html tag and use something like this: Assuming getters are defined for all properties. Regds, On 3/23/06, Shoukat, Faisal <[EMAIL PROTECTED]> wrote: > > Hi Guys, > > > > I have a formBean which has a collection of objects within it called Apps. > Each App object ha

html:option on a nested collection

2006-03-23 Thread Shoukat, Faisal
Hi Guys, I have a formBean which has a collection of objects within it called Apps. Each App object has several fields with one of these fields being a collection or list of Strings. ExampleFormBean properties are String Name String Class String Student List apps Each app object