[
https://issues.jboss.org/browse/RF-11747?page=com.atlassian.jira.plugin.s...
]
Brian Leathem updated RF-11747:
-------------------------------
Fix Version/s: 4.1.0.Final
Description:
Dears,
i'am using rich:tree in two places, one in the main panel of my template, and the
other one is in a popup, i'am using the onbeforetoggle event, it was running
successfully since 4.0 to 4.1 M2, after M2 it is not functioning right, here is my tests
:
1- RF 4-M3, onbeforetoggle not firing in the main template & in the popup.
2- RF 4-M4, main template is firing the event, popup is not firing.
3- RF 4-CR1, same as M3.
here is my .xhtml code :
{code}
<rich:tree id="myTree"
var="node"
nodeType="#{node.type}"
toggleType="ajax"
selectionType="ajax">
<rich:treeModelRecursiveAdaptor roots="#{bean.roots}"
nodes="#{node.folders}">
<rich:treeNode title="#{node.path}"
type="folder"
onbeforetoggle="getSelectedPath('#{node.path}')"
ondblclick="chooseFolder('#{node.ecmId}', '#{node.path}')"
toggleListener="#{bean.treeToggleListener}">
<h:outputText value="#{node.label}" />
</rich:treeNode>
</rich:treeModelRecursiveAdaptor>
</rich:tree>
{code}
where getSelectedPath is a a4j:jsFunction.
was:
Dears,
i'am using rich:tree in two places, one in the main panel of my template, and the
other one is in a popup, i'am using the onbeforetoggle event, it was running
successfully since 4.0 to 4.1 M2, after M2 it is not functioning right, here is my tests
:
1- RF 4-M3, onbeforetoggle not firing in the main template & in the popup.
2- RF 4-M4, main template is firing the event, popup is not firing.
3- RF 4-CR1, same as M3.
here is my .xhtml code :
<rich:tree id="myTree"
var="node"
nodeType="#{node.type}"
toggleType="ajax"
selectionType="ajax">
<rich:treeModelRecursiveAdaptor roots="#{bean.roots}"
nodes="#{node.folders}">
<rich:treeNode title="#{node.path}"
type="folder"
onbeforetoggle="getSelectedPath('#{node.path}')"
ondblclick="chooseFolder('#{node.ecmId}', '#{node.path}')"
toggleListener="#{bean.treeToggleListener}">
<h:outputText value="#{node.label}" />
</rich:treeNode>
</rich:treeModelRecursiveAdaptor>
</rich:tree>
where getSelectedPath is a a4j:jsFunction.
Component/s: regression
Forum Reference:
http://community.jboss.org/thread/175411 (was:
http://community.jboss.org/thread/175411)
If this is indeed a regression, we should look at the possibility of getting a fix in for
4.1.0
RF 4.1 onbeforetoggle issue
---------------------------
Key: RF-11747
URL:
https://issues.jboss.org/browse/RF-11747
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-menu, regression
Affects Versions: 4.1.0.Milestone3, 4.1.0.Milestone4, 4.1.0.CR1
Environment: JDK 6, JSF 2, JBoss 6 Final
Reporter: Ibrahim Abu Ghosh
Labels: richfaces
Fix For: 4.1.0.Final
Dears,
i'am using rich:tree in two places, one in the main panel of my template, and the
other one is in a popup, i'am using the onbeforetoggle event, it was running
successfully since 4.0 to 4.1 M2, after M2 it is not functioning right, here is my tests
:
1- RF 4-M3, onbeforetoggle not firing in the main template & in the popup.
2- RF 4-M4, main template is firing the event, popup is not firing.
3- RF 4-CR1, same as M3.
here is my .xhtml code :
{code}
<rich:tree id="myTree"
var="node"
nodeType="#{node.type}"
toggleType="ajax"
selectionType="ajax">
<rich:treeModelRecursiveAdaptor roots="#{bean.roots}"
nodes="#{node.folders}">
<rich:treeNode title="#{node.path}"
type="folder"
onbeforetoggle="getSelectedPath('#{node.path}')"
ondblclick="chooseFolder('#{node.ecmId}', '#{node.path}')"
toggleListener="#{bean.treeToggleListener}">
<h:outputText value="#{node.label}" />
</rich:treeNode>
</rich:treeModelRecursiveAdaptor>
</rich:tree>
{code}
where getSelectedPath is a a4j:jsFunction.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira