logo
logo
Sign in

How to list an entity in wuija with prefiltration

avatar
david nick

In this small tutorial we will try to clarify a bit how you could prefilter a list about an entity in wuija .

ListController is a valid generic controller for any type of class (ListController ) that has a Widget (CriteriaQueriedDataTable ) inside it that what it does when initialized (in init ()) is to paint a table with all the records that exist in the database of the entity that we have passed as a parameter,

putting the attributes of the entity in the first row of the table.

It also paints us a search engine that allows us to search for the attributes (whatever type they are) that we configure (configureProperties ()) of the entity and filter the results …

Add extra functionality without altering the above

In the generic controller we find the following logic in the init method:

collect
0
avatar
david nick
guide
Zupyak is the world’s largest content marketing community, with over 400 000 members and 3 million articles. Explore and get your content discovered.
Read more