RE: html:option on a nested collection

2006-03-23 Thread Wang, Hansen
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

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

RE: html:option, how to print html characters in the label.

2006-02-20 Thread Robert Alexandersson
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

Re: html:option, how to print html characters in the label.

2006-02-20 Thread Nicolas De Loof
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

Re: html:option

2005-06-14 Thread Stéphane Zuckerman
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");

RE: html:option

2005-06-14 Thread Nitish Kumar
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

Re: html:option tag

2005-04-21 Thread Erik Weber
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

Re: html:option problem

2004-11-23 Thread Richard Bywater
-- > 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:

RE: html:option problem

2004-11-23 Thread Dave Bender
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

RE: html:option problem

2004-11-23 Thread Slattery, Tim - BLS
> 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]

RE: html:option problem

2004-11-23 Thread Dave Bender
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

RE: html:option problem

2004-11-23 Thread Slattery, Tim - BLS
> 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