I have an object (Manager) with a list of another object (ActionItems). With both these objects I am using the CRUD module from which I override the Managers/show.html but I want to show all the action Items belong to a Manager on the same page. The ActionItems should only be available by selecting the manager object. How do I go about this?
public class Manager extends Model{
...
public List<ActionItem> actions;
...
}
public class ActionItem extends Model{
...
}
public class Managers extends CRUD{
}
There is no simple way to do this. More customization – more code.
Managers/show.html
Actions.java
Actions/blank.html
Something like this I did at your place.