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

Antonio Goncalves (JIRA) issues at jboss.org
Thu Sep 10 16:51:00 EDT 2015


     [ https://issues.jboss.org/browse/FORGE-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Goncalves updated FORGE-1524:
-------------------------------------
    Parent Issue: FORGE-2277  (was: FORGE-1491)


> 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 was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the forge-issues mailing list