RE: initializing html:select

2002-01-31 Thread Paul Sijpkes
day, 31 January 2002 7:36 AM To: 'Struts Users Mailing List' Subject: RE: initializing html:select I have been noticing that it appears that the "value" attribute of select never takes a run time expression. I have the following: where I want to use the sa

Re: initializing html:select

2002-01-30 Thread Robert Tyler Retzlaff
List" > <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > cc:(bcc: David Hay/Lex/Lexmark) > Subject: Re: initializing html:select > > > > That would be great, but how do you get a reference to the form bean? > > Or perhaps I misunderstand.

RE: initializing html:select

2002-01-30 Thread Maturo, Larry
[EMAIL PROTECTED] -Original Message- From: Jakkampudi, ChandraseKhar [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 2:12 PM To: 'Struts Users Mailing List' Subject: RE: initializing html:select You can set the value paramater like this Value c

Re: initializing html:select

2002-01-30 Thread dhay
"Robert Tyler Retzlaff" <[EMAIL PROTECTED]> on 01/30/2002 03:46:55 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: Re: initializing html:select That would be great, b

Re: initializing html:select

2002-01-30 Thread Robert Tyler Retzlaff
: "'Struts Users Mailing List'" > <[EMAIL PROTECTED]> > cc:(bcc: David Hay/Lex/Lexmark) > Subject: RE: initializing html:select > > > > Like I said, it can take a real time expression. So you can do > > value="<%=(String)requ

Re: initializing html:select

2002-01-30 Thread Robert Tyler Retzlaff
> You have to have scriptlets or expressions to set the value dynamically. > > > -Original Message- > From: Robert Tyler Retzlaff [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 30, 2002 2:25 PM > To: [EMAIL PROTECTED] > Subject: Re: initializing html:selec

RE: initializing html:select

2002-01-30 Thread dhay
to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> cc: (bcc: David Hay/Lex/Lexmark) Subject: RE: initializing html:select Like I said, it can take a real time expression. So you can d

RE: initializing html:select

2002-01-30 Thread Jakkampudi, ChandraseKhar
: [EMAIL PROTECTED] Subject: Re: initializing html:select Yes, but what I'm after is being able to dynamically set the initial values. I have an object in the request upon which the initial value depends. So specifying it in the value parameter (unless I used code in the jsp page) isn&#

Re: initializing html:select

2002-01-30 Thread Robert Tyler Retzlaff
ltiple set to true. It should work in your case. > > -Original Message- > From: Robert Tyler Retzlaff [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 30, 2002 2:01 PM > To: [EMAIL PROTECTED] > Subject: initializing html:select > > > How do you initialize t

RE: initializing html:select

2002-01-30 Thread Jakkampudi, ChandraseKhar
: Wednesday, January 30, 2002 2:01 PM To: [EMAIL PROTECTED] Subject: initializing html:select How do you initialize the to a particular option so that it appears to be the default when the form is loaded. .. my ActionForm class private String selectProperty; private String[] values

RE: initializing html:select

2002-01-30 Thread Regan, Patrick
EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 3:01 PM To: [EMAIL PROTECTED] Subject: initializing html:select How do you initialize the to a particular option so that it appears to be the default when the form is loaded. .. my ActionForm class private String selectProperty;

initializing html:select

2002-01-30 Thread Robert Tyler Retzlaff
How do you initialize the to a particular option so that it appears to be the default when the form is loaded. .. my ActionForm class private String selectProperty; private String[] values = { ""+1, ""+2 }; private String[] names = { "One", "Two" }; .. setter/getters