continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: svn commit: r1092648 - in /continuum/branches/continuum-1.3.x: ./ continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/ continuum-webapp/ continuum-webapp/src/main/java/org/apache/continuum/web/interceptor/ continuum-webapp/src/mai
Date Mon, 25 Apr 2011 02:50:01 GMT


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
brett@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter





Mime
View raw message