DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38343>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38343





------- Additional Comments From [EMAIL PROTECTED]  2006-02-09 23:47 -------
(In reply to comment #0)
I like this extension a lot. This is truly a nicer, more compact and elegant
solution comparing to SelectAction that I suggested in bug #30292. I would like
this extension to be included into 1.3, and bug #30292 marked as non relevant
anymore. I can create appropriate tests for it.

This action allows to build event-driven two-phase actions easily. If a request
contains one of the parameters listed in "parameter" attribute, then this
request identifies an input phase, and appropriate handler is called. 

Otherwise the request identifes a render phase (say, a user navigated to an URL
or pressed "reload" button). In this case "unspecified" method is called, which
would display a view corresponding to current resource state (if the
corresponding action form is stateful, of course).

We can create an empty method that we call something like "getView". This method
would be called from existing "unspecified" method for compatibility purposes.
"getView" will do nothing more fancy than "unspecified" can do, but new name
will bring new semantics to the dispatch class, meaning that if request does not
contain a legitimate event, the resource is simply rerendered. This will
encourage a shift from pre- and post- actions mindset to webresource-based 
mindset.

Paul, great stuff!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to