By the way, I just wanted to add that I found the following snippet to be
quite helpful in producing URLs that link to the Isis entity (in your "...
extends Content {" class):
{code}
@Override
public Component newContentComponent(String id, ... model) {
final ComponentFactory componentFactory =
findComponentFactory(ComponentType.ENTITY_LINK, model);
return componentFactory.createComponent(id, model);
}
{code}
where
{code}
protected ComponentFactory findComponentFactory(final ComponentType
componentType, final IModel<?> model) {
return getComponentRegistry().findComponentFactory(componentType,
model);
}
protected ComponentFactoryRegistry getComponentRegistry() {
final ComponentFactoryRegistryAccessor cfra =
(ComponentFactoryRegistryAccessor) Application.get();
return cfra.getComponentFactoryRegistry();
}
{code}
On Thu, October 16, 2014 16:47, Dan Haywood wrote:
> Hi Andreas,
>
>
> ... and welcome to the mailing list.
>
>
> Yup, the views can be extended, and there are a couple of examples in the
> addons, [1], [2], [3]. Note that all the addons have a simple-to-run
> demo webapp (from which the screenshots are taken).
>
> There's also a page on our website explaining the API, [4]
>
>
> HTH, let us know how you get on.
>
>
> Cheers
> Dan
>
>
>
> [1] https://github.com/isisaddons/isis-wicket-excel
> [2] https://github.com/isisaddons/isis-wicket-fullcalendar2
> [3] https://github.com/isisaddons/isis-wicket-gmap3
> [4]
> http://isis.apache.org/components/viewers/wicket/customizing-the-viewer.ht
> ml
>
>
>
>
>
>
> On 16 October 2014 15:43, Lechner Andreas <[email protected]>
> wrote:
>
>
>> Hi,
>>
>>
>> I am new with Apache ISIS, and playing a litle bit around with it.
>> It looks very nice to me.
>>
>>
>> It is possible to create own Components for the View?
>> I am thinking to create a special template for a Data Table,
>> or to extend the functionaltiy who create such a Table for a Collection.
>>
>>
>> Are there simple examples to do it?
>>
>>
>> I have seen there are existing some AddOn's.
>> Is this the right way?
>>
>>
>> br Andreas
>>
--
Kevin
Ljubljana, Slovenia