Hi
I am trying to organize page and component classes into separate
packages, but when I add the keys to the .application file, the
framework can no longer find my assets (i.e.: the stylesheet and image
assets) whic are Injected into my border component. What am I missing?
.application file:
<meta key="org.apache.tapestry.page-class-packages"
value="com.albourne.web.pages"/>
<meta key="org.apache.tapestry.component-class-packages"
value="com.albourne.web.components"/>
border component:
@Asset("context:/CSS/styles.css") //relative to the application context path
public abstract IAsset getStyles();
Error:
Component Portfolio/$Border does not contain an asset named 'styles'.
binding: [EMAIL PROTECTED]
parameter stylesheet, location=context:/WEB-INF/Border.html, line 1]
component: [EMAIL PROTECTED]/$Border]
location: context:/WEB-INF/Border.html, line 1
1 <html jwcid="@Shell" renderBaseTag="false"
title="ognl:page.pageName" stylesheet="asset:styles" >
2 <head>
3 <title>Risk Model On The Web - Portfolio Analysis Application</title>
4 </head>
5 <body jwcid="@Body" >
6
Thanks
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]