[
https://jira.jboss.org/jira/browse/JBSEAM-4318?page=com.atlassian.jira.pl...
]
zhanghua qiu commented on JBSEAM-4318:
--------------------------------------
Even using session-scoped bean under Tomcat, problem still exists.
I had to add following code like:
<rich:treeNode>
<a4j:support event="onselected" ajaxSingle="true">
<f:setPropertyActionListener value="#{_childCategory}"
target="#{categoryAction.current}" />
</a4j:support>
......
</rich:treeNode>
but the treeNode state will not be selected.
I am waiting for fixing this issue.
SEAM and Richfaces rich:tree component using a dynamic model
------------------------------------------------------------
Key: JBSEAM-4318
URL:
https://jira.jboss.org/jira/browse/JBSEAM-4318
Project: Seam
Issue Type: Bug
Components: JSF Controls, JSF Integration
Affects Versions: 2.1.1.GA
Environment: Tested on SuSE Linux / OS X Leopard / and Windows using Firefox 3.0
/ 3.5.
Reporter: Horacio Vico
It seems that there is a bug that avoids us to use a Richfaces tree component with a
dynamic model (tree is populated dynamically using AJAX). This bug is present when using
Richfaces integrated with SEAM (the tree is backed by a conversation-scoped SEAM POJO).
This bug has been reported here:
1)
http://seamframework.org/Community/DynamicTreeAndNodeSelectListener
2)
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4131257#...
3)
http://seamframework.org/Community/TreenodeSelectListenerNeverGetsFired
Here there is a really good example on how to implement a dynamic tree using Richfaces:
http://random-thoughts-vortex.blogspot.com/2009/05/richfaces-tree-dynamic...
The problem we are experiencing is that the nodeSelectListener method is only fired at
the first click on the tree. Child nodes appear but clicking over them produces no action
(their childs are not loaded because nodeSelectListener is not fired again).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira