struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <>
Subject Re: Validation Question how to echo back users input in error message?
Date Wed, 09 Nov 2005 01:21:18 GMT
Not from the request - from the form bean (or indexed Bean) - in this
example lineNumber needs to be a property of the indexed bean.


----- Original Message ----- 
From: "Michael Jouravlev" <>
Sent: Wednesday, November 09, 2005 12:47 AM

On 11/8/05, Niall Pemberton <> wrote:
> The short answer is that there isn't a way to echo back user input in the
> error message.
> There are two places that I know of, where this kind of functionality has
> been provided. The first is in the "extends validator" I wrote (see the
> "indexed example"):

<field property="orderItems" depends="extends">
  <arg0 key="lineNumber">

Are you saying that it will take a real lineNumber from request? How
does it know to get if from request? Does it just checks if request
has this key, and if not, goes to the property file?


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message