on 9/23/2000 6:53 PM, "Jon Stevens" <[EMAIL PROTECTED]> wrote:

> Hey, I'm not sure how all the template stuff in Turbine works anymore...it
> is all just magic to me now...so, I need some help here (probably from
> John)...
> 
> What I want is that if I do something like this in a Screen...
> 
> 
> setTemplate(data,"Foo.wm");
> return;
> 
> That I want to have Foo.java executed...right now, that doesn't seem to be
> the case. I'm not sure if that is what doRedirect() is for, but I want to be
> able to do it with setTemplate()...
> 
> Right now, what happens is that Foo.wm is the screen that is shown, but
> Foo.java isn't called to setup the context which is bad. :-(
> 
> Does that make sense?

FYI, the "fix" to this is to use doRedirect(data, "Foo.wm") instead.

This will require the latest CVS of Turbine.

-jon

-- 
http://scarab.tigris.org/    | http://noodle.tigris.org/
http://java.apache.org/      | http://java.apache.org/turbine/
http://www.working-dogs.com/ | http://jakarta.apache.org/velocity/
http://www.collab.net/       | http://www.sourcexchange.com/




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to