Create a component with it's own template. However, you may find that once
you are creating your own component, it so easy to replicate the things that
ActionLink does, that you'll do it inline.
On 9/10/07, Doublel <[EMAIL PROTECTED]> wrote:
>
> Yes that is true ,I found this point also, If i wan
uh,
I'm not sure, but i belive
you'll need to change your approach to the problem,
what are you trying to acheive ?
Davor Hrg
On 9/10/07, Doublel <[EMAIL PROTECTED]> wrote:
>
> Yes that is true ,I found this point also, If i want to write tapestry
> core
> component,How to do??
>
> use
> @compon
Yes that is true ,I found this point also, If i want to write tapestry core
component,How to do??
use
@component(parameters={"id=literal:splitPage"})
private Actionlink link1;
getter /setter^^
then I didn't know how to use link1?? how to nest into it ?
2007/9/10, Davor Hrg <[EMAIL PROTECTED]
I write a custom componnet page ,in beginRender method I want to get a
image link ,so the code is :
writer.element("a",
"t:type","ActionLink"
,"context",totalPageļ¼"t:id","splitPage");
writer.element("img", "src",this.getLast02());
I belive writer only writes elements
it doesn't handle template syntax
t:id and t:type belong to the template
Davor Hrg
On 9/10/07, Doublel <[EMAIL PROTECTED]> wrote:
>
> I write a custom componnet page ,in beginRender method I want to get a
> image link ,so the code is :
> writer.element("a",
>