Thanks Adreas,
I tried out what u have suggested but it didnt work out.
can you put down what u suggested in code so that i can be sure i did it the
right way.
Andreas Andreou <[EMAIL PROTECTED]> wrote: In the renderComponent method you
only output html - not tapesty
template code.
Even if you try it (be running the code you showed us), you'll see that
the template
you're outputting is NOT processed by tapestry.
You can try defining a listener parameter for your component and
creating an html template that uses it.
binu pankajakshan wrote:
>Hi all.
>
> Am trying to display some links which are generated in the
> renderComponent(IMarkupWriter , IRequestCycle) method of a component. I want
> to know if I want a listener to be associated with it in where should i
> write the code for it
>
> say for eg. the below is a sample component defined
> public class ListLink extends AbstractComponent
> {
> public void renderComponent( IMarkupWriter writer, IRequestCycle cycle )
> {
> writer.printRaw("hi");
> writer.printRaw("click here ....");
> }
> }
>
> The component is being displayed as part of another page .
> Can any one help me out where do i write the linkClicked () method.
>
> In general if we write such block to dynamically generate the component body
> where do we write the listener methods.
>
> I Am new to tapestry so please tell me if i am doing it the right way and if
> not how can i do it.
>
> Thanks & Regards
> Binu
>
>
>
>---------------------------------
>Yahoo! for Good - Make a difference this year.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Accenture Services Pvt. Ltd.
Tek Medows
51,Old Mahabalipuram Road
Sholinganallur,Chennai-600119
Contact No: +91 98203 46870
'My will shall shape the future. Whether I fail or succeed shall be no
man's doing but my own. I am the force; I can clear any obstacle before me or
I can be lost in the maze. My choice; my responsibility; win or lose, only I
hold the key to my destiny.'
---------------------------------
Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping