[
https://issues.jboss.org/browse/SEAMFACES-147?page=com.atlassian.jira.plu...
]
Dan Allen commented on SEAMFACES-147:
-------------------------------------
{quote}
I want that too. And I assure you that by using this binding concept, we achieve that.
{quote}
You may need to trust the vision on this one if it's not immediately obvious.
Btw, I am willing to meet half way and also implement @UrlAction that you place directly
on the view enum. The binding annotation is the preferred way, but the @UrlAction is the
"busy man's" approach.
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