To implement this feature follow this process:
For the parent, add the triple ENT is a ENT Ability.DrillDownParent
For the child, add the triple ENT is a ENT Ability.DrillDownChild
This will provide a button for each child on the edit form for the parent, that navigates to the child grid which is restricted by the parent keys.
For this example will use a sample Enitty, Facture Entete Tablette, to inherit from DrillDownNavigation.
Gestion Tablette Offline.Facture Entete Tablette is a ENT Ability.DrillDownParent.
For the model set up an offline tablette build list. This list contains all the template generation functions for all the entities of the application.
After generating the offline tablette build list generate the Getion Tablette Offline Server:
Now go to eclipse. To import all of the generated function make right click and refresh to the java project.
Then run the Application Generator.
When the application is running do the following:
- Click in Application Settings and then click in apply.
- Click in Application Template, select Gen Folder and Generate Application. Wait for the message that all was generated.
Now make right click and refresh to the web project.
Run Tomcat server.