on 6/21/01 3:12 AM, "Myron Ahn" <[EMAIL PROTECTED]> wrote:
> Jon,
>
> I've read your document on the Pull MVC model and have been experimenting
> with this method, and it is great in terms of breaking the dependency
> between screens and classes.
>
> However there is one issue: error handling. Using the old method, if an
> exception is thrown in a doBuildTemplate(), it is easy to catch and the
> error handling code can direct the user to a particular screen to report the
> error. Using the Pull MVC model, what do you do when your template.vm calls
> your PullTool and it throws an exception?
>
> Thanks,
> -Myron
PullTool's should handle exceptions internally and you should still define a
"Default.java" Screen which will get executed for every request...
-jon
--
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]