Abhijeet,
This kind of thing will work but we will have to tell the users to double
click to enter the values. I have seen many dropdown lists in which when you
click on the display area, you can write new values or click on arrow to the
right to select a values from the list.
I am not sure how to do that.
Thanks,

-----Original Message-----
From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 18, 2003 4:14 AM
To: Struts Users Mailing List; Abhijeet Mahalkar
Subject: Re: Dropdown and a text box

hi anubhav

Continuing previous mail rather than having Buttong along with select field
add Doubleclick Event to both text field and select and hide each other on
double click by checking the tpe of Object it is...

abhijeet

----- Original Message -----
From: "Abhijeet Mahalkar" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 18, 2003 1:45 PM
Subject: Re: Dropdown and a text box


> Hi Anubhav
> for this you have to play along with both textfield and select
> show Select first and then provide a button for new entry very immediate
to
> select and when he clicks it hide select and show text field..
>
> i hope this must be in ur mind previously ... or may help you.
>
> abhijeet
>
> ----- Original Message -----
> From: "Gupta, Anubhav" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 18, 2003 3:46 AM
> Subject: Dropdown and a text box
>
>
> > Hi,
> >
> >
> >
> > I wish to have an input filed in a form which is a drop down box, but
the
> > user can also type in a value if they do not want to select from the
drop
> > down box.
> >
> > I know I can use html:select for dropdown and html:text for text box.
But
> I
> > cannot figure out how to have an input text field in which you can type
in
> > (text box), or select a value from the drop down list.
> >
> >
> >
> > Thanks,
> >
> > Anubhav
> >
> >
> >
>
****************************************************************************
> > This email may contain confidential material.
> > If you were not an intended recipient,
> > Please notify the sender and delete all copies.
> > We may monitor email to and from our network.
> >
>
****************************************************************************
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to