[
https://issues.jboss.org/browse/SEAMFACES-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611361#comment-12611361
]
Dupont Dupont commented on SEAMFACES-147:
-----------------------------------------
{quote}
However, that requires all sorts of named beans and it's just pretty off base
from what CDI is all about.
{quote}
I don't see your point : ViewAction are for Jsf views. A Jsf view can only call
named bean via JSF El.
So IMO, it's not odd to have this restriction for ViewActions.
Anyway, my main point is really to be able to centralize view navigation, view
actions, view restrictions, etc... (the simplest to use and to understand = the
best)
> 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
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues