The value of the property rowsByDepth is being passed into the component. If an array of int is passed, i.e. rowsByDepth=#{myBean.arrayOfInts}", I get the expected output.

Thus, should the property value be converted to an array if int?
  Is this a bug?
  If so, I will file an issue.

Paul Spencer


Paul Spencer wrote:
Trinidad 1.2.9 & MyFaces 1.2.3

I want to use "rowsByDepth" to control the vertical space occupied by the tree. Below is the tag I am using to limit any level to 3 rows. It is adapted form the Tree Table example[1], but I am not seeing the pagination rows.

<tr:treeTable var="foo" value="#{enterprise.model}"
    rendered="true"
    rowsByDepth="3"
    initiallyExpanded="true"
    summary="Demo of treeTable"
    binding="#{enterprise.table}"
    >

Suggestions?

Paul Spencer

[1] http://www.irian.at/trinidad-demo/faces/components/treeTable.jspx


Reply via email to