Hi All,

Imported jQuery of js file. It is working fine. But how to work onClick
event with parameters  in sturts2.0.

 

Please send me sample code.

 

 

Here is a snippet of my code in the jsp:

 

<s:url id="tempMilestoneRemoveURL" namespace="/u" action="viewConfirm">

            <s:param name="messageConfirm"><s:text
name="milestone_confirm_remove">

            <s:param name="milestoneDTO.name" value="%{milestoneDTO.name}"
/>

            <s:param name="milestoneDTO.dividedPoP.name"
value="%{milestoneDTO.dividedPoP.name}" />

            </s:text>

            </s:param>

            <s:param name="yesURL"><s:url namespace="/p"
action="removeMilestone">

            <s:param name="{milestoneDTO.milestoneid"
value="%{{milestoneDTO.milestoneid}" /></s:url></s:param>

            <s:param name="noURL">

            <s:url namespace="/p" action="viewEditMilestone" />

            </s:param>

</s:url>

 

<s:a href="%{tempMilestoneRemoveURL}"
style="text-decoration:none"><button><s:text name="Delete" /></button></s:a>

 

Please convert above code JavaScript of jQuery ..........

Please use with onClick event in  button tag...................... 

 

 

 

Thank you,

Seshagiri V

seshagi...@kensium.com. 

 

US Main: 877 KENSIUM (536.7486)

US Fax:   312.242.3029

 

Kensium

200 S Wacker Dr, Suite 3100

Chicago, IL 60606

 

Confidentiality Note:

-----------------------------

The information contained in this e-mail is strictly confidential and for
the intended use of the addressee only. Any disclosure, use or copying of
the information by anyone other than the intended recipient is prohibited.

If you have received this message in error, please notify the sender
immediately by return e-mail and securely discard this message.

Reply via email to