<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension
id=""
name=""
point="org.eclipse.jet.transform">
<transform
startTemplate="bean.generator/control.pat"
templateLoaderClass="org.eclipse.jet.compiled._jet_transformation" >
<description>bean generator</description>
<tagLibraries>
<importLibrary id="com.ibm.xtools.jet.dptk.dptk"
usePrefix="" autoImport="true"/>
<importLibrary id="org.eclipse.jet.controlTags"
usePrefix="c" autoImport="true"/>
<importLibrary id="org.eclipse.jet.formatTags"
usePrefix="f" autoImport="true"/>
</tagLibraries>
</transform>
</extension>
</plugin>
The following example imports the JET workspace tags into a template.
To import a JET tag library into a particular template, or to change the namespace prefix associated with the tag library in a particular template, the @taglib directive must be used. The @taglib directive is usually placed at the beginning of a template.
<%@taglib prefix="ws" id="org.eclipse.jet.workspaceTags"%>