Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.2
-
None
-
None
Description
Page specifications are supposed to be optional. However, the PageSpecificationResolverImpl does not find templates in all the same places/paths that is searches for actual .page specifications.
java class for page -->
com.pennmutual.csc.pages.admin.ManageUsers
My .application file
[code]
<?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>
<meta key="org.apache.tapestry.page-class-packages" value="com.pennmutual.csc.pages"/>
<meta key="org.apache.tapestry.component-class-packages" value="com.pennmutual.csc.components"/>
<page name="Home" specification-path="AccountHome.page"/>
<library id="Contrib" specification-path="classpath:/org/apache/tapestry/contrib/Contrib.library"/>
<library id="tacos" specification-path="/net/sf/tacos/Tacos.library"/>
</application>
[/code]
e.g. default package is. com.pennmutual.csc.pages
root templates/specs are in /WEB-INF/csc
The url of the page that is not found is http://localhost:8080/cee/admin/ManageUsers.html
If I put a page/specification file in /WEB-INF/csc/admin the page is found (Correct)
If I delete that page specification and just put my template in
***If I put my template in {webroot}
/WEB-INF/csc/admin with no .page specification, the template is not found and no "implicit" specfication is create (InCorrect).**