1 2 Previous Next 18 Replies Latest reply on Nov 21, 2007 5:06 PM by ykravchenko Go to original post
      • 15. Re: question regarding rich:treeNode and a:support
        ykravchenko

        Dmitry thank you.

        As soon as my article is ready I'll place it on Wiki,
        Tanks for quick response

        Regards Yevgen Kravchenko

        • 16. Re: question regarding rich:treeNode and a:support
          dmitry.demyankov

          Looking forward to read the article :)

          • 17. Re: question regarding rich:treeNode and a:support
            nayanj

            Hi ykravchenko,

            Great find! I am glad my tree is not dancing anymore :)

            still wondering about the problem of text-alignment with checkbox (as you can see at http://www.weblogimages.com/v.p?uid=nayanj&pid=579581&sid=puQ23hksP3). Firebug shows following classes are applied to misaligned text

            .treeLabel {
             padding-left:10px;
             text-align:left;
            }
            .dr-tree-h-text {
             cursor:default;
             white-space:nowrap;
            }
            body {
             color:#362F2D;
             font-family:Verdana,Arial,Helvetica,sans-serif;
             font-size:small;
             line-height:1.25em;
            }
            


            and the rendered html looks like:
            <td id="treeForm:tree:2:categoryNode:text"
             class="dr-tree-h-text rich-tree-node-text treeNode"
             rich:highlightedclass="dr-tree-i-hl rich-tree-node-highlighted"
             rich:selectedclass="dr-tree-i-sel rich-tree-node-selected">
            
             <input id="treeForm:tree:2:categoryCheckbox" class="checkbox"
             type="checkbox" name="treeForm:tree:2:categoryCheckbox"
             onclick="A4J.AJAX.Submit('treeForm:treeRegion','treeForm',
             event, 'parameters':'treeForm:tree:2:j_id15':'treeForm:tree:2:j_id15'} ,
             'actionUrl':'/tree/example2.seam'} )"/>
            
             <span id="treeForm:tree:2:categoryText"
             class="treeLabel">Category 2</span>
            </td>
            


            • 18. Re: question regarding rich:treeNode and a:support
              ykravchenko

              It's hard to give any suggestions without actual peace of code. Still I would suggest you to try putting text and checkbox in div or span (h:panelGroup)

              Regards Yevgen

              1 2 Previous Next