[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2583) <s:conversationPropagation type="join" /> seems not creating aq new conversation

Tomas Cerny (JIRA) jira-events at lists.jboss.org
Thu Mar 13 13:23:58 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-2583?page=all ]

Tomas Cerny updated JBSEAM-2583:
--------------------------------


I do not have an example because I used my solution published on the forum.

But how to reproduce it?

1. Follow Seam documentation of natural conversations. 
2. Lets say you will create a simple person entity and two view pages. List and Home.
3. You will create a new natural conversation and name it at pages.xml  (You want to make some reasonable name like name="person#{personHome.instance.id}")
4. You want to merge two conversations with same name 
5. you have at your List file something like this
<h:commandLink 
                           action="#{personManager.select(person)}" value="select">
                           <s:conversationName value="person"/>
                           <s:conversationPropagation type="join" />
</h:commandLink> 

That is all. You should be reproduce the problem

Note that the problem is when your conversation name contains dynamic value like :
name="person#{personHome.instance.id}"
So it means that :
name="personNoSense"
will work

Tomas

 

> <s:conversationPropagation type="join" /> seems not creating aq new conversation
> --------------------------------------------------------------------------------
>
>                 Key: JBSEAM-2583
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2583
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: JSF Integration
>    Affects Versions: 2.0.1.GA
>         Environment: Linux, FireFox
>            Reporter: Tomas Cerny
>         Assigned To: Pete Muir
>            Priority: Minor
>             Fix For: 2.0.2.GA, 2.1.0.GA
>
>
> Assuming you will take a look in JBoss Forum Reference
> I have a search table and from table entry starting new explicit conversation (natural).
> My conversationName is defined in pages.xml
> when I use 
> <h:commandLink 
>                            styleClass="left clearBoth"
>                            action="#{teamManager.select(teamItem)}" value="select">
>                            <s:conversationName value="teamHome"/>
>                            <s:conversationPropagation type="join" />
> </h:commandLink> 
> link invokes method but is not redirecting to entryHome (should start pageFlow defined on method)
> if I will remove  <s:conversationPropagation type="join" />
> then redirection to entryHome works but of course without joining.

-- 
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