. [mailto:[EMAIL PROTECTED]]
Enviado el: miƩrcoles, 11 de septiembre de 2002 8:16
Para: Struts Users Mailing List
Asunto: Re: set a value from a form to a form
You do understand me! :)
I use a hidden field now. I was trying to get away from that though so the
user will not see it. I may have to put
Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, September 10, 2002 10:09 PM
Subject: Re: set a value from a form to a form
Mike,
If I understand you correctly, you want to retain the value when the form
is submitted. One option is to use bean:message to display the value and
use
.
thanks, I've always just stuck this stuff in the session but I may have a
valid case for a hidden field.
Mike
- Original Message -
From: John Yu [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 3:21 AM
Subject: Re: set a value from a form
]]
Sent: Tuesday, September 10, 2002 4:14 PM
To: Struts Users Mailing List
Subject: set a value from a form to a form
I have a form object that populates html fields. The problem
is, I want to display some of the form data and have it
uneditable. When I submit the form loses all the data
I have a form object that populates html fields. The problem is, I want to display
some of the form data and have it uneditable. When I submit the form loses all the
data that is not in an html:.. tag.
I've tried...
bean:define id=userRole name=userForm property=userRole scope=request
I have a form object that populates html fields. The problem is, I want to display
some of the form data and have it uneditable. When I submit the form loses all the
data that is not in an html:.. tag.
I've tried...
bean:define id=userRole name=userForm property=userRole scope=request
Mike,
If I understand you correctly, you want to retain the value when the form
is submitted. One option is to use bean:message to display the value and
use html:hidden to retain the value for form submission.
html:form ...
Prop1: bean:message name=myForm property=prop1/
html:hidden
: Tuesday, September 10, 2002 10:09 PM
Subject: Re: set a value from a form to a form
Mike,
If I understand you correctly, you want to retain the value when the form
is submitted. One option is to use bean:message to display the value and
use html:hidden to retain the value for form
8 matches
Mail list logo