See: Description
Interface | Description |
---|---|
GXITagsAccesor |
This class which can be accessed from the context classes as
getTagsAccesor() ,provides various methods for updating the various gx tags. It serves both simple tags using setTagContent,setTagAttribute ,
or complex tags such as combobox, radio buttons and table. |
Class | Description |
---|---|
GXAbstractAnchorTag | Deprecated
If your class contains any customization you should inherit from:
com.sabratec.j2ee.framework.web.taglib.GXAnchorTag
otherwise you may delete this class.
|
GXAbstractBodyTag | Deprecated
<gx:body> tag is not required any more is jsp pages
|
GXAbstractCheckBoxTag | Deprecated
If your class contains any customization you should inherit from:
GXCheckBoxTag
otherwise you may delete this class. |
GXAbstractFormTag | Deprecated
If your class contains any customization you should inherit from:
GXFormTag
otherwise you may delete this class. |
GXAbstractGenericTag |
A generic tag that represents all label tags such as: span, div, p, font, b etc.
|
GXAbstractHtmlTableTag | Deprecated
If your class contains any customization you should inherit from:
GXTableTag
otherwise you may delete this class. |
GXAbstractHtmlTag | Deprecated
If your class contains any customization you should inherit from:
GXHtmlTag
otherwise you may delete this class. |
GXAbstractInputTag | Deprecated
If your class contains any customization you should inherit from:
GXInputTag
otherwise you may delete this class. |
GXAbstractRadioButton | Deprecated
If your class contains any customization you should inherit from:
GXRadioButtonTag
otherwise you may delete this class. |
GXAbstractRadioButtonList | Deprecated
If your class contains any customization you should inherit from:
GXRadioButtonListTag
otherwise you may delete this class. |
GXAbstractSelectTag | Deprecated
If your class contains any customization you should inherit from:
GXSelectTag
otherwise you may delete this class. |
GXAbstractTag |
This class is the abstract class for all the gx tags.
|
GXContextInitiatorTag |
This class is an alternative to the opening tag <gx:html> :
GXAbstractHtmlTag . |
GXContextReleaseTag |
This class is an alternative to the closing tag </gx:html> :
GXAbstractHtmlTag . |
GXFeatureDetectTag | |
GXJspIncludeTag |
This class is the root of a JSP Include file and the tag that initializes and activates the JSP Include context class.
|
GXTagFunctions |
Internal Util class for common tasks of the package.
|
<gx:html gx_context="">
gx_onInit -> gx_onLoad -> Post back (submit) -> gx_preRender -> gx_onUnload
getTagsAccesor()
in order to pass dynamic content to each tag.<gx:html gx_context="contexts.SamplePage">
...
<gx:input id=”UserName” cssClass=”field1”/>
In SamplePage.java: String user = “newUser”; // can be retrieved from any data source.
getTagsAccesor().setTagContent(“UserName”, user)
gxframework.jar
should be in WEB-INF/lib
folder.
GXTag.tld
should be in WEB-INF
folder.
tags
folder should be in WEB-INF/classes
including a list of Java classes for each tag type.
WEB-INF/web.xml
should contain the following declaration that imports the tag library:<taglib>
<taglib-uri>com/sabratec/j2ee/framework/tags</taglib-uri>
<taglib-location>/WEB-INF/GXTags.tld</taglib-location>
</taglib>
<%@ taglib uri="com/sabratec/j2ee/framework/tags" prefix="gx" %>
WEB-INF/classes
,
which contains Java classes. Each class in the tags folder inherits from an abstract tag class in the tag library.GXTags.tld
.tags
project classes folder is associated to the GXTags.tld
file (and not directly to the tag library classes)
in order to have immediate affect when a developer changes the relevant tag (in the project's tags folder).Copyright 2021 Software AG. All rights reserved. Use is subject to license terms.