[Opensource] How to transition from external state to jsp or another State?

Kris Thompson Kris.Thompson at xor.com
Tue Jul 16 20:34:16 PDT 2002


I am having a problem transitioning from a external state to a jsp. 
This external state has code for creating Inputs (whether that matters
or not).  The only way I see that you can do this is to create a "dummy"
internal state in my controller which does nothing but transition to the
jsp specified in my config.xml file.  Problem is that when you transiton
from one State to another State the ControllerResponse gets cleared out.
The code below is from the Controller.java, the true means clear out the
response. 

protected void transition(String newState, ControllerRequest req,
        ControllerResponse res) throws ControllerException,
NonHandleableException {
        transition(newState, req, res, true);
    } /* transition(String, ControllerRequest, ControllerResponse) */Èy


In my External state I am transitioning by doing 

transition(string, controllerrequest, controllerreqsonse


What it kind of seems what I want to do is chain States together each
time adding to the response.  How can I do this without having to
modifiy the Expresso code and not having my response cleared out?  

Thanks

Kris Thompson




More information about the Opensource mailing list