Hi,
Has anybody ensured dates in the text box are not reset ? I want the
value entered by the user to be retained in the html:text box. My dates in
the form are of type String[]. And I didn't find a way to make html:text
accept indexed properties.
Thanks,
Mohan
A String[] form field implies that there are multiple form inputs with the
same name.
David
From: Mohan Radhakrishnan [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: html:text accepts indexed properties
Date
9:30 AM
To: [EMAIL PROTECTED]
Subject: Re: html:text accepts indexed properties
A String[] form field implies that there are multiple form inputs with the
same name.
David
From: Mohan Radhakrishnan [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users
-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: html:text accepts indexed properties
Date: Thu, 6 Mar 2003 09:37:03 +0530
Well . Even in this case it is still indexed properties ! Can't I find
an
indexed property and display
:45 AM
To: [EMAIL PROTECTED]
Subject: RE: html:text accepts indexed properties
I don't see how the text input data being a date string has any relevance to
the problem. If you have 2 inputs on the form named myDate and a String[]
named myDate in your form bean, that array will be populated
Have you checked here?
http://jakarta.apache.org/struts/userGuide/struts-html.html#text
David
From: Mohan Radhakrishnan [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: html:text accepts indexed properties
6 matches
Mail list logo