Hi,
I have a page
abc.jsp...(the page includes strut2 tags s: )
Now the issue over here is,
when i click on the delete button i get a window asking permission for "ok" or "cancel" but even if i click on cancel it executes the action, that is delete.
The code work if i remove the notifyTopic. But i need notifyTopics to publish.
Please advice exactly what code should be putin to get this working.
Regards,
Anish
I have a page
abc.jsp...(the page includes strut2 tags s: )
Code:
<s:url id="delete" action="delete" >
<s:param name="proj.id" value="id" />
</s:url>
<s:a href="%{delete}" onclick="return confirm('Are you sure?');" theme="ajax" notifyTopics="selected_Project" formId="projectForm">Delete</s:a>
Now the issue over here is,
when i click on the delete button i get a window asking permission for "ok" or "cancel" but even if i click on cancel it executes the action, that is delete.
The code work if i remove the notifyTopic. But i need notifyTopics to publish.
Please advice exactly what code should be putin to get this working.
Regards,
Anish
Comment