RE: preview form

2004-02-17 Thread Guillermo Meyer
Mailing List Subject: Re: preview form Isn't the easiest solution to have two separate pages, something along the lines of html:form action=reviewOrder html:textname=orderForm property=custNo html:select name=orderForm property=productId

Re: preview form

2004-02-16 Thread Dan Tran
select does support readonly , unfortunaely it does not understand readonly attribute, but only disabled -Dan - Original Message - From: Janice [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 16, 2004 1:03 PM Subject: preview form Hi Gang, I have a form that the

RE: preview form

2004-02-16 Thread Nicholson, Robb
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

Re: preview form

2004-02-16 Thread Shyam A
Maybe you can use a read-only text field to display the selected value of the drop-down on your preview page. You can get the label of the drop down in your action class for Preview , and then set the form bean property for the same. Also, use logic:equal on your JSP to check for the user action,

RE: preview form

2004-02-16 Thread Nicholson, Robb
Message- From: Dan Tran [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 4:34 PM To: Struts Users Mailing List Subject: Re: preview form select does support readonly , unfortunaely it does not understand readonly attribute, but only disabled -Dan - Original Message - From

Re: preview form

2004-02-16 Thread Niall Pemberton
Isn't the easiest solution to have two separate pages, something along the lines of html:form action=reviewOrder html:textname=orderForm property=custNo html:select name=orderForm property=productId html:optionsCollection name=productCollection

Re: preview form

2004-02-16 Thread Janice
Hello again, Thanks for the responses. What I ended up with was having my original form take the user to the preview form where all the form elements were disabled, instead of readonly. It even provides a nice visual clue that the form isn't for input, since all the fields are slightly greyed