[
https://issues.apache.org/jira/browse/EXTCDI-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gerhard Petracek resolved EXTCDI-216.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.0.2
> type-safe navigation for h:link and h:button
> --------------------------------------------
>
> Key: EXTCDI-216
> URL: https://issues.apache.org/jira/browse/EXTCDI-216
> Project: MyFaces CODI
> Issue Type: New Feature
> Components: JEE-JSF20-Module
> Affects Versions: 1.0.1
> Reporter: Gerhard Petracek
> Assignee: Gerhard Petracek
> Fix For: 1.0.2
>
>
> instead of
> <h:button value="..." outcome="/pages/myPage.xhtml">
> <f:param name="param1" value="val1"/>
> </h:button>
> it should be possible to use:
> <h:button value="..." outcome="#{myController.myPage}">
> <f:param name="param1" value="val1"/>
> </h:button>
> and
> public Class<? extends ViewConfig> getMyPage()
> {
> return Pages.MyPage.class;
> }
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira