Phil Zoio wrote:
With annotation support it seems like it will be possible soon to get
rid of the .page and .jwc altogether.
Right now with annotations I'm down to only one piece of information
in my .page and .jwc classes - the name of the class itself. Is there
any way to configure this without using a page or jwc class?
Regards,
Phil Zoio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yes you can! The way you handle the page class name is to add a search
path for page/component classes inside your .application file (which
should be located in WEB-INF). Below is mine:
<?xml version="1.0"?>
<!DOCTYPE application PUBLIC
"-//Apache Software Foundation//Tapestry Specification 4.0//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
<application name="Tapestry Component Workbench">
<meta key="org.apache.tapestry.template-encoding" value="ISO-8859-1"/>
<meta key="org.apache.tapestry.page-class-packages"
value="com.scottwalter.sandbox.tapestry4.pages"/>
<meta key="org.apache.tapestry.component-class-packages"
value="com.scottwalter.sandbox.tapestry4.components"/>
<library id="contrib"
specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
</application>
FYI--I am currently having a problem with making a component (Border in
my case) without a .jwc file. Seems to be a bug that will be fixed in
the next beta)
--
Scott F. Walter Scott F. Walter
Principal Consultant
Vivare, Inc.
E: [EMAIL PROTECTED]
E: [EMAIL PROTECTED]
Visit scottwalter.com <http://scottwalter.com> --Point. Click. Explore!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]