[T5] custom component like no function.

2008-06-20 Thread Tan [EMAIL PROTECTED]
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
titleMy 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;

   h1header here/h1

   p
Would you like to t:pagelink page=indexLog In/t:pagelink?
   /p
/html


start.java

package com.companyname.web.pages;


public class maint_materialtype  {

}


custom component like no function.

2008-06-19 Thread Tan [EMAIL PROTECTED]
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
titleMy 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;

   h1header here/h1

   p
Would you like to t:pagelink page=indexLog In/t:pagelink?
   /p
/html


start.java

package com.companyname.web.pages;


public class maint_materialtype  {

}