r3500 - trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll
Author: tchemit Date: 2012-06-17 15:22:40 +0200 (Sun, 17 Jun 2012) New Revision: 3500 Url: http://chorem.org/repositories/revision/pollen/3500 Log: fix struts form submit Modified: trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/confirmDeletePollChoice.jsp trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/confirmDeletePollComment.jsp trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/confirmDeletePollVote.jsp Modified: trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/confirmDeletePollChoice.jsp =================================================================== --- trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/confirmDeletePollChoice.jsp 2012-06-17 13:12:38 UTC (rev 3499) +++ trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/confirmDeletePollChoice.jsp 2012-06-17 13:22:40 UTC (rev 3500) @@ -24,7 +24,7 @@ <%@ taglib prefix="s" uri="/struts-tags" %> <br/> -<s:form method="POST" namespace="/poll" action="deleteChoice"> +<s:form method="POST" namespace="/poll"> <s:hidden key="uriId" label=''/> <s:hidden key="choiceId" value="%{choice.topiaId}" label=''/> @@ -40,6 +40,6 @@ <div align="right"> <s:submit onclick="return closeConfirmDialog();" theme="simple" key="pollen.action.cancel"/> - <s:submit key="pollen.action.delete" theme="simple"/> + <s:submit key="pollen.action.delete" theme="simple" action="deleteChoice"/> </div> </s:form> Modified: trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/confirmDeletePollComment.jsp =================================================================== --- trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/confirmDeletePollComment.jsp 2012-06-17 13:12:38 UTC (rev 3499) +++ trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/confirmDeletePollComment.jsp 2012-06-17 13:22:40 UTC (rev 3500) @@ -23,7 +23,7 @@ <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib prefix="s" uri="/struts-tags" %> <br/> -<s:form method="POST" namespace="/poll" action="deleteComment"> +<s:form method="POST" namespace="/poll"> <s:hidden name="uriId" value='%{uriId}'/> <s:hidden name="commentId" value='%{comment.topiaId}'/> @@ -45,6 +45,6 @@ <div align="right"> <s:submit onclick="return closeConfirmDialog();" theme="simple" key="pollen.action.cancel"/> - <s:submit key="pollen.action.delete" theme="simple"/> + <s:submit key="pollen.action.delete" theme="simple" action="deleteComment"/> </div> </s:form> Modified: trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/confirmDeletePollVote.jsp =================================================================== --- trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/confirmDeletePollVote.jsp 2012-06-17 13:12:38 UTC (rev 3499) +++ trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/confirmDeletePollVote.jsp 2012-06-17 13:22:40 UTC (rev 3500) @@ -23,7 +23,7 @@ <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib prefix="s" uri="/struts-tags" %> <br/> -<s:form method="POST" namespace="/poll" action="deleteVote"> +<s:form method="POST" namespace="/poll"> <s:hidden key="uriId" label=''/> <s:hidden key="voteId" value="%{vote.topiaId}" label=''/> @@ -42,6 +42,6 @@ <div align="right"> <s:submit onclick="return closeConfirmDialog();" theme="simple" key="pollen.action.cancel"/> - <s:submit key="pollen.action.delete" theme="simple"/> + <s:submit key="pollen.action.delete" theme="simple" action="deleteVote"/> </div> </s:form>
participants (1)
-
tchemit@users.chorem.org