This content has been marked as final.
Show 1 reply
-
1. Re: tree example from trunk doesn't work with new version
yevgen_78 Aug 3, 2007 5:27 AM (in response to yevgen_78)i saw in html-source-code and found that with the new library the tree node has an onclick=" " method.
<table border="0" cellpadding="0" cellspacing="0" id="_id2:testTree:2:_id17" style="width: 100%;" rich:nodeId="_id17"><tbody><tr id="_id2:testTree:2:_id17:mainRow" onclick=" ">
with the old library no<table border="0" cellpadding="0" cellspacing="0" id="_id2:testTree:1:_id17" style="width: 100%;" rich:nodeId="_id17"><tbody><tr id="_id2:testTree:1:_id17:mainRow">
maybe this is a problem?
how i can configure the tree to fix the problem?
this is the tree-code from the trunk example jsp.<rich:tree id="tree" switchType="#{bean.switchType}" value="#{bean.data}" var="data" nodeFace="#{data.name != 'param-value' ? 'input' : 'text'}" changeExpandListener="#{bean.onExpand}" nodeSelectListener="#{bean.onSelect}" binding="#{bean.tree}" ajaxSubmitSelection="true" reRender="outputText, selectOneListbox" preserveModel="none" dragIndicator="treeIndicator" immediate="false" acceptedTypes="file1" dragType="#{bean.dragOn ? 'file1' : ''}" iconCollapsed="#{bean.iconCollapsed}" iconExpanded="#{bean.iconExpanded}" iconLeaf="#{bean.iconLeaf}" icon="#{bean.icon}" dropListener="#{bean.processDrop}">