Thursday, December 5, 2013

Row status using expression language

Fast and easy to get row status using expression language:

#{row.row.entities[0].entityState == 0}

entities[0] where 0 is the entity index, if your view based on different entities you should consider this.

(0 = New, 2= Modified, 1 = Unmodified , -1 =  Initialized)

No comments:

Post a Comment