Re: T5: MarkupWriter.element() can not display correctly in my custom component page

2007-09-10 Thread Howard Lewis Ship
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

Re: T5: MarkupWriter.element() can not display correctly in my custom component page

2007-09-10 Thread Davor Hrg
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

Re: T5: MarkupWriter.element() can not display correctly in my custom component page

2007-09-10 Thread Doublel
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]

T5: MarkupWriter.element() can not display correctly in my custom component page

2007-09-10 Thread Doublel
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());

Re: T5: MarkupWriter.element() can not display correctly in my custom component page

2007-09-10 Thread Davor Hrg
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", >