i used same logic, i.e. Hidden form field. ntin
On 11/2/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote:
On 11/2/06, Gareth Evans <[EMAIL PROTECTED]> wrote: > > You could add an onchange function that sets the selected item back to the > orginal item. I wouldnt do that..imagine yourself as the user with this kind of javascript. Gareth > > Rafael Nami wrote: > > You can choose to maintain the value from this select in a hidden field, > > that will be submitted with your page. I was used to use another > approach, > > making the select enabled in the submit, but it was a great meal to > > hackers. > > > > 2006/11/1, Mississippi John Hurt <[EMAIL PROTECTED]>: > >> > >> Help, I can make <html:text> readonly by setting readonly="true" which > >> works. > >> <html:select> has no readonly attribute, only a disabled. If I use > >> disabled > >> attribute, then the value of the select is no longer recognized and my > >> form > >> validation says its required. How can I make the <html:select> > disabled > >> or > >> readonly while keeping the values it has passing back to the action > when > >> form is submitted. Thanks. > >> > >> > > > > -- > Gareth Evans > > Senior Developer > > MSoft eSolutions Limited > Technology Centre > Inward Way > Rossmore Business Park > Ellesmere Port > Cheshire > CH65 3EN > > -- > Tel: +44 (0)870 0100 704 > Fax: +44 (0)870 9010 705 > E-Mail: [EMAIL PROTECTED] > Web: www.msoft.co.uk > > ---------------------------------------------- > Terms: > Please note that any prices quoted within this e-mail are subject to VAT. > All program details and code described in this e-mail are subject to > copyright (c) of MSoft eSolutions Limited and remain the intellectual > property of MSoft eSolutions Limited. > Any proposal or pricing information contained within this e-mail are > subject to MSoft eSolutions' Terms and Conditions > ---------------------------------------------- > Disclaimer: > This message is intended only for use of the addressee. If this message > was sent to you in error, please notify the sender and delete this > message. MSoft eSolutions Limited cannot accept responsibility for > viruses, > so please scan attachments. Views expressed in this message do not > necessarily reflect those of MSoft eSolutions Limited who will not > necessarily be bound by its contents. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Puneet
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]