With the Turbine's pull model, how do I actually know if something is
wrong?  I've searched the archive for this question but I still have
some questions about this.  It was suggested that that I use a velocity
#macro to test whether a variable is not null.  However, since you can't
really "throw" an exception, there's no difference between a null data
and an error.  What would be a good way to handle exception thrown
then?  How do I get the error message?

Also, with the pull model, I can't really redirect to the error page if
indeed an error occured (or is there a way?).  Sometimes I would like to
check whether I can get the data I want.  If I can't get the data, I'd
go to the error page and display the error information.  Even for this,
I'm wondering whether you are required to do it in the "action."
Otherwise, you don't have the exception information and you can't
redirect to a different template.  Does that mean screen in this case is
essentially useless? (or can I redirect to another template inside the
screen module?)

That's it for now, but I would like to clear up my confusion.  Thanks.

-- 
William Lee (Will)        | Sendmail Inc.
Email:  [EMAIL PROTECTED] | http://www.sendmail.com
Tel:    (510) 594-5505    |

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

Reply via email to