[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1221) propagation=drop

Leo Baschy (JIRA) jira-events at lists.jboss.org
Sat Apr 21 06:51:40 EDT 2007


                 Key: JBSEAM-1221
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1221
             Project: JBoss Seam
          Issue Type: Feature Request
    Affects Versions: 1.2.1.GA
         Environment: all
            Reporter: Leo Baschy

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;

public class Conversaction {

  public String endAndTo(String viewId) {
    return viewId;

Would be nice to avoid the redirect.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list