Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Description

Wiki Markup
{snippet:id=javadoc|javadoc=true|url=org.apache.struts2.components.Anchor}

...

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.

Parameters

Wiki Markup
{snippet:id=tagattributes|javadoc=false|url=struts2/docs/tags/Anchor.html}

...

Usage

To get started, use the head tag and the ajax theme. See ajax head template for more information. Then look at the usage details for the ajax a template.

...


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

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

...