How to resolve the rendered component in a mixin

2012-07-06 Thread mem
Hello, i'd like to extend some components with the ability to render certain nodes with an additional attribute which is then picked up in JS and used as a keybinding for shortcuts. So far i created a mixin which i preferably would like to put on any kind of component, in case of an EventLink it

Re: Tapestry jodatime module (based on jumpstart) ?

2012-07-06 Thread Alex Kotchnev
Geoff, thanks for allowing this. Jumpstart is such an invaluable resource for good examples, I would be very happy to add a small contribution that other people could use. Kalle, sounds like I have a project for the weekend. I'll probably commit the code over the weekend; however, I will

Re: Tapestry jodatime module (based on jumpstart) ?

2012-07-06 Thread Dimitris Zenios
I can also be a part of tapestry-jodatime if needed.We have jodatime integration into our tapestry application.All we had to do is contribute beanblock source and some coercers.Let me know if you need the source code. Regards Dimitris Zenios On Fri, Jul 6, 2012 at 1:37 PM, Alex Kotchnev

Re: Tapestry jodatime module (based on jumpstart) ?

2012-07-06 Thread Alex Kotchnev
Dimitris, I was thinking of starting w/ Geoff's Jumpstart code; however, if you already have a separate module that you've used in an application , and you are willing to contribute the code under the terms that Kalle described (e.g. license and what not), that would be even a better start.

Re: How to resolve the rendered component in a mixin

2012-07-06 Thread Muhammad Gelbana
I'm not sure if I understood your requirement correctly but I think you need to have a reference to the element on which the mixin is applied, correct ? You can use this: @InjectContainer private ClientElement clientElement; On Fri, Jul 6, 2012 at 10:22 AM, mem memcacher+tapes...@gmail.com

Re: Form getting resubmitted after an hour

2012-07-06 Thread Lance Java
This sounds like a push mechanism might be better than refreshing at an interval. I've recently released a beta for a push component based on CometD here https://github.com/uklance/tapestry-cometd I don't currently have a mechanism for stopping the subscription but it could be added quite easily.

Re: Tapestry jodatime module (based on jumpstart) ?

2012-07-06 Thread Dimitris Zenios
I dont have them in a separate module since in order for tapestry to have jodatime support is just two bean block sources and 2 coercers so i never though there was a need for creating a module.I always copy the files over to the new project.I can provide the source though.Will post it here

Re: How to resolve the rendered component in a mixin

2012-07-06 Thread Thiago H de Paula Figueiredo
Answering the question in the subject: @InjectContainer private Object parent; Actually, you can use any type you want, but an exception will be thrown if it the parent component isn't assignable to the field. -- Thiago H. de Paula Figueiredo

Form getting resubmitted after an hour

2012-07-06 Thread udnapp
In tapestry web page we are performing the operation which takes more than one hour and page refreshes and resubmits the form after that .I want to prevent the page from refreshing after 1 hr and is there any configuration parameter in tapestry which helps me avoid this issue.

Re: Form getting resubmitted after an hour

2012-07-06 Thread Michael Prescott
Do you know what's causing the resubmission? I don't quite understand the problem, can you provide more information? Are you automatically refreshing the page (say, after one hour), but you find that the refresh is resubmitting the form? It strikes me as slightly unusual that you'd have a