Re: [5.3.6] Services shutdown order

2013-04-04 Thread Robert Hailey
Have you tried something like this (attached)? -- Robert Hailey WARNING: Quick hack, totally untested, absolutely no warranty. OrderedShutdownHubImpl.java Description: Binary data On 2013/04/04 (Apr), at 5:01 PM, Muhammad Gelbana wrote: > I've raised the question before but I've reached a

[5.3.6] Services shutdown order

2013-04-04 Thread Muhammad Gelbana
I've raised the question before but I've reached a point where I must resolve this. Since the RegistryShutdownHub doesn't offer ordering to call registered will-shutdown/shutdown listeners, has anyone managed to order the shutdown process of his application ? I need to shutdown my services before

Re: Registry will shutdown listener not invoked

2013-04-04 Thread Muhammad Gelbana
That was it ! Shutdown listener runnables aren't threaded when called. I know the interface Runnable isn't obligated to be executed withing threads but I guess since tapestry honors coding through convention, a clear heads-up for this behavior would be great in the docs. Unless I missed it ! Thank

Re: Registry will shutdown listener not invoked

2013-04-04 Thread Muhammad Gelbana
I've been thinking I may know the reason for what I'm facing but to make sure I need to confirm something after looking into this piece of code: org.apache.tapestry5.ioc.internal.services.RegistryShutdownHubImpl.fireRegistryDidShutdown() This method calls the shutdown listeners one after another,

Re: Mixin to overwrite input field value?

2013-04-04 Thread Thiago H de Paula Figueiredo
On Thu, 04 Apr 2013 12:16:37 -0300, Dmitriy Vsekhvalnov wrote: ..and to complicate things more: T5.1.0.18 ? :) don't ask me to upgrade, i'm locked, because tapestry never compatible with previous versions. Trolling or repeating way old stuff won't get you much help here. Anyway, the answe

Re: Mixin to overwrite input field value?

2013-04-04 Thread Dmitriy Vsekhvalnov
..and to complicate things more: T5.1.0.18 ? :) don't ask me to upgrade, i'm locked, because tapestry never compatible with previous versions. On Thu, Apr 4, 2013 at 5:07 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 04 Apr 2013 09:37:12 -0300, Dmitriy Vsekhvalnov < > d

Re: Live support solution

2013-04-04 Thread Taha Siddiqi
I recently worked on a tapestry + cometd project. I didn't use the module. Just created a simple integration and then used standard cometd library documentation to create a full chat app. It was easy and I am more than satisfied with the result. For integration you can have a look at http://ta

Re: Mixin to overwrite input field value?

2013-04-04 Thread Thiago H de Paula Figueiredo
On Thu, 04 Apr 2013 09:37:12 -0300, Dmitriy Vsekhvalnov wrote: Little bit confused.. can mixin bind translator to textfield? Check @BindParameter Or can translator attach javascript after render? Yes, you can. See Validator.render(Field field, C constraintValue, MessageFormatter forma

Re: Live support solution

2013-04-04 Thread Tom Nys
First of all, i need 1 on 1 chat between a client and a person from my helpdesk. A lot of our system works on session variables and giving info trough via the url. I found out that when tapestry-cometD is working in my sidebar (a component) it triggers the OnPassivate function of the page it i

Re: Mixin to overwrite input field value?

2013-04-04 Thread Dmitriy Vsekhvalnov
Little bit confused.. can mixin bind translator to textfield? Or can translator attach javascript after render? I'll give example of what i want in general: which should attach JS to textfield to allow masked input with given mask, but bind unmasked value to profile.phone property. On Thu, A

Re: Live support solution

2013-04-04 Thread Thiago H de Paula Figueiredo
On Thu, 04 Apr 2013 05:20:52 -0300, Tom Nys wrote: Hi there, Hi! I’m developing a website in tapestry and trying to implement live support (1 on 1). I tryed implementing tapestry-cometD but it doesn’t support some of the functions already implemented on my pages. Your question is t

Re: Mixin to overwrite input field value?

2013-04-04 Thread Geoff Callender
Have you looked into using a translator instead of a mixin? http://jumpstart.doublenegative.com.au/jumpstart/examples/input/contributingtranslators Example (4) in http://jumpstart.doublenegative.com.au/jumpstart/examples/input/augmentingtranslators Geoff On 04/04/2013, at 9:40

Mixin to overwrite input field value?

2013-04-04 Thread Dmitriy Vsekhvalnov
Hi everyone, is it possible to have mixin which will intercept form submission (on T5 side, not in browser) and overwrite input field value coming from client, before the value bound to input's property? I'm using maskedit mixing for inputs, but for some values i want unmasked data to go to dat

Live support solution

2013-04-04 Thread Tom Nys
Hi there, I’m developing a website in tapestry and trying to implement live support (1 on 1). I tryed implementing tapestry-cometD but it doesn’t support some of the functions already implemented on my pages. Are there any others i can try to implement? Greets Runesmacher