[Building Sakai] Ehcache in Wicket Archetype

Steve Swinsburg steve.swinsburg at gmail.com
Mon Nov 18 14:15:56 PST 2013


Hi Michael

Add a new cache bean in components.xml, inject into the bean of your choice
(see existing injection in project logic bean) and add a corresponding
setter in the impl.

Cheers
Steve

sent from mobile device
On 19/11/2013 7:22 AM, "Michael Mertins" <mertins at zedat.fu-berlin.de> wrote:

> Hi,
>
> I extended the Wicket maven archetype for my tool and noticed many of my
> daos have the same ID (all types start with 1 and increment) so I want to
> use multiple ehcache.Cache-objects.
> When I tried to just add another Cache+Setter in ProjectLogicImpl I got
> errors. Where can I configure the caches? Can't find an ehcache.xml and
> don't know if I should touch components.xml...
>
> Maybe someone can give a hint...
>
> Btw. developing with on Sakai with Wicket has been a blast so far :o)
>
> Best regards,
>
>
> Michael
>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20131119/70efdd4a/attachment.html 


More information about the sakai-dev mailing list