On 18/04/2011, at 3:58 PM, Deng Ching wrote:

> Hi Brett,
> 
> In the projectGroupSummary page, another action (see snippet below) that is
> always executed is present:
> 
> <s:action name="projectSummary" executeResult="true" namespace="component">
>> 
>>      <s:param name="projectGroupId"><c:out
>>> value="${projectGroupId}"/></s:param>
>> 
>>      <s:param name="projectGroupName"><c:out
>>> value="${projectGroup.name}"/></s:param>
>> 
>>    </s:action>
>> 
>> 
> When one of the forms in the page is submitted, like the removeProjectGroup
> form, that action would always get executed. This causes a double submit to
> happen which in turn causes the token interceptor to fail as the current
> token in the session no longer match the one submitted.
> 
> I'm not sure how we can restructure the projectGroupSummary page as each of
> the buttons in there has it's own form and action.. (
> http://svn.apache.org/repos/asf/continuum/branches/continuum-1.3.x/continuum-webapp/src/main/webapp/WEB-INF/jsp/projectGroupSummary.jsp
> )
> 
> Maybe you have other ideas? :)

Should it be refactored so it's not a separate component? I don't see it used 
on any other pages...

- Brett

--
Brett Porter
[email protected]
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter




Reply via email to