Hi Fabio,

> the problem is, I want to return to these pages after a user fills a form
> in
> some other page. My first thought was to return a
> 
> new RedirectResolution(myClass.class)
> 
> but I need to call the very same handler the user clicked to get the last
> page. The handler name is saved in a session variable, but I dunno how to
> call it again to display the correct url.
> 
> Any thoughts?

Why not just use

  String handlerNameFromSession = ...;
  return new RedirectResolution(MyClass.class, handlerNameFromSession);

That will call your event handler and you don't have to muck around with
URLs. Same works for ForwardResolution.

Hope that helps.

Cheers,
Freddy
http://www.stripesbook.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to