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 Mailing List' [EMAIL PROTECTED] Subject: html:text accepts indexed properties Date: Thu, 6 Mar 2003 09:23:34 +0530 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: html:text accepts indexed properties
Well . Even in this case it is still indexed properties ! Can't I find an indexed property and display it in the text box ? I've seen one way to do this but it is a bit convoluted. Mohan -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 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 Mailing List' [EMAIL PROTECTED] Subject: html:text accepts indexed properties Date: Thu, 6 Mar 2003 09:23:34 +0530 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail - 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]
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 with the form data. 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 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 it in the text box ? I've seen one way to do this but it is a bit convoluted. Mohan -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 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 Mailing List' [EMAIL PROTECTED] Subject: html:text accepts indexed properties Date: Thu, 6 Mar 2003 09:23:34 +0530 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail - 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] _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: html:text accepts indexed properties
Hi, The date has no relevance. It is just indexed properties and html:text. The way to do this seems to be property='%= array[ + i + ] %'/ like this. There is no direct way. Mohan -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 9: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 with the form data. 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 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 it in the text box ? I've seen one way to do this but it is a bit convoluted. Mohan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: html:text accepts indexed properties
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 Date: Thu, 6 Mar 2003 09:47:58 +0530 Hi, The date has no relevance. It is just indexed properties and html:text. The way to do this seems to be property='%= array[ + i + ] %'/ like this. There is no direct way. Mohan -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 9: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 with the form data. 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 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 it in the text box ? I've seen one way to do this but it is a bit convoluted. Mohan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]