Author: tchemit Date: 2012-08-26 23:41:13 +0200 (Sun, 26 Aug 2012) New Revision: 3634 Url: http://chorem.org/repositories/revision/pollen/3634 Log: add marking id Modified: trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/vote.jsp Modified: trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/vote.jsp =================================================================== --- trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/vote.jsp 2012-08-26 17:04:35 UTC (rev 3633) +++ trunk/pollen-ui-struts2/src/main/webapp/WEB-INF/jsp/poll/vote.jsp 2012-08-26 21:41:13 UTC (rev 3634) @@ -309,7 +309,7 @@ <tbody> <s:if test="!poll.anonymous"> <s:iterator value="votes" var="vote"> - <tr> + <tr id='vote_<s:property value="%{#vote.pollAccount.accountId}"/>'> <td> <s:if test="accountFieldDisplayed"> <s:if test="!#vote.anonymous"> @@ -321,7 +321,7 @@ </s:if> <s:if test="isModifyVoteAllowed(#vote)"> <s:a action="votefor/%{poll.pollId}:%{#vote.pollAccount.accountId}" - namespace="/poll"> + namespace="/poll" id='modifyVote_%{#vote.pollAccount.accountId}'> <img src="<s:url value="/img/editSmall.png"/>" title="<s:text name="pollen.action.editVote"/>" alt="<s:text name="pollen.action.editVote"/>"/> @@ -329,7 +329,8 @@ </s:if> <s:if test="isDeleteVoteAllowed(#vote)"> <s:a action="deleteVote/%{pollUri}" namespace="/poll" href="#" - onclick="return openDeleteVoteDialog('%{#vote.topiaId}');"> + onclick="return openDeleteVoteDialog('%{#vote.topiaId}');" + id='deleteVote_%{#vote.pollAccount.accountId}'> <img src="<s:url value="/img/delete.png"/>" title="<s:text name="pollen.action.deleteVote"/>" alt="<s:text name="pollen.action.deleteVote"/>"/>