Hi,

I've made a little progress with this tabs idea, but hard going for me I
have to admit. I've followed the instrutions at [1] and have to implement
my own version of
org,apache.isis.viewer.wicket.ui.components.entity.properties.EntityPropertiesForm

To enable a specific entity type 'Participant' page to use tabs.

I think I can use the 4 column layout to assist such that columns 2-4 will
become separate tabs as well as each collection in a tab, leaving column 1
with the General group.

There is a Wicket dynamic tabs implementation here:
https://gist.github.com/jonnywray/967659

That might not be needed in my case as I know what tabs are required for
the Participant entity, but might prove useful in more general cases.

I mention this in case there is someone seeking a challenge to help get
this working (and a chance to probe the inner workings of the Wicket
Viewer). If so my project is here:
https://github.com/Stephen-Cameron-Data-Services/isis-chats.
<https://github.com/Stephen-Cameron-Data-Services/isis-chats>

I can explain further where I am at with it, but starting here is ideal:
https://github.com/Stephen-Cameron-Data-Services/isis-chats/blob/master/webapp/src/main/java/au/com/scds/isis/viewer/wicket/ui/components/entity/properties/MyEntityPropertiesForm.java
line 144

Regards
Steve C





On Tue, Jul 7, 2015 at 7:34 PM, Dan Haywood <[email protected]>
wrote:

> A very early version of the Wicket viewer had tabs, to separate out the
> properties from the collections; but this predates all the member
> groups/layout stuff we have now.
>
> Even so, the architecture of the Wicket viewer would support this [1], and
> it is something that we intend to introduce, in some form or another.  One
> obvious idea is to extend the layout syntax so that a domain object's
> properties and collections could be laid out across multiple tabs.  Another
> use of tabs is to display alternative views of the entity (the same way
> that we support alternative views of collections, eg gmap3 [2] or
> fullcalendar2 [3]).
>
> To throw into the mix, we also have the idea of using tabs as a different
> way of doing bookmarks (ie multiple objects "open").  The .NET Naked
> Objects viewer works this way, and it's - arguably - a better UI
> experience.  Or at least, more familiar.
>
> One solution might be to use horizontal tabs for bookmarks, and then
> vertical tabs for different regions of an entity.  However, this would eat
> up the real estate.
>
> Or, we could have horizontal tabs under horizontal tabs.  But that might be
> confusing to users.
>
> Interested in your thoughts...
>
> Cheers
> Dan
>
>
> [1]
>
> http://isis.apache.org/guides/ug.html#_ug_extending_wicket-viewer_replacing-page-elements
> [2] https://github.com/isisaddons/isis-wicket-gmap3
> [3] https://github.com/isisaddons/isis-wicket-fullcalendar2
>
>
> On 7 July 2015 at 10:01, Stephen Cameron <[email protected]>
> wrote:
>
> > Hi, I am interested to know if there are tabbed panels sre available in
> > Isis?
> >
> > I cannot see them in the current wicket viewer jar, but can find
> references
> > to them being there in earlier versions maybe?
> >
> > Perhaps not sufficiently 'naked' and rejected?
> >
> > Thanks
> > Steve Caneron
> >
>

Reply via email to