On Sat, 06 Nov 2010 08:47:03 -0200, Josh Kamau <joshnet2...@gmail.com>
wrote:
<t:menubar
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd">
<h2>I am a menubar</h2>
</t:menubar>
You're trying to use the component in it itself. The root element should
be <div>.
now how do i add it to my page? i have added it by putting <t:menubar/>
or <div t:type="menubar"/> and its not appearing.
this is my index page.
<html t:type="layout" xmlns:t="
http://tapestry.apache.org/schema/tapestry_5_1_0.xsd">
<head>
</head>
<body>
<h1>Hello world . Its now ${today}</h1>
<t:menubar/>
</body>
</html>
Please post your Layout class and template.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org