[seam-issues] [JBoss JIRA] Commented: (SEAMFACES-147) Add support for binding methods (view actions) to view enums

Dan Allen (JIRA) jira-events at lists.jboss.org
Mon Jun 27 18:41:23 EDT 2011


    [ https://issues.jboss.org/browse/SEAMFACES-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611372#comment-12611372 ] 

Dan Allen commented on SEAMFACES-147:
-------------------------------------

Correction, let's call the built-in annotation that accepts an EL method expression @ViewAction.

The binder annotation will be called @ViewActionBindingType. Then, the user can use whatever name they want, including a @ViewAction in their own package, or whatever other name they want.

> Add support for binding methods (view actions) to view enums
> ------------------------------------------------------------
>
>                 Key: SEAMFACES-147
>                 URL: https://issues.jboss.org/browse/SEAMFACES-147
>             Project: Seam Faces
>          Issue Type: Feature Request
>            Reporter: Dupont Dupont
>
> Be able to configure a page action with ViewConfig.
> For instance :
> {code:java} 
> @ViewConfig
> public interface Pages {
>     static enum Pages1 {
>         @ViewPattern("/*")
>         @ViewAction("#{bean.doSomething()}")
>         ALL;
>     }
> }
> {code}
> Prettyfaces can be a source of inspiration since it has this capability, and the added bonus of specifying which phase you want this to occur.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list