Здравей Мартин,

thanks for the helpful info!

On 12/15/2014 10:10 PM, Martin Grigorov wrote:
Здравей Борис!

You can also take a look at
https://github.com/isisaddons/isis-app-kitchensink/tree/master/dom/src/main/java/org/isisaddons/app/kitchensink/dom/hierarchy


Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Dec 15, 2014 at 8:20 PM, Boris Toninski <[email protected]
wrote:

Hi Jeroen,

thanks a lot for the quick reply. I will start looking at Estatio as you
have suggested.

________________________________________
From: Jeroen van der Wal <[email protected]>
Sent: Monday, December 15, 2014 7:52 PM
To: users
Subject: Re: Is Apache ISIS suitable for hierarchical data administration

Hi Boris,

Welcome on the mailing list!

The first possibility you describe is a typical scenario for an Apache Isis
application. In Estatio we have hierarchical patterns everywhere, you can
start investigating Property->Unit in the asset module.
Lease->LeaseItem->LeaseTerm [2] is also interesting.

After you have implemented scenario 1 it wouldn't be too difficult to
create a breadcrumb which traverses up the hierarchy.

Kind regards,


Jeroen

[1]

https://github.com/estatio/estatio/tree/master/dom/src/main/java/org/estatio/dom/asset
[2]

https://github.com/estatio/estatio/tree/master/dom/src/main/java/org/estatio/dom/lease




On Mon, Dec 15, 2014 at 6:11 PM, Boris Toninski <
[email protected]
wrote:

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.


Reply via email to