Jason Carreira wrote:
Here is what I'm talking about:
http://people.apache.org/~mrdon/action2-api-don/org/ap
ache/struts/action2/Messages.html
I'm not sure I see enough of an advantage to this over say
ValidationAware from XWork to make it worth doing... I liked the
original idea on the "Rough Spots" page about just making a single
ValidationAwareSupport instance be available in the value stack to
gather up messages.
Yeah, this is very much like ValidationAware. I think it deserves a
change because:
1. Messages should be independent of validation, however, validation
should be dependent on messages
2. ActionSupport implemented this interface, while I think it would be
better to have an independent object passed around to collect messages
3. I think the leveraging Log and extending List and Map directly
makes it easier and more intuitive
Don
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=29317&messageID=57245#57245
---------------------------------------------------------------------
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]