public class GXAnchorTag extends GXAbstractTag
<gx:a id="<TAG_ID>" onserverclick="<SERVER_FUNCTION_NAME>">
Constructor and Description |
---|
GXAnchorTag() |
Modifier and Type | Method and Description |
---|---|
void |
setHref(String value)
Called by the JSP page for setting the
href attribute to the tag output HTML. |
void |
setOnclick(String value)
Called by the JSP page for setting the
onclick attribute to the HTML tag output. |
void |
setOnmouseout(String value)
Called by the JSP page for setting the
onmouseout attribute to the tag output HTML. |
void |
setOnmouseover(String value)
Called by the JSP page for setting the
onmouseover attribute to the tag output HTML. |
void |
setOnserverclick(String value)
Called by the JSP page for setting a server side function name that will be activated when the anchor (link) is clicked.
Syntax: <gx:a id="<TAG_ID>" onserverclick="<SERVER_FUNCTION_NAME>"> The server side function is in the class which was set in: <gx:html gx_context="CONTEXT CLASS" ...> |
doAfterBody, doEndTag, doStartTag, getId, getInnerHTML, getMainContext, getName, setAlign, setAttributes, setBgcolor, setCssClass, setHeight, setId, setPageContext, setStyle, setTitle, setVisible, setWidth
public void setOnserverclick(String value)
<gx:a id="<TAG_ID>" onserverclick="<SERVER_FUNCTION_NAME>">
<gx:html gx_context="CONTEXT CLASS" ...>
value
- The onserverclick
function name (without brackets)public void setOnclick(String value)
onclick
attribute to the HTML tag output.
If onserverclick
is also specified for the tag, the onserverclick
will be added before the onclick attribute.setOnclick
in class GXAbstractTag
value
- The onclick
attribute valuepublic void setOnmouseover(String value)
onmouseover
attribute to the tag output HTML.value
- The onmouseover
attribute valuepublic void setOnmouseout(String value)
onmouseout
attribute to the tag output HTML.value
- The onmouseout
attribute valuepublic void setHref(String value)
href
attribute to the tag output HTML.value
- The href
attribute valueCopyright 2021 Software AG. All rights reserved. Use is subject to license terms.