While defining the view entity, you may use group-by on the field aka alias
of the view entity.
Then you can add condition in the bottom using entity-condition in the
bottom of view entity definition.
See the view-entity ExampleStatusItem in the
/framework/example/entitydef/entitymodel_view.xml for partial understanding.
Also look into the
org.ofbiz.entity.model.ModelViewEntity.ViewEntityCondition, here you will
get idea how it will work.
HTH!
Rishi Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.comOn Wed, Jun 22, 2011 at 2:01 AM, Jacques Le Roux <
[hidden email]> wrote: