a [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
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
f" in the options tag.
/Robert A
-Original Message-
From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
Sent: Monday, February 20, 2006 11:35 AM
To: Struts Users Mailing List
Subject: Re: html:option, how to print html characters in the label.
If you're looking for a way to inde
If you're looking for a way to indent options in a select box, you
should use the HTML tag.
Nico.
Robert Alexandersson a écrit :
Hello, i want to output the String " Level 2" in my optionlists,
but the label attribute of options does not return this but the
transforemed mending it pr
Hello Amitava,
[EMAIL PROTECTED] a écrit :
I want
xxx
Is there a way out to select a default value at design time? (I hate
javascript!!... lol. )
You could always prepopulate your form before forwarding to the JSP :
public ActionForward execute(...) {
form.setMySelect("my value");
use tag along with the
or
print XXX
using
Thanks and Regards,
Nitish Kumar
Tavant Technologies Ltd
Bangalore
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 14, 20
Yes, form field values (generated by the Struts tags) are synced with
corresponding ActionForm field values when the page is rendered. So you
can override the ActionForm's reset method to specify initial values.
But typically you only want to do this when you are showing a fresh
"add" form, not
--
> From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 23, 2004 2:44 PM
> To: 'Struts Users Mailing List'
> Subject: RE: html:option problem
>
> > This:
> >
> > produces this:
> >
> > instead of this:
No, it's terminated. It's got an end tag . The body of the
tag becomes the value.
-Original Message-
From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 23, 2004 3:27 PM
To: 'Struts Users Mailing List'
Subject: RE: html:opt
> This:
>
> produces this:
>
> instead of this:
>
OK, so now I look at this a bit more closely.
You haven't terminated the tag. It should read:
I would have expected an error message from that but what do I know?
--
Tim Slattery
[EMAIL PROTECTED]
It references "/WEB-INF/struts-html.tld"
-Original Message-
From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 23, 2004 2:44 PM
To: 'Struts Users Mailing List'
Subject: RE: html:option problem
> This:
>
> produces t
> This:
>
> produces this:
>
> instead of this:
>
Are you sure the "html" prefix references the EL version of the taglib?
--
Tim Slattery
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
16 matches
Mail list logo