|Many Perspectives with same layout but different content [message #1403409]
||Wed, 23 July 2014 13:48
| Marina Knieling
Registered: February 2013
I need some hints / best practices on how to achieve the following:
My application shall have a 3-column layout with a big center column
(for lists and editors) and two smaller columns on each side (for main
navigation on the left and sub navigation / action links on the right).
Yes, I'm sort of mimicking a standard web layout.
Furthermore my application will have multiple perspectives that
represent different areas on which people can work. These perspectives
shall share the same layout (so the navigational columns share the same
width on all perspectives). The content of the left column won't change
during runtime (the main menu). The content of the right column changes
depending on the selected perspective (working area).
Ideally those columns shouldn't even be resizeable, but it's ok if they
are. But then they should have the same width on all perspectives, so
that the content doesn't "jump".
In addition I want to be able to minimize the two navigational columns
(I learned that this has impact on what to use as a SharedElement, see
The application is designed to be modular and all those different
perspectives shall come from different plugins.
I thought about using a "Shared Element" for the main menu as the
content doesn't change and is the same in all perspectives, but I'm not
sure whether only to use the Part as SharedElement or some Container
My first idea was even to use 3 PartSashContainers as SharedElements and
then simply put a Placeholder pointing to them in my contributed
Perspectives, but a) the containerData of the SharedElement is ignored
when using Placeholders and b) contributing to SharedElements via
Fragments makes the contributed items SharedElements as well. As a
result I would have to remove all existing elements before adding new ones.
I think there are many ways to achieve this, some more some less usable
and flexible. So, please, if you have any hints or experiences on how to
"best" or let's say "most flexible" achieve this, let me know or point
me to some resources.
The documentation about all those Placeholders, Areas and SharedElements
is not very extensive IMHO.
Thanks in advance
Powered by FUDForum
. Page generated in 0.01646 seconds