[forge-issues] [JBoss JIRA] (FORGE-1524) Change the JSF preRenderView to fit the new viewAction

Antonio Goncalves (JIRA) issues at jboss.org
Wed Jan 29 08:01:31 EST 2014


Antonio Goncalves created FORGE-1524:
----------------------------------------

             Summary: Change the JSF preRenderView to fit the new viewAction
                 Key: FORGE-1524
                 URL: https://issues.jboss.org/browse/FORGE-1524
             Project: Forge
          Issue Type: Sub-task
          Components: Scaffold
    Affects Versions: 2.0.0.CR2
            Reporter: Antonio Goncalves
             Fix For: 2.x Future


When a JSF page is generated, it uses the old JSF 2.0 {{preRenderView}} :

{code}
<f:event type="preRenderView" listener='#{authorBean.retrieve}'/>
{code}

Instead, it should be using the new Java EE 7 {{viewAction}} :

{code}
<f:viewAction action="#{authorBean.retrieve}"/>
{code}

I've replaced all occurrences in every pages and it works fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list