THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
If you want to use additional parameters in your ww:a the Best Practiceis to use a ww:url to create your url and then leverage this url into your ww:a tag. This is done by creating a ww:url and specifying an id attribute.. like "testUrlId" in this example. Then in the ww:a tag reference this id in the href attribute via " %{testUrlId}"
Code Block | ||||
---|---|---|---|---|
| ||||
<ww<s:url id="testUrlId" namespace="/subscriber" action="customField" method="delete"> <ww<s:param name="customFieldDefinition.id" value="${id}"/> </wws:url> <ww<s:a errorText="Sorry your request had an error." preInvokeJS="confirm('Are you sure you want to delete this item?')" href="%{testUrlId}"> <img src="<ww<ss:url value="/images/delete.gif"/>" border="none"/></wws:a> <img xsrc="<ww<s:url value="/images/delete.gif"/>" border="none"/></wws:a><img xsrc="<ww<s:url value="/images/delete.gif"/>" border="none"/></wws:a> |