On 10. Apr 2006 - 10:22:31, Andreas Bulling wrote:
| Well, yes... that's what I also thought about... But the
| question is: How can I fix this? Is there a way to "remove" the
| body from getTabLink() after getTabLink().render(writer, cycle);
| gets called?

Finally I found a solution - at least to the "output problem" ;)

To get the solution archived for other people here it is...
It's the relevant part in the while loop which creates a Insert
component and a DirectLink component as its body.

[...]

if (!isTabActive(tab) && tab.isEnabled())
{
        if (getTabLink().getBodyCount() == 0)
        {
                getTabLink().addBody(getTabTitle());
        }
                                
        getTabLink().render(writer, cycle);
} else
{
        writer.print(getContainer().getMessages().getMessage(
        tab.getTitle()));
}

[...]

The only remining issue is that when I click on one of the
links I get a ApplicationRuntimeException and I don't know
how to debug this :(

Kind regards,
  Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to