We needed a "read only" version of a selection list as well, but the need wasn't apparent until after one of our developers had already finished writing all the JSP's.
The solution I came up with was to write a subclass of the SelectionTag (and OptionTag, OptionsTag) to override the functionality of the read-only attribute. Basically, if it is read-only I render a read-only text box instead of a selection list. Then it was quick to change all of our selection lists by globally changing the prefix for the existing selection tags to the prefix we use for our own custom tags. Not sure if this was the best method, but in our case it was the quickest and easiest. Robb -----Original Message----- From: Janice [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 4:03 PM To: [EMAIL PROTECTED] Subject: preview form Hi Gang, I have a form that the client would like to be 'previewed' before users can submit. The plan is to have a form with a button that takes the user to the exact same form, but with all the form elements set to readonly. From there the user can go back to the editable form or can submit. At least that's the plan. I'm open to other suggestions, especially of the 'best practices' variety. I would have liked to display the form information on a non-form looking page, but the problem I have is the drop-downs which have a very different value from label. I don't want the preview to display something like: person: 12353 instead of person: Jane Doe So I guess I need the drop-downs, unless you all have a workaround? My immediate problem is that <html:select /> doesn't support readonly... what else can I do? TIA, JJ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

