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
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}
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
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
>
-
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
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
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
7 matches
Mail list logo