Menu

Using nested objects with forEach groupby.

2014-03-26
2014-06-12
  • Jeff Steele

    Jeff Steele - 2014-03-26

    Is it possible to use nested objects in the foreach tags group by field. For example person.name where person is a bean inside of the object being looped over and name is the item I really want to group on?

     
  • Mark Vejvoda

    Mark Vejvoda - 2014-03-29

    Same question for the orderBy, i thus far am not able to order by something like this:
    ordeBy="employee.dateContainer.birthday"

    Only top level properties seem to work, not embedded beans.

     
  • Randy Gettman

    Randy Gettman - 2014-04-04

    JETT uses jAgg to perform its "group by" operations, and jAgg currently doesn't have the capability of accessing nested beans. I also created jAgg, so I can do something about it! There is an open ticket in jAgg, #5, that suggests two possible ways of adding this capability. I'm not sure which I'll choose yet (or possibly both?).

    If/when I can get around to it in jAgg, then I'll have JETT use that next version of jAgg so that JETT can use that functionality too.

     
  • Mark Vejvoda

    Mark Vejvoda - 2014-06-12

    This works now in 0.7.0, thanks

     

Log in to post a comment.