I have problem with custom component. It is almost tutorial example. It works fine from eclipse 3.4 (I use Jetty plugin 1.1). But if I use mvn jetty:run or deploy to Tomcat results is different.

Border.tml:
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
<head>
   <title>Test</title>
   <link rel="stylesheet" href="${styles}" type="text/css"/>
</head>
<body>
   <h1>Test</h1><br/>
   [<t:pagelink t:page="Index">Home</t:pagelink>]
   [<t:pagelink t:page="Test">Test</t:pagelink>]
   <t:body/>
</body>
</html>

Index.tml
<t:Border xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
   <p> The current time is: ${currentTime}. </p>
</t:Border>

Result from Eclipse is as expected, but from mvn Jetty and Tomcat just:
<p> The current time is: XXX. </p>

Has someone idea what am I doing wrong? I use maven plugin in Eclipse.

Tomas


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to