4 Replies Latest reply on Dec 14, 2010 7:54 AM by Lukáš Fryč

    RF4 - rich:tree - verbose tag names

    Lukáš Fryč Master
      Current names of tags for tree are (with exception of rich:tree) very verbose.
      Consider renaming of the tag names to short ones, my suggestion is:
      rich:treeNode
      rich:treeModelAdaptor -> rich:treeModel
      rich:treeModelRecursiveAdaptor -> rich:treeRecursive.
      Consider also adding the additional taglib in namespace tree:, where copies of semantically same components will reside:
      - tree:node
      - tree:model
      - tree:recursive
      Both of the suggestions can improve readability of XHTML code with complex structures.

      Current names of tags for tree are (with exception of rich:tree) very verbose.

       

      Consider renaming of the tag names to short ones, my suggestion is:

      rich:treeNode

      rich:treeModelAdaptor -> rich:treeModel

      rich:treeModelRecursiveAdaptor -> rich:treeRecursive.

       

      Consider also adding the additional taglib in namespace tree:, where copies of semantically same components will reside:

      - tree:node

      - tree:model

      - tree:recursive

       

      Both of the suggestions can improve readability of XHTML code with complex structures.

       

      See [1] rev. 20507 as current sample.

       

      [1] https://svn.jboss.org/repos/richfaces/trunk/examples/iteration-demo/src/main/webapp/treeModel.xhtml