On 21 February 2013 19:50, Kevin Meyer - KMZ <[email protected]> wrote:

> Hi Dan,
>


> I just need to figure out how to add create a new Isis Wicket viewer
> panel.. Is it true that all I need to do is create a file in
> "META-INF/services" called:
> "org.apache.isis.viewer.wicket.ui.ComponentFactory"
> that lists the full class name of my
> "CollectionOfEntitiesAsLocatablesFactory" implementation?
>
> yup, that's all you need to do.  It uses the little-used (but part of the
JDK) ServiceLoader API ... see ComponentFactoryRegistrarDefault


PS: There is a typo in your isis-wicket-gmap3 page, "... entities that
> have date properties  .." I'm sure should be "... have Locatable
> properties ..."
>

thanks, I'll fix.

Cheers


>
>
> On 20 Feb 2013 at 22:43, Dan Haywood wrote:
>
> > On 20 February 2013 19:52, Kevin Meyer wrote:
> >
> > > Sticking to the floor plan concept, only certain items are actually on
> a
> > > given floor, so the extension would need a way to specify "on map Z @
> > > location X,Y" (where Z is approximately equivalent to a single floor
> in a
> > > multilevel building). Then have the entities available as interactive
> > > Pojo's, just as if they were rendered in a list..
> > >
> >
> > In this case I think you ought to create your own equivalent of
> Locatable,
> > with that z axis.  You'll then want to have your own implementation of
> > "appliesTo" in the ComponentFactory for your component (again, see [1],
> > [2], [3]).  It's just a chain-of-responsibility pattern so all quite
> > straightforward.
> >
> > HTH
> > Dan
> >
> > [1] https://github.com/danhaywood/isis-wicket-gmap3
> > [2] https://github.com/danhaywood/isis-wicket-wickedcharts
> > [3] https://github.com/danhaywood/isis-wicket-fullcalendar
> >
>
>

Reply via email to