Re: Missing registryIsGoingToShutdown notification

2009-12-16 Thread Kalle Korhonen
Then again, you'd have to be pretty careful about not doing any shutdown in registryIsGoingToShutdown - I see why the existing rule for didShutdown (don't use other services during shutdown) makes sense. In this case though, probably easiest to decorate HibernateSessionSource with the relevant logi

T5 Page Engine

2009-12-16 Thread Marcel Sammut
Greetings, I'm trying to create an "engine" in tapestry which is capable of determining which page to display and can also provide parameters. I currently have a tapestry 3 application which does this via the old tapestry.engine.AbstractService. What I've come across so far is using a Dispatche

Missing registryIsGoingToShutdown notification

2009-12-16 Thread Kalle Korhonen
I need to properly close an embedded database. There's RegistryShutdownListener but it only receives registryDidShutdown() event. I'm using Hibernate and I'd prefer using the database configuration given to Hibernate rather than establishing a separate connection just to shut it down, but the proxi

Re: T5 how to create another css style for t:grid?

2009-12-16 Thread Thiago H. de Paula Figueiredo
Em Wed, 16 Dec 2009 19:26:30 -0200, wesleywj2 escreveu: hi, Hi! I would like to create another css styles for t:grid use explicitly on certain page, how to achieve this? Just add a CSS file normally to your page. The Tapestry default CSS file is always added before any other. i trie

T5 how to create another css style for t:grid?

2009-12-16 Thread wesleywj2
hi, I would like to create another css styles for t:grid use explicitly on certain page, how to achieve this? i tried copy the default styles from T5 to another external css and modify, but it seems to take back the original. please advice, wesley -- View this message in context: http://old.na

Re: Christmas Wish List (was: Tapestry 5, JPA and Hibernate)

2009-12-16 Thread Piero Sartini
> The only reason I still use it is the transaction management. Having time to > implement something similar in Tapestry-IoC is in my wishlist > (tapestry-hibernate and @CommitAfter are not enough, as they're tied to > Hibernate), but I don't know when Santa will give me that . . . Yes.. transacti

Re: Help with Form Submission and OnActivate Handler

2009-12-16 Thread Thiago H. de Paula Figueiredo
Em Wed, 16 Dec 2009 13:47:09 -0200, Ashwanth Kumar escreveu: Sorry, I dont understand. I'm a newbie here. So, mind explaining what exactly i've to do? I've onPassivate() with no argument in my page too. Well, I haven't understood your problem, as I never had any problems with Form sub

Re: Help with Form Submission and OnActivate Handler

2009-12-16 Thread Ashwanth Kumar
Sorry, I dont understand. I'm a newbie here. So, mind explaining what exactly i've to do? I've onPassivate() with no argument in my page too. - Ashwanth On Wed, Dec 16, 2009 at 8:56 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Wed, 16 Dec 2009 13:08:59 -0200, Ashwanth K

Re: Help with Form Submission and OnActivate Handler

2009-12-16 Thread Thiago H. de Paula Figueiredo
Em Wed, 16 Dec 2009 13:08:59 -0200, Ashwanth Kumar escreveu: Hello, Hi! I've a small doubt! Why is that, when i've a onActivate (Integer) handler in a page, i'm not able to submit the form to the same page? You need to have an onPassivate() to return the pages's activation context. --

Help with Form Submission and OnActivate Handler

2009-12-16 Thread Ashwanth Kumar
Hello, I've a small doubt! Why is that, when i've a onActivate (Integer) handler in a page, i'm not able to submit the form to the same page? Is there any work around for this? - Ashwanth Kumar

Compatibility between tapestry 4.1.6 and tapestry 4.0.2

2009-12-16 Thread Jabbar
Hello all, I am currently using tapestry 4.0.2 and have found a memory leak. For some reason org.apache.tapestry.services.impl.ObjectPoolImp is 84MB in size, which is 67% of the heap space. It hold hundreds of page class instances. I've been using Apache Jmeter to simulate 14 concurrent users, ac

Re: T5 : Zone / Tapestry.windowUnloaded / Download link

2009-12-16 Thread cordenier christophe
Hi all, I insist on this point, but has anyone encounter this problem ? To be clear, it means that you can use a zone in a page that contains a download link without this annoying side effect. Does really the Ajax Request need to be disabled on window unload ? Shouldn't it be a parameter ? Regard

Re: T5 / Ajax / ID generation

2009-12-16 Thread Robin Komiwes
Already had this problem and I'm still asking myself if it is a good thing to not let the developper controls the clientId. I tend to think it should be the matter of the developper, not of the framework. On Tue, Dec 15, 2009 at 10:28 PM, Benny Law wrote: > Hi, sorry for jumping in, but I ran in

[ANN] equanda 0.9.5 released

2009-12-16 Thread Joachim Van der Auwera
equanda 0.9.5 has been released. For tapestry users the most important changes are - upgrade to tapestry 5.1.0.5. - new slider component which allows data entry using the slider or direct input. - new DeltaBar component which displays a from-to percentage grafical representation. Full release

Re: Christmas Wish List

2009-12-16 Thread Alessandro Bottoni
Il 15/12/2009 22:30, Kalle Korhonen ha scritto: > It's nice you mention Tynamo even though I've been rather careful > *not* to talk about it here yet before we have our house fully in > order. Ooops! I apologize for having unveiled your secret ;-) > Tapestry is the enabling technology for both T

Re: T5 / Ajax / What controls XHR ?

2009-12-16 Thread Kristian Marinkovic
the prototype library is setting a HTTP header that is processed by T5 to determine if the request is an AJAX request. the request should contain a header entry with: 'X-Requested-With': 'XMLHttpRequest' g, kris Inge Solvoll 16.12.2009 10:33 Bitte antworten an "Tapestry users" An Ta

Re: T5 / Ajax / What controls XHR ?

2009-12-16 Thread Inge Solvoll
Try analyzing the real request serverside. See RequestImpl.isXHR(). Check out which headers are set. On Wed, Dec 16, 2009 at 10:19 AM, Gunnar Eketrapp wrote: > Hi! > > We have trouble with zone updates via an ActionLink in Internet Explorer (7 > & 8). > And right now this is stopping is from lau

T5 / Ajax / What controls XHR ?

2009-12-16 Thread Gunnar Eketrapp
Hi! We have trouble with zone updates via an ActionLink in Internet Explorer (7 & 8). And right now this is stopping is from launchin our new site For some reason the request.isXHR() is fasle when the request comes from IE. A newbie question what so ever. What controls the XHR flag? It mu