yes, i do have setxyz, getxyz.


----- Original Message -----
From: "Prashanth_Thm" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 3:46 PM
Subject: RE: html:select


> I presume you will be having these in your Form class ;
> getxyz() and
> setxyz() for the property "xyz"
>
> call setxyz(defaultvalue) when you set the values in the Form class.
> Hope this helps !
>
>
> > -----Original Message-----
> > From: Rama Krishna [SMTP:[EMAIL PROTECTED]]
> > Sent: Friday, July 20, 2001 3:42 PM
> > To: [EMAIL PROTECTED]
> > Subject: html:select
> >
> > hi,
> >
> > in my select list i want an item to be selected default. for this i did
> > as:
> >
> >
> > <bean:define id="server" name="abc" property="server" />
> >
> >       <bean:define id="myCollection" name="abc" property="records" />
> >
> >       <html:select  name="abc" property="xyz" value="server">
> >
> >             <html:options collection="myCollection" property="value" />
> >
> >       </html:select>
> >
> >
> > but this is not working. am i missing something??? but when i hardcode a
> > value, it works fine.
> >
> > thanks,
> > rama.
> >
> >
> >
>

Reply via email to