myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus B├╝ttner <>
Subject PreRenderView Event with post navigation
Date Tue, 13 Jul 2010 12:37:06 GMT

is there a possiblity to trigger PreRenderView event when I navigate via
action to another page?

small example:
I'm on page1.xhtml an there's a button:

<h:commandButton action="page2"/>

page2.xhtml includes:

    <f:event type="preRenderView"/>

When I use the button then page2 is shown but the PreRenderView event is not
triggerd. The metadata section is only processed in restore view phase. So
the event is triggerd with method GET or with POST without switching page.
Is it possible to trigger this event when I navigate via action?

Thx, regards Marcus

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message