Re: [SOLVED] T5.1.0.5 on JBoss 5.1.0 = no standard components

2009-10-31 Thread Janko Muzykant
ok, I found solution for JBoss 5.1.0. It's enough to use the same url converter that Geoff pointed out and add "-Djboss.vfs.forceCopy=false" to JBoss JAVA_OPTS. At least, it solved the problem for me :) enjoy, m. Janko Muzykant wrote: > > thanks for this hint. i tried to adjust ClassPathURLCo

Re: T5:how to support AJAX submit

2009-10-31 Thread Inge Solvoll
You can't use Ajax.PeriodicalUpdater, you need to submit the zone form the tapestry way, doing the periodical stuff manually. See: http://api.prototypejs.org/language/periodicalexecuter.html I created a javascript function for manually submitting a zone form. These 2 things together should get you

Re: Getting ServletContext inside service

2009-10-31 Thread Benny Law
That depends on how your service is managed. I bind my service using the static binder in AppModule and use constructor arguments to inject what I need into my service object, and this works for me. Benny On Sat, Oct 31, 2009 at 4:47 AM, Stefan wrote: > Thanks Benny, > > i've tried that too, bu

Re: Tapestry 5 and Clojure

2009-10-31 Thread Howard Lewis Ship
I suppose you could use Clojure for back end logic that is traditionally implemented as IoC services. Using proxy and/or genclass, you might even be able to have Clojure functions be the implementation of service interfaces. If you are saying "can I implement pages and components in Clojure" I wo

Tapestry 5 and Clojure

2009-10-31 Thread Sergey Didenko
Can anyone advise best practices on using Tapestry 5 with Clojure? Tapestry 5 is a good choice if I want to use Clojure widely, isn't it? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-

Re: Getting ServletContext inside service

2009-10-31 Thread Stefan
Thanks Benny, i've tried that too, but it does not work. The context is null. Here's how i do it: @Inject private org.apache.tapestry5.services.Context context; Should that work? Stefan Am 30.10.2009 um 23:50 schrieb Benny Law: Hi Stefan, Try injecting org.apache.tapestry5.services.Cont

Re: currentLocale vs persistentLocale

2009-10-31 Thread Gunnar Eketrapp
And here is the relevant part from PPGK /** * Check the rights of the user for the page requested * * @throws IOException */ public boolean checkAccess(String pageName, Request request, Response response) throws IOException { boolean canAccess = true;

Re: currentLocale vs persistentLocale

2009-10-31 Thread Gunnar Eketrapp
Hi! This morning I made a test since I suspected that it was the introduction of the ProtectedPageGateKeeper that hade sideeffects on the locale handling. When I removed the PPGK everyhting worked as normal! So now I am investigating why the PPGK dispacther interferes with T5's locale handling.