struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Brod (JIRA)" <j...@apache.org>
Subject [jira] Created: (SHALE-184) Provide new "Dialog Scope" for managed bean scope
Date Tue, 06 Jun 2006 18:00:16 GMT
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


Mime
View raw message