Hi,

I just wanted to run this test..., I got a tapestry archetype and added this
code in the components package:

Comp1.java:

package testComponent.components;
>
> public class Comp1 {
>
> }
>
>
Comp1.tml

<div xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";
>     xmlns:p="tapestry:parameter">
>
>     <p>I 'm going crazy</p>
>
> </div>
>
>

after that, I modified Index.tml this way:


> <html t:type="layout" title="pruebaComponent Index" t:sidebarTitle="Current
> Time" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";
> xmlns:p="tapestry:parameter">
>
>         <p>${message:greeting}</p>
>         <t:comp1 t:id="comp1"/>
> ...
>


The result when I refresh the Index page is that I can't see the phrase "I
'm going crazy"...

Am I misunderstanding something about compoments?

How should I include a component in my page?

cheers, and thanks in advance

Nicolás.-

Reply via email to