Jason Carreira wrote:
I agree with Don on almost everything... scary!

The exception is the validate() method returning messages... we need a
central
place where messages are added, not passing them in and out of methods.

Ok, what about passing in an instance of Messages, MessagesAware, or something similar?

Also, I forgot to mention, I'd like to avoid the use of "Error" when referring to messages, because many times there are errors, warnings, and information messages. I like the ability for validation to raise warnings that don't result in a failure, but allows me to warn the user the value might not be what they were intending.

Don


I was also confused by the Request interface... I thought / expected it was
going to be a way to abstract out ServletRequest vs. PortletRequest, but it does
a lot of other stuff, too, and ended up confusing me on what the request
processing lifecycle was proposed to be...
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=29317&messageID=57044#57044


---------------------------------------------------------------------
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]

Reply via email to