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, and display
drop-down or text field accordingly.

HTH,
Shyam

P.S.
Wonder if the 'newbie' has come of age?;)

--- Janice <[EMAIL PROTECTED]> wrote:
> 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]
> 


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

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

Reply via email to