Re: Programmatically generating DirectLinks with updateComponents

2007-12-24 Thread Kaspar Fischer
On 22.12.2007, at 23:30, Andreas Andreou wrote: Hi, what's the html template for ResultElement ? Can't you add the link there? ResultElement does not have a HTML but is an AbstractComponent rendering its content using the renderComponent(). The name ResultElement is a little missleading;

Re: Programmatically generating DirectLinks with updateComponents

2007-12-24 Thread Andreas Andreou
I'm wondering if you can just extend from BaseComponent, include an html template that just has a DirectLink and in your renderComponent() call super.renderComponent() each time you want to output the direct link The other solution is to implement IDirect (similarly to what DirectLink does) On

Re: Programmatically generating DirectLinks with updateComponents

2007-12-22 Thread Kaspar Fischer
On 21.12.2007, at 19:29, Kaspar Fischer wrote: Hi, My custom component needs to emit in its renderComponent() method several DirectLink with updateComponents information. That is, I need to output the same HTML as a jwcid=@DirectLink listener=listener:doClick

Re: Programmatically generating DirectLinks with updateComponents

2007-12-22 Thread Andreas Andreou
Hi, what's the html template for ResultElement ? Can't you add the link there? On Dec 22, 2007 11:48 PM, Kaspar Fischer [EMAIL PROTECTED] wrote: On 21.12.2007, at 19:29, Kaspar Fischer wrote: Hi, My custom component needs to emit in its renderComponent() method several DirectLink with

Programmatically generating DirectLinks with updateComponents

2007-12-21 Thread Kaspar Fischer
Hi, My custom component needs to emit in its renderComponent() method several DirectLink with updateComponents information. That is, I need to output the same HTML as a jwcid=@DirectLink listener=listener:doClick updateComponents=result/a generates non-programmatically, but from