So I want people within JetSpeed to request any screen without having to
be forced to a new url.

Specifically I think that request for /servlet/jetspeed/screen/test
shouldn't be redirected.

So I am thinking that we need to have a new way to define new session
creation

Specifically:
---------------------------------------------------------
public class AbstractSessionValidator extends Actions {
        public abstract boolean requiresNewSession();
}


Now for org.apache.turbine.actions.SessionValidator (this would extend
AbstractSessionValidator) we would have 

public boolean requiresNewSession() {
        return true;
}


but for JetSpeed I would have my SessionValidator return false;

Then within Turbine.java instead of:

if ( data.session.isNew() )
        //blah blah blah
{

we would just get action.sessionvalidator and do:

if ( sessionValidator.requiresNewSession() ) {
        //blah blah blah
}

Thoughts?

Granted this would break current SessionValidators but it is a 5 second
fix.

Kevin

-- 

Kevin A Burton
http://relativity.yi.org
Message to SUN:  "Open Source Java!"
"For evil to win is for good men to do nothing."


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to