type-safe navigation for h:link 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
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