On 3/30/06, Joe Germuska <[EMAIL PROTECTED]> wrote:
> Can anyone explain how WebWork handles this?  I've read about the
> advanced conversion services, which look good, but I haven't quite
> seen how it handles re-displaying values in the case of conversion
> errors, and I've run out of time to trace through the code to figure
> it out for myself at the moment.

Yes, as Rene said, a  key concept behind WebWork/Action2 is the "value
stack". The value stack works something like the
page/request/session/application scopes. If you push something on to
the stack, and someone asks for a property by that name, what was
pushed on last is returned first.

In the case of validation, essentially, the string property we want to
redisplay is pushed onto the stack, so the tags find it there first.

-Ted.

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

Reply via email to