We have to implement an admin web site for entering / editing our static
data in the DB. The data is hierarchical. Lets take a company example.
We will have Company entity (DB table), the company will have children
entities - Department, it will again have children - Employee, and again
it will have children entities Job. Some of these will be many to many
relations. So the entities (DB tables) looks like:
Company->Department->Worker->Job.
We need a UI which can be used to easily enter and edit this data. We
have two possibilities for UI:
1. Sub-dialogs
We will need following work-flow:
- Create / Edit Company
- In the edit Company page the Department children should be displayed
- Add a new Department for this company, or edit existing. This
should open a sub-dialog.
- From the Department sub-dialog there should be a possibility to
edit its children entities - Employee or add new ones
- etc.
2. Clickable Breadcrumb
Similar to above, but instead of opening new sub-dialog every time, a
new page will be opened. Using the breadcrumb the user can navigate
back. So if the user is editing a Employee the breadcrumb will look like:
Company 1 -> Department 1 -> Employee 1
Using the breadcrumb the user can navigate back to "Company 1" or
"Department 1".
------
Do you think this can be easy achieved with Apache ISIS. It will be very
helpful if you can provide some guidance or examples.
Thanks in advance.