Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: 1.2.1.GA
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      all

      Description

      Use is to be in

      <s:link view="/myOther.xhtml" propagation="drop" value="Outta Here" />

      propagation="none" is almost the same, but "none" leaves conversations stored in an inactive state until they timeout. One might not want that, either not to use storage, or not to allow to come back, etc.

      To reiterate what is specified and has been said, but still may be puzzling at times, specifically when used with s:link view="/any.xhtml", propagation="end" has effect at the end of the target page.

      propagation="drop" should be like propagation="none" combined with the destruction of "end". As a matter of symbolism, if you "drop" it then it breaks and does no longer exist.

      For now one can get the effect by instead doing this (note the funny spelling of "conversaction" != "conversation"):

      <s:link action="#

      {conversaction.endAndTo('/myOther.xhtml')}

      " value="Outta Here" />

      backed by

      import org.jboss.seam.annotations.Name;
      import org.jboss.seam.core.Conversation;

      @Name("conversaction")
      public class Conversaction {

      public String endAndTo(String viewId)

      { Conversation.instance().end(); return viewId; }

      }

      Would be nice to avoid the redirect.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  gavin.king Gavin King
                  Reporter:
                  codelion Leo Baschy
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: