You could also work around this another way... define another event that
calls the first, like so:
public Resolution newDetails() {
...
}
public Resolution otherDetails {
return newDetails();
}
Then you could use two different submit 'names', which would resolve to
different names. The downside of this is that you'll have to annotate the
two events independently, because they won't fire when being called
manually.
-Brandon
On Thu, Nov 26, 2009 at 6:50 AM, Iwao AVE! <haraw...@gmail.com> wrote:
> It wouldn't work, unfortunately.
> Please see:
> http://www.stripesframework.org/jira/browse/STS-679
>
> Regards,
> Iwao
>
> On 2009/11/26, at 18:39, "Lionel" <lio...@art-informatique.com> wrote:
>
> > Simon Keen wrote:
> >> This could be easily achieved with:
> >>
> >> <s:form bean=...>
> >> ...
> >> <s:hidden name="newParentDept" value="${actionBean.parentDept}"/>
> >> <s:submit name="newDetails"/>
> >> </s:form>
> >>
> >> <s:form bean=...>
> >> ...
> >> <s:hidden name="newParentDept" value="${actionBean.id}"/>
> >> <s:submit name="newDetails"/>
> >> </s:form>
> >
> >
> > Did you try this:
> > <s:submit name="newDetails"><fmt:message key="myKey"/></s:submit>
> >
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users