[seam-issues] [JBoss JIRA] Commented: (JBSEAM-4755) Usage of propagation="nest" with <s:link> throws Exception
Marek Novotny (JIRA)
jira-events at lists.jboss.org
Fri Jan 21 09:44:49 EST 2011
[ https://issues.jboss.org/browse/JBSEAM-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577060#comment-12577060 ]
Marek Novotny commented on JBSEAM-4755:
---------------------------------------
I have fixed NEST occurrences in documentation and in Seam UI component, but I can't see why it shouldn't create nested conversation if you try to use s:link or s:button with propagation="nested".
Are you sure that it doesn't work?
> Usage of propagation="nest" with <s:link> throws Exception
> ----------------------------------------------------------
>
> Key: JBSEAM-4755
> URL: https://issues.jboss.org/browse/JBSEAM-4755
> Project: Seam
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.2.1.CR3
> Environment: Seam 2.2.1.CR3 / Jboss AS 4.3.2
> Reporter: Bertrand Toussaint
> Assignee: Marek Novotny
> Fix For: 2.2.1.Final
>
>
> When "nest" is replaced by "nested" in the xhtml views:
> It works well when the conversation propagation is done by using the tag <s:conversationPropagation type="nested" />
> It does not work if you use the attribute propagation="nested" on the <s:link> tag: the nested conversation is not created.
> If you remove the propagation attribute from <s:link> tag and insert <s:conversationPropagation type="nested" /> inside the tag, it works.
> The documentation still references "nest" value for <s:link> propagation attribute in the chapter 7.5. Using <s:link> and <s:button>
> http://docs.jboss.org/seam/2.2.1.CR3/reference/en-US/html/conversations.html
> If you use s:link with propagation="nest", you get the exception java.lang.IllegalArgumentException: No enum const class org.jboss.seam.core.PropagationType.NEST.
> So, the workaround is: do not use "propagation" attribute on s:link, use <s:conversationPropagation type="nested" /> instead.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list