Hi again.

I am doing it like this:

<bean:define name="element" id="myDate" property=" myDate" />

<INPUT NAME="myDate" TYPE="text" SIZE="30" value="<%=
getDateFormatted(myDate) %>">

Is it possible then?

Soren

-----Oprindelig meddelelse-----
Fra: Otto, Frank [mailto:[EMAIL PROTECTED] 
Sendt: 15. januar 2004 11:35
Til: 'Struts Users Mailing List'
Emne: AW: All values null after Validate

Hi Oliver,

You can use <html:text property="username"/> in [extends ActionForm]
too.


Regards,

Frank

-----Urspr�ngliche Nachricht-----
Von: Oliver Thiel [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 15. Januar 2004 11:21
An: 'Struts Users Mailing List'
Betreff: AW: All values null after Validate


Hi S�ren,


IF you use [extends ActionForm] you can use:

<input type=text name="username" value="<bean:write name="basicForm"
property="username" />"> (in your jsp)

OR:

IF you use [extends ValidatorForm] you can use:

<html:text property="username"/> (in your jsp)
 

Hope that helps
Oliver

-----Urspr�ngliche Nachricht-----
Von: S�ren Blidorf [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 15. Januar 2004 11:16
An: [EMAIL PROTECTED]
Betreff: All values null after Validate

Hi.
I am using struts and I am doing a form validate.

When the user types in more than on thing and one of them fails
validation, all the values is returned blank.

Is there anyway to keep the values when validate error?

BR

Soren


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


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

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



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



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

Reply via email to