For others running into a similar problem. I've solved it as follows.
My markup contains:
updateComponents="result" async="true" parameters="ognl:
{page.parameter}">
At the place where I need to programmatically generate the link, I
call my page's setLinkText() method (which I added as
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 De
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;
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
> > Di
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
updateComponents="result">
generates non-programmatically, but from wit
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
updateComponents="result">
generates non-programmatically, but from within renderComponent().
How can
I do this?
Tha