Hi all,

I have a problem on custom component. i think i have left out something or
do something wrong.
my layout.tml header and footer 's wording didn't come out at the start.tml
render.
only show out "Would you like to Log In?'"
can someone help me?  :(

Regards,

example like layout.

layout.tml
-----------------------

<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
    <head>
        <title>My Nifty Web Application</title>
    </head>
    <body>
        <div class="nav-top">
           header
        </div>

        <t:body/>

        <div class="nav-bottom">
            footer here
        </div>
    </body>
</html>


layout.java
----------------------

package com.companyname.web.components;

public class layout  {
}


start.tml
------------

<html t:type="layout" xmlns:t="
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

   <h1>header here</h1>

   <p>
        Would you like to <t:pagelink page="index">Log In</t:pagelink>?
   </p>
</html>


start.java
----------------------------
package com.companyname.web.pages;


public class maint_materialtype  {

}

Reply via email to