<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC
  "-//Apache Software Foundation//Tapestry Specification 3.0//EN"
  "http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
<!-- generated by Spindle, http://spindle.sourceforge.net -->
<application name="tapesample"
    engine-class="org.asyrinx.brownie.tapestry.seasar.S2AppEngine">
    <description>
        <![CDATA[   add a description   ]]>
    </description>
#set( $commonsPackage = "${projBasePackage}.tapestry.commons" )
    <property name="org.apache.tapestry.visit-class" value="${commonsPackage}.Visit"/>
    <page name="MstMenu" specification-path="commons/MstMenu.page"/>
#foreach ( $entity in ${domain.getClasses().toList()} )
#set( $viewCategory = ${entity.getOption("category")} )
    <page name="${tapestryPageListPrefix}${entity.getName()}${tapestryPageListSuffix}" 
		specification-path="page/${viewCategory}/${tapestryPageListPrefix}${entity.getName()}${tapestryPageListSuffix}.page"/>
    <page name="${tapestryPageDetailPrefix}${entity.getName()}${tapestryPageDetailSuffix}" 
		specification-path="page/${viewCategory}/${tapestryPageDetailPrefix}${entity.getName()}${tapestryPageDetailSuffix}.page"/>
#end
    <component-type type="Border" specification-path="commons/Border.jwc"/>
#foreach ( $entity in ${domain.getClasses().toList()} )
#set( $viewCategory = ${entity.getOption("category")} )
    <component-type type="${tapestryComponentListPrefix}${entity.getName()}${tapestryComponentListSuffix}" 
		specification-path="components/${viewCategory}/${tapestryComponentListPrefix}${entity.getName()}${tapestryComponentListSuffix}.jwc"/>
    <component-type type="${tapestryComponentDetailPrefix}${entity.getName()}${tapestryComponentDetailSuffix}" 
		specification-path="components/${viewCategory}/${tapestryComponentDetailPrefix}${entity.getName()}${tapestryComponentDetailSuffix}.jwc"/>
#end
    <library id="contrib" specification-path="/org/apache/tapestry/contrib/Contrib.library"/>
    <library id="brownie" specification-path="/org/asyrinx/brownie/tapestry/components/brownie.library"/>
    <library id="joey" specification-path="/org/asyrinx/joey/tapestry/components/joey.library"/>
</application>
