You should ask this on the users list. There's already been detailed discussion on this topic there.
James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://struts-atlanta.open-tools.org > -----Original Message----- > From: Tomas Viberg [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 18, 2002 7:15 AM > To: [EMAIL PROTECTED] > Subject: Display request parameter instead of bean property? > > > Hello, > > I've been thinking... Wouldn't it be a good idea that some form > fields (text, textarea, etc.), could display the value of the > request parameter instead of the bean property under some > circumstances. One example when this would be nice is when the > conversion of the input value to the target type fails. For > instance, if I enter '1.0' in a form field mapped to a bean > property of type int, the field contains '0' when it is > redisplayed. In this case, I think it would be better if it > displayed the (invalid) value entered by the user. > > Anybody agree/disagree? > > Regards, > Tomas Viberg <[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
