myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (EXTCDI-207) implicit sub-groups for conversation groups
Date Thu, 14 Jul 2011 07:22:00 GMT

     [ https://issues.apache.org/jira/browse/EXTCDI-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gerhard Petracek resolved EXTCDI-207.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.1

> implicit sub-groups for conversation groups
> -------------------------------------------
>
>                 Key: EXTCDI-207
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-207
>             Project: MyFaces CODI
>          Issue Type: New Feature
>          Components: JEE-JSF12-Module, JEE-JSF20-Module
>    Affects Versions: 1.0.0
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>             Fix For: 1.0.1
>
>
> we can also support implicit groups - e.g.:
> public class MyGroup{}
> @ConversationScoped
> @ConversationGroup(MyGroup.class)
> public class BeanA implements WizardA {}
> @ConversationScoped
> @ConversationGroup(MyGroup.class)
> public class BeanB implements WizardA {}
> @ConversationScoped
> @ConversationGroup(MyGroup.class)
> public class BeanC implements WizardB {}
> @ConversationSubGroup(WizardA.class)
> public class MySubGroup extends MyGroup {}
> //...
> this.windowContext.closeConversation(MySubGroup.class)
> //...
> since it isn't required to list all beans manually, it's easy and more expressive to
create logical groups. 

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

        

Mime
View raw message