Why is it so important that the same event name be called on subsequent
ActionBeans? It seems like an odd requirement.
That said, you could easily do what you are talking about with the
following:
<stripes:link beanclass="NextActionBeanName"
event="${actionBean.lastEvent}"> Click Me
</stripes:link>
You would just need to save the event name in the first ActionBean under a
property named 'lastEvent'.
-Brandon
Of course, you would have
On Wed, Sep 23, 2009 at 7:31 PM, Fabio Fonseca <[email protected]> wrote:
> Hello all,
>
> my problem is:
>
> I have some pages using the same actionBean, but filtered by different
> content. I'm calling the different content by binding the GET part of the
> URL to the method's name.
> E.g.,
>
> the url is ActionBeanName.action?callMyHandler=
>
> then callMyHandler is, well, called and the content is returning alright.
>
> 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?
>
> thanks!
> Fabio
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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