Generic Handler Method
Is there a generic handling method that can be overridden in the
ViewBean/TiledView such that when ever any button/href handler method
is called, a more generic method is call first.
Sort of a single point of entry for the ViewBean/TiledView.
The initialize() and beginDisplay() methods are not called first or
are called too early (before many objects are ready - models, page
session, etc.)
c
[475 byte] By [
Guest] at [2007-11-25 9:35:32]

> I found this in the RequestHanlder interface:
>
> public void handleRequest(java.lang.Object invocation)
> throws java.io.IOException, javax.servlet.ServletException
>
> Haven't tested yet, but if there are any pitfalls, please advise.
Correct, this is the method you can override to customize JATO's request
handling mechanism. The default mechanism dispatches to a request handling
event method, but you could theoretically override this method to do
something completely different (not that I'd generally recommend doing so).
Perhaps a more useful technique would be to override this method to do some
logging or profiling. What's your intended use for this method? If you've
found something that can't be done elsewhere, then maybe it's a weakness we
can address.
Todd
Guest at 2007-7-1 18:37:18 >
