You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Adam Brod (JIRA)" <ji...@apache.org> on 2006/06/06 20:00:16 UTC

[jira] Created: (SHALE-184) Provide new "Dialog Scope" for managed bean scope

Provide new "Dialog Scope" for managed bean scope
-------------------------------------------------

         Key: SHALE-184
         URL: http://issues.apache.org/struts/browse/SHALE-184
     Project: Shale
        Type: New Feature

  Components: Core  
    Versions: 1.0.3    
    Reporter: Adam Brod


JBoss Seam provides a very elegant concept of a Conversation Scope.  In Seam, a Conversation is equivalent to a Dialog in Shale.  It is really handy to be able to make a bean be persisted for the duration of the Dialog, but then destroyed afterwards.

I know that it is possible to manually stuff data in dialog scope using "#{dialog.data}", but that is awkward.  It is much more natural and requires less code for a developer to storing a bean in dialog scope.

Ideally, the managed bean could declare something like this:
@Bean(name="dialogWizardBean", scope=Scope.DIALOG)



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