Zone and content changment

2013-05-18 Thread Nomen Nomanum
I want to implement a scenario where based on clicked actionlink, zone updates it's content. Lets say I have stored some divs inside that zone, and I need trigger, videlicit checker to see what div to render. How to achieve this behavior?

Re: Logging advice on non interface service

2013-05-18 Thread Thiago H de Paula Figueiredo
On Fri, 17 May 2013 16:02:32 -0300, Boris Horvat horvat.z.bo...@gmail.com wrote: Hi all, Hi! Any ideas if I can make this work without creating an interface? Try decoration instead. Advice needs proxies, and proxies are only created for interface-based services. -- Thiago H. de

Re: Logging advice on non interface service

2013-05-18 Thread Boris Horvat
I dont suppose that will be as simple as @Match(*) public static T T decorateLogging(ClassT serviceInterface, T delegate, String serviceId, Logger logger, LoggingDecorator decorator) { return decorator.build(serviceInterface, delegate, serviceId, logger); } Well I tried this

Re: Logging advice on non interface service

2013-05-18 Thread Boris Horvat
Hm...strange this method of mine is not invoked, any idea as to why? On Sat, May 18, 2013 at 3:57 PM, Boris Horvat horvat.z.bo...@gmail.comwrote: I dont suppose that will be as simple as @Match(*) public static T T decorateLogging(ClassT serviceInterface, T delegate, String

RE: how to use HibernateEntityValueEncoder

2013-05-18 Thread Ken in Nashua
Joakim, Thank you for the suggestion. I was hoping for checkins on the framework I use but non yet. I am stuck until that happens. But I can unit test while stuck. I will try your suggestion... making a get/set displayableString() and just put toString() inside of it. The tapestry

Re: Passing parameters to Mixins

2013-05-18 Thread Boris Horvat
My bad everything is working, I was just bad at checking :( On Sat, May 18, 2013 at 8:35 PM, Boris Horvat horvat.z.bo...@gmail.comwrote: Hi all, I am not sure what am I doing wrong. div t:type=any t:mixins=jscrollpane t:options={scrollToElement:0} @Import(library =

Adding search service in Tapestry app

2013-05-18 Thread Nomen Nomanum
Hi. I am about to implement Hibernate Search +Lucene service in my Tap. Is there anything I should get in concern before doing it? How to wrap/decorate that service? And how could I make service to be injected? Thanks in reply.

Re: Adding search service in Tapestry app

2013-05-18 Thread Thiago H de Paula Figueiredo
On Sat, 18 May 2013 17:05:03 -0300, Nomen Nomanum getibi...@outlook.com wrote: Hi. I am about to implement Hibernate Search +Lucene service in my Tap. Hi! First of all, read this: http://tapestry.apache.org/defining-tapestry-ioc-services.html. Is there anything I should get in concern

Re: Adding search service in Tapestry app

2013-05-18 Thread Lance Java
Unfortunately, hibernate's Search.getFullTextSession(...) casts the session to a concrete type which fails if you pass the session singleton provided by tapestry-hibernate. Instead, you must do something like the following in your AppModule @Scope(ScopeConstants.PERTHREAD) public static

RE: Adding search service in Tapestry app

2013-05-18 Thread Nomen Nomanum
Thanks Thiago and Lance! I will try this and see what happens. Date: Sat, 18 May 2013 21:47:22 +0100 Subject: Re: Adding search service in Tapestry app From: lance.j...@googlemail.com To: users@tapestry.apache.org Unfortunately, hibernate's Search.getFullTextSession(...) casts the session

RE: how to use HibernateEntityValueEncoder

2013-05-18 Thread Ken in Nashua
Hey Joakim... I tried your suggestion... and it worked. I actually created an interface with a host of default methods that I am forcing down the hierarchy... one of which is displayableName. And I made it past the tapestry code... final PropertyAdapter propertyAdapter =