Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
{snippet:id=javadoc|javadoc=true|url=comorg.apache.opensymphonystruts.webworkaction2.components.Anchor}
Note

While this tag can be used with the simple theme, xhtml theme, and others, it is really designed to work best with the ajax theme. We recommend reading the ajax a template documentation for more details.

...

Code Block
html
html
<ww:url id="testUrlId" namespace="/subscriber" action="customField" method="delete">
                  <ww:param name="customFieldDefinition.id" value="${id}"/>
              </ww:url>
             <ww:a errorText="Sorry your request had an error." preInvokeJS="confirm('Are you sure you want to delete this item?')" href="%{testUrlId}">
                    <img src="<ww:url value="/images/delete.gif"/>" border="none"/></ww:a>

<img xsrc="<ww:url value="/images/delete.gif"/>" border="none"/></ww:a><img xsrc="<ww:url value="/images/delete.gif"/>" border="none"/></ww:a>