Tapestry 4.1.2 LinkSubmit issue

2007-07-08 Thread VitalyA
Hi all, I know that LinkSubmit implementation was changed in the last snapshot of 4.1.2. Now javascript method call, which submit the form pass from href attribute to onclick attribute of the link. I have custom javascript method, which i want to call as a handler of onclick event before form subm

Re: T5 IoC: How to invoke a decorator method after the service method invoked

2007-07-08 Thread Joshua Jackson
Thanks for the reply Howard. What I'm trying to achieve here is to create a declarative transaction. So before the service method is invoked, I want to begin a transaction, and commit when the service method is finished. I'm going to try out the explanation you have given me. But I think I'm stil

(T4.1.2) Ajax enabled Table componet in T.1.2.

2007-07-08 Thread Jon Oakes
Hi Group, Forgive me if the answer is obvious, but I have searched using Google and have not found anything helpful. I am using Tapestry 4.1.2 on my first Tapestry project and I would like to use the table component but with Ajax updating. Ideally I would like to say something like async="tr

Re: T4.1.2 Survey: Is Selenium working for you?

2007-07-08 Thread Geoff Callender
Thanks, Jun, but are you using client-side validation AND Selenium TestRunner (as opposed to Selenium RC or Selenium IDE)? On 06/07/2007, at 12:08 PM, Jun Tsai wrote: I use selenium to test my ERP system based on T4.1.2. 2007/7/4, Geoff Callender <[EMAIL PROTECTED]>: A question for every

Re: [T5] Optional constraint in Validator?

2007-07-08 Thread Howard Lewis Ship
The fact that optional parameters worked in the past was unintentional. However it seems like a good idea, I'm just trying to think of the best way to implement it. I'd rather not add another method to the Validator interface, if possible ... in fact, I'm thinking of simplifying it (putting more

Re: T5 IoC: How to invoke a decorator method after the service method invoked

2007-07-08 Thread Howard Lewis Ship
The decorator creates the interceptor. The interceptor has the same interface as the service. The decorator is passed the service, which it can then provide to the interceptor. It's called the "delegate" (because it may not be the service, it may be another interceptor, but that's actually not

T5 IoC: How to invoke a decorator method after the service method invoked

2007-07-08 Thread Joshua Jackson
Hi all, Sorry for the long subject :-D. Ok straight to the point. I'm currently building a decorator for a Service. But the problem I'm facing is, the method inside the decorator is only invoked before the service method is invoked. What I want is the decorator method to be invoked before and af

Re: T5 - Changing Locale

2007-07-08 Thread yosemite
Your code worked for me, except I replaced ThreadLocale by PersistentLocale @Inject @Service("PersistentLocale") private PersistentLocale persistentLocaleService; then it works using e.g. persistentLocaleService.set(new Locale("fr")); Karel petros wrote: > > tapestry version 5.0.4 > > I ha