Cheers Tim, I just couldn't find the static entry point (StripesFilter). Chris
On Thu, Apr 3, 2008 at 5:30 PM, Tim Fennell <[EMAIL PROTECTED]> wrote: > Anywhere in your ActionBean code you can call: > > StripesFilter.getConfiguration().getActionResolver()... > > In fact this will work in pretty much any java code as long as the > StripesFilter is somewhere in the call stack. > > -t > > > > On Apr 3, 2008, at 7:54 PM, Chris Cheshire wrote: > > How do I get a reference to the ActionResolver instance for a > > stripes web-app? > > > > I have some AJAX actions that I want to send a URL to another action > > back in the (JSON) response - for instance, if a session has expired > > I want to send the URL to the login action back in the response and > > then the javascript processing the JSON response can just set > > window.location to this value to force a new login. > > > > Looking through the API the method getUrlBinding(Login.class) called > > upon the ActionResolver should achieve this, but I don't know how to > > get a reference to it. (I am using the default ActionResolver) > > > > Thanks > > > > Chris > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
