Uploaded image for project: 'Shale'
  1. Shale
  2. SHALE-184

Provide new "Dialog Scope" for managed bean scope

    Details

    • Type: New Feature
    • Status: Open
    • Priority: 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)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: