[seam-issues] [JBoss JIRA] Updated: (SEAMFACES-107) Raise events before and/or after creation of ViewMetadata
Brian Leathem (JIRA)
jira-events at lists.jboss.org
Wed Sep 7 01:48:26 EDT 2011
[ https://issues.jboss.org/browse/SEAMFACES-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem updated SEAMFACES-107:
------------------------------------
Fix Version/s: 3.Future
> Raise events before and/or after creation of ViewMetadata
> ---------------------------------------------------------
>
> Key: SEAMFACES-107
> URL: https://issues.jboss.org/browse/SEAMFACES-107
> Project: Seam Faces
> Issue Type: Feature Request
> Components: CDI Integration
> Affects Versions: 3.0.0.CR1
> Reporter: Dan Allen
> Priority: Minor
> Fix For: 3.Future
>
>
> It may be useful to raise an event before or after creation of the ViewMetadata (or both). There is a compelling reason to raise the event afterwards to allow the application to programmatically register additional metadata components (such as UIViewAction or UIRestrictView).
> {code:java}
> public void onCreateMetadata(@Created ViewMetadata metadata, FacesContext context) {
> metadata.getChildren().add(...);
> }
> {code}
> In order for this to work, the ViewMetadata will need to either extend BeanManagerAware or become an injectable component itself (the former is simpler).
> The @Created qualifier should be introduced in Solder in the "event" package.
--
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