I don't know anything about maven, but you definitely need to the tacos jar included in your webapp somehow.
--sam On 10/23/06, Ken nashua <[EMAIL PROTECTED]> wrote:
Folks, My code seems to be in order... Can anyone pick this out? There hs not been much docs on namespace(s). I set the id="contrib" . Is this not sufficient? Do I need to add tacos to my pom.xml as a dependency? Thanks in advance --- Here is my application file <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE application PUBLIC "-//Apache Software Foundation//Tapestry Specification 4.0//EN" "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd"> <application name="tap.proto"> <library id="tacos" specification-path="/net/sf/tacos/Tacos.library"/> <library id="contrib" specification-path="/org/apache/tapestry/contrib/Contrib.library"/> <page name="Home" specification-path="Home.page"/> <library id="proto.component" specification-path="classpath:/proto/component/proto.component.library"/> <meta key="org.apache.tapestry.component-class-packages" value="proto.component"/> <meta key="org.apache.tapestry.page-class-packages" value="proto"/> </application> ---> Here is the usage TableDemo.html <html jwcid="@Shell" title="message:page.title"> <body jwcid="@Body"> <h1><span jwcid="@Insert" value="message:page.title"/></h1> <table jwcid="[EMAIL PROTECTED]:Table" effects="template:{highlight:{any:'[255,255,184], 500, 500'}}" source="ognl:users" columns="emailAddress:Email AddressCode:person.emailAddress, password:Password:person.password"> </table> <form jwcid="@tacos:AjaxForm"> <table jwcid="[EMAIL PROTECTED]:Table" effects="template:{highlight:{any:'[255,255,184], 500, 500'}}" source="ognl:users" columns="emailAddress:Email AddressCode:person.emailAddress, password:Password:person.password"> </table> </form> <p><a href="#" jwcid="@PageLink" page="Home">Home</a></p> </body> </html> ---> Here is the exception [ +/- ] Exception: Library 'tacos' not found in application namespace. org.apache.hivemind.ApplicationRuntimeException Library 'tacos' not found in application namespace. location: context:/TableDemo.html, line 6 1 <html jwcid="@Shell" title="message:page.title"> 2 <body jwcid="@Body"> 3 4 <h1><span jwcid="@Insert" value="message:page.title"/></h1> 5 6 <table jwcid="[EMAIL PROTECTED]:Table" 7 effects="template:{highlight:{any:'[255,255,184], 500, 500'}}" 8 source="ognl:users" 9 columns="emailAddress:Email AddressCode:person.emailAddress, 10 password:Password:person.password"> 11 </table> _________________________________________________________________ All-in-one security and maintenance for your PC. Get a free 90-day trial! http://clk.atdmt.com/MSN/go/msnnkwlo0050000002msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]