Package wt.taglib.util
Class PluginTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
wt.taglib.util.PluginTag
- All Implemented Interfaces:
Serializable,javax.servlet.jsp.tagext.BodyTag,javax.servlet.jsp.tagext.IterationTag,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag,wt.taglib.util.FallbackSubtag,wt.taglib.util.ParamsSubtag
public class PluginTag
extends javax.servlet.jsp.tagext.BodyTagSupport
implements wt.taglib.util.ParamsSubtag, wt.taglib.util.FallbackSubtag
PluginTag similar to jsp:plugin using the PluginTagGenerator to dynamically generate this tag at runtime.
Example (excerpt from wt/clients/folderexplorer/explorer.jsp):
Syntax:
Supported API: true
Extendable: false
Example (excerpt from wt/clients/folderexplorer/explorer.jsp):
<%@ taglib uri="http://www.ptc.com/windchill/taglib/util" prefix="util" %>
<util:plugin
code="wt/clients/folderexplorer/WindchillExplorerApplet.class"
codebase="../../.."
archive="wt/security/security.jar"
width="96" height="66">
<util:params>
<util:param name="cabinets" value="wt/security/security.cab" />
<util:param name="cache_option" value="Plugin" />
<util:param name="cache_archive" value="wt.jar" />
</util:params>
</util:plugin>
Produces the html necessary to run the explorer applet within the
plugin/applet environment specified within wt.properties.Syntax:
<util:plugin
code="classFileName"
codebase="classFileDirectoryName"
[ type="bean|applet|browserapplet" ]
[ name="instanceName" ]
[ archive="URIToArchive, ..." ]
[ align="bottom|top|middle|left|right" ]
[ height="displayPixels" ]
[ width="displayPixels" ]
[ hspace="leftRightPixels" ]
[ vspace="topBottomPixels" ]
[ jreversion="JREVersionNumber | 1.3" ]
[ nspluginurl="URLToPlugin | http://java.sun.com/products/plugin/1.3/download/all.html" ]
[ iepluginurl="URLToPlugin | http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0" ] >
[ <util:params>
[ <util:param name="parameterName" value="parameterValue" /> ]+
[ util:param name=cache_option value="No|Browser|Plugin|Bootstrap" ]
[ util:param name=cache_archive value="URIToJarCache, ..." ]
[ util:param name=cache_version value="JarCacheVersion, ..." ]
</util:params> ]
[ <util:fallback> text message for user </util:fallback> ]
</util:plugin>
Supported API: true
Extendable: false
- Since:
- Windchill R6.0
- See Also:
-
Field Summary
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContentFields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAGFields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Method Summary
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContentMethods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent