Usage of propagation="nest" with <s:link> throughs 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
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