[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-3286) Support for controlled declarative destruction of part (or all) of the ConversationStack

Francisco Jose Peredo Noguez (JIRA) jira-events at lists.jboss.org
Tue Aug 19 14:56:35 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francisco Jose Peredo Noguez updated JBSEAM-3286:
-------------------------------------------------

    Description: 
I think the solution proposed in JBSEAM-1943 is insufficient, it should allow for precise declarative control of how many levels of nested conversations should be destroyed (all of them or only some of them) using an EL expression, and not just the destruction of the entire ConversationStack.

For example to end all nested conversation (but not root) (regardless of the nesting levels) something like:

@End(levels="#{conversation.nestingLevel}") or <end-conversation levels="#{conversation.nestingLevel}"/>



to end the root conversation (regardless of the nesting levels) something like

@End(levels="#{conversation.nestingLevel+1}") or <end-conversation levels="#{conversation.nestingLevel+1}"/>

to end two levels: 
@End(levels="#{2}" or <end-conversation levels="#{2}"/>

Of course that means we would need to add the nestingLevel to conversation component (or create a new component to deal with this). 



  was:
I think the solution proposed in JBSEAM-1943 is insufficient, it should allow for precise declarative control of how many levels of nested conversations should be destroyed (all of them or only some of them) using an EL expression, and not just the destruction of the entire ConversationStack.

For example to end all nested conversation (but not root) (regardless of the nesting levels) something like:

@End(levels="#{conversation.nestingLevel}")

to end the root conversation (regardless of the nesting levels) something like

@End(levels="#{conversation.nestingLevel+1}")

to end two levels: 
@End(levels="#{2}"

Of course that means we would need to add the nestingLevel to conversation component (or create a new component to deal with this). 




> Support for controlled declarative destruction of part (or all) of the ConversationStack
> ----------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-3286
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3286
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 2.0.2.GA
>            Reporter: Francisco Jose Peredo Noguez
>
> I think the solution proposed in JBSEAM-1943 is insufficient, it should allow for precise declarative control of how many levels of nested conversations should be destroyed (all of them or only some of them) using an EL expression, and not just the destruction of the entire ConversationStack.
> For example to end all nested conversation (but not root) (regardless of the nesting levels) something like:
> @End(levels="#{conversation.nestingLevel}") or <end-conversation levels="#{conversation.nestingLevel}"/>
> to end the root conversation (regardless of the nesting levels) something like
> @End(levels="#{conversation.nestingLevel+1}") or <end-conversation levels="#{conversation.nestingLevel+1}"/>
> to end two levels: 
> @End(levels="#{2}" or <end-conversation levels="#{2}"/>
> Of course that means we would need to add the nestingLevel to conversation component (or create a new component to deal with this). 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list