Shale
  1. Shale
  2. SHALE-184

Provide new "Dialog Scope" for managed bean scope

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.3-SNAPSHOT
    • Fix Version/s: TBD
    • Component/s: Core
    • Labels:
      None

      Description

      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)

        Activity

        Adam Brod created issue -
        Craig McClanahan made changes -
        Field Original Value New Value
        Fix Version/s TBD [ 21773 ]
        Jeff Turner made changes -
        Workflow Struts [ 38424 ] Struts - editable closed status [ 42530 ]
        Antonio Petrelli made changes -
        Workflow Struts - editable closed status [ 42530 ] Struts - editable closed status (temporary) [ 46352 ]
        Antonio Petrelli made changes -
        Workflow Struts - editable closed status (temporary) [ 46352 ] Struts - editable closed status [ 52975 ]
        Jeff Turner made changes -
        Project Import Mon Feb 01 00:51:05 UTC 2010 [ 1264985465446 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Adam Brod
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development