--- Jonatas Gustavo Rodrigues wrote:
> In this way, this object (like an UIComponent) could
> be used for an> registered Result object to render 
> the result (this Tapestry).

I expect that you could create a result type mapping
from a String result to whatever you wanted, the same
way there are about a dozen different result types.

Returning a string makes testing and configuration
insanely easy... From
http://cwiki.apache.org/WW/result-configuration.html:
'An Action can pass back a token like "success" or
"error" without knowing any other implementation
details.'

This means that all your Action does is send back a
token. The command pattern *configuration* decides
what to do with that token, possibly rendering a JSP,
redirecting to a different S2 action, etc.

See also:
http://cwiki.apache.org/WW/result-types.html

d.



 
____________________________________________________________________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/

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

Reply via email to