You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org> on 2011/08/18 23:34:27 UTC

[jira] [Resolved] (EXTCDI-216) type-safe navigation for h:link and h:button

     [ 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