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

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:

              Development