<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- We need a doctype to allow us to use special characters like
We use a "strict" DTD to make IE follow the alignment rules. -->
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd">
<head>
<link rel="stylesheet" type="text/css" href="${context:css/examples/examples.css}"/>
</head>
<body>
<h1>Third Party Components</h1>
It's easy to use third-party components.<br/><br/>
In this example we use the <a href="http://www.chenillekit.org/demo/tapcomp/slidingpaneldemo">SlidingPanel</a> component
from the <a href="http://chenillekit.codehaus.org/">ChenilleKit</a> open-source project.<br/><br/>
The components were added to JumpStart simply by putting chenillekit-core.jar in web/src/main/lib-compile/ and chenillekit-tapestry.jar in web/src/main/lib-runtime/ .<br/>
Actually, they were put there by Ant by running the <em>get-dependant-jars</em> target of <em>build.xml</em> during installation.<br/>
In the development environment, JumpStart's collapser deploys them into <code>collapsed/jumpstart.war/WEB-INF/lib/</code>.
<div class="eg">
<t:chenillekit.SlidingPanel t:subject="literal:This is a sliding panel" t:closed="true" style="width: 50%;">
Hello World.<br/>
Hello World.<br/>
Hello World.
</t:chenillekit.SlidingPanel>
</div>
For more third-party components see <a href="http://tapestry-stitch.uklance.cloudbees.net">Tapestry Stitch</a>,
<a href="http://tapestry.apache.org/third-party-modules.html">Third Party Modules</a>,
and <em>Components</em> on <a href="http://wiki.apache.org/tapestry/Tapestry5HowTos#Components">Tapestry 5 How Tos</a>.<br/><br/>
References:
<a href="http://tapestry.apache.org/component-classes.html">Component Classes</a>,
<a href="http://tapestry.apache.org/component-templates.html">Component Templates</a>,
<a href="http://tapestry.apache.org/component-parameters.html">Component Parameters</a>,
<a href="http://www.chenillekit.org/demo/tapcomp/slidingpaneldemo">SlidingPanel</a>,
<a href="http://chenillekit.codehaus.org/">ChenilleKit</a>.<br/><br/>
<a t:type="pagelink" t:page="Index" href="#">Home</a><br/><br/>
<t:sourcecodedisplay src="/web/src/main/java/jumpstart/web/pages/examples/component/ThirdPartyComponents.tml"/>
<t:sourcecodedisplay src="/web/src/main/java/jumpstart/web/pages/examples/component/ThirdPartyComponents.java"/>
<t:sourcecodedisplay src="/web/src/main/java/jumpstart/web/css/examples/examples.css"/>
</body>
</html>