I gotta thank you!

I didn't knew that PageBeginRender (without the I :-) worked on components - and never thought it would fix my problem... but it did.

Tell my why I just threw your solution away in the inbox :-)

My last theory went on the way I linked to the page containing my compoent.
On the page that failed I had a method that did some prework on the page I linked to, hence loading the page without rendering it:

public static void navigateTo(IRequestCycle cycle, Iteration iterationToView) { ViewIterationPage page = (ViewIterationPage) cycle.getPage(PageNames.PAGE_VIEW_ITERATION);
       page.setIteration(iterationToView);
page.getPlanbVisit().setCurrentProject(iterationToView.getProject());
       cycle.activate(page);
   }

Thanks!

Regards
Jacob von Eyben

Schulte Marcus wrote:

I am implementing a component hence I can't implement the IPageRenderListener - it is only for pages.

without wanting to seem too self-righteous:
no, no it's fine for components, trust me ;-), and it doesn't have an "I".
However, I won't guarantee that it solves your problem

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




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

Reply via email to