I am having a problem of Tapestry which is integrated in Spring.

I made following settings in web.xml


        <!--                    Tapestry 5 context and filters          -->
        <context-param>
                <!-- The only significant configuration for Tapestry 5, this 
informs Tapestry
                of where to look for pages, components and mixins. -->
                <param-name>tapestry.app-package</param-name>
                <param-value>/classes/net/project/resources</param-value>
        </context-param>
        
        
        <!--                    Tapestry 5 filter               -->
        <filter>
            <filter-name>app</filter-name>
            <!-- Special filter that adds in a T5 IoC module derived 
                 from the Spring WebApplicationContext. -->
            
<filter-class>org.apache.tapestry.spring.TapestrySpringFilter</filter-class>
        </filter>


        <!--                    Tapestry 5 filter mapping               -->
        <filter-mapping>
                        <filter-name>app</filter-name>
                        <url-pattern>/*</url-pattern>
        </filter-mapping>

        <!-- For Tapestry 5 integration with Spring framework -->
        <listener>
                
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
        </listener>

But when I call a page using simple anchor tag <a href="/Start.html"> which is 
a tapestry page,
it is displayed without translating the Tapestry components in Html.

Start.html ->
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
    <head>
        <title>Tapestry</title>
    </head>
    <body>
        <h1>Tapestry Start Page</h1>        
        <p>
            [<t:pagelink t:page="Main">HelloWorld</t:pagelink>] <br/>          
        </p>        
    </body>
</html>
Also I am having Start.java file.
Please help to solve this issue. :(

Thanks in advance....

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to