wt.taglib.util
Class PluginTag

java.lang.Object
  extended by BodyTagSupport
      extended by wt.taglib.util.PluginTag
All Implemented Interfaces:
wt.taglib.util.FallbackSubtag, wt.taglib.util.ParamsSubtag

public class PluginTag
extends 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):


 <%@ 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:
PluginTagGenerator

Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait