...
Wiki Markup |
---|
{snippet:id=javadoc|javadoc=true|url=com.opensymphony.webwork.components.HrefAnchor} |
Note |
---|
Be sure to setup the page containing this tag to be Configured for AJAX 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=webwork/docs/tags/HrefAnchor.html} |
Examples
Wiki Markup |
---|
{snippet:id=example1|lang=xml|javadoc=true|url=com.opensymphony.webwork.components.Href} |
Wiki Markup |
---|
{snippet:id=exampledescription1|javadoc=true|url=com.opensymphony.webwork.components.Href} |
Wiki Markup |
---|
{snippet:id=example2|lang=xml|javadoc=true|url=com.opensymphony.webwork.components.Href} |
Wiki Markup |
---|
{snippet:id=exampledescription2|javadoc=true|url=com.opensymphony.webwork.components.Href} |
Wiki Markup |
---|
{snippet:id=example3|lang=xml|javadoc=true|url=com.opensymphony.webwork.components.Href} |
Nested Elements
The remote A tag supports nested param elements. <ww:param name="" value=""/>
Handling Results
- Currently the remote a will try to evaluate the results as JavaScript. So the action defined in href should return a javascript snippet that will be executed upon return. Th
- The afterLoading method is called after the the above javascript gets evaluated. The afterLoading javascript does not currrently have access to the returned data.
...
...
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.