Re: Dynamic form

2010-09-17 Thread Антон Мезерный
And what is the best way to create such a dynamic form? Using Delegate component or modifying beaneditform? Or maybe there is better approach? I tried to write it using Delegate and I have a problem - I can't get component instance from ComponentSource - Exception: org.apache.tapestry5.internal.s

Re: how to cleanup threads when tapestry shutsdown

2010-09-17 Thread Howard Lewis Ship
Added to FAQ: https://cwiki.apache.org/confluence/display/TAPESTRY/Frequently+Asked+Questions#FrequentlyAskedQuestions-Myservicestartsathread%3BhowdoIknowwhentheapplicationisshuttingdown%2Ctostopthatthread%3F On Fri, Sep 17, 2010 at 2:33 PM, Howard Lewis Ship wrote: > This is not a discussion f

Re: [T5.2] JavaScript combination

2010-09-17 Thread Howard Lewis Ship
On Fri, Sep 17, 2010 at 9:20 AM, Blower, Andy wrote: > A few questions: > > Is there any documentation of the new JavaScript combination functionality > added to fix TAP5-769 in 5.2, specifically about stacks? I can't see any, but > before I dive into code/javadoc I thought I'd ask. Well, there

Re: URL to file

2010-09-17 Thread based2
http://wiki.apache.org/tapestry/Tapestry5HowToStreamAnExistingBinaryFile == http://wiki.apache.org/tapestry/Tapestry5HowTos == http://wiki.apache.org/tapestry/Tapestry5OpensourceApps == http://wiki.apache.org/tapestry/Tapestry5ModuleRegistry http://people.apache.org/~uli/tapestry-site/frequently-

Tapestry world tour: San Francisco, London

2010-09-17 Thread Howard Lewis Ship
Just a reminder. I'll be presenting the Tapestry State of the Union at JavaOne: Mon Sep 20 8:30 PM Moscone South room 309 In addition, I'll be teaching a FOUR day Tapestry class for SkillsMatter, starting October 5th. This is an expanded and improved version of my Tapestry Workshop; it now incl

Re: T5.1: componentSource with an activation context

2010-09-17 Thread Thiago H. de Paula Figueiredo
On Fri, 17 Sep 2010 12:58:52 -0300, Jack Nuzbit wrote: Hi, Hi! Is there a way to create Pages and initialise their activation context at a service level? I'm curious about what you're trying to accomplish here. :) Is there a way I can set an activation/event context in this component

Re: Blog post about T5 data access layer implementation in GAE

2010-09-17 Thread Dmitry Gusev
Thanks, Michael I updated the post. I've heard about Objectify before, but never used it. On Fri, Sep 17, 2010 at 19:35, Michael Gentry wrote: > Hi Dmitry, > > You mention there are two ways to communicate with the GAE datastore > from Java, but there is at least one more: > > http://code.googl

[T5.2] JavaScript combination

2010-09-17 Thread Blower, Andy
A few questions: Is there any documentation of the new JavaScript combination functionality added to fix TAP5-769 in 5.2, specifically about stacks? I can't see any, but before I dive into code/javadoc I thought I'd ask. Why aren't the prototype & scriptaculous libraries combined into a stack b

T5.1: componentSource with an activation context

2010-09-17 Thread Jack Nuzbit
Hi, Is there a way to create Pages and initialise their activation context at a service level? ComponentSource can give me Component instances but casting it to my page instance results in a ClassCastException due to the different classloaders. Is there a way I can set an activation/event context

Re: Blog post about T5 data access layer implementation in GAE

2010-09-17 Thread Michael Gentry
Hi Dmitry, You mention there are two ways to communicate with the GAE datastore from Java, but there is at least one more: http://code.google.com/p/objectify-appengine/ I haven't looked into it in detail, but thought I'd mention it for yourself and others who might have an interest. mrg On We

Re: SendRedirect is giving NullPointerException

2010-09-17 Thread Thiago H. de Paula Figueiredo
On Fri, 17 Sep 2010 08:25:14 -0300, Duruk_Kab wrote: Hi, Hi! I have migrated my application recently from Tapestry 5.0.18 to 5.1.0.5. I was handling session in my application previously (5.0.18) as: If (!visitExists) { sessionState.setSessionExpired(false); _reqestGlobals.getResponse

Re: NPE in getSession of an anonymous Request class?

2010-09-17 Thread LLTYK
Well it boiled down to the commented out line below. I changed the forward to the requestGlobals one and it works. try { requestGlobals.getResponse().sendRedirect("nontapestrypage.html"); //request.getRequestDispatcher("nontapestrypage.html").forward(request, response);

SendRedirect is giving NullPointerException

2010-09-17 Thread Duruk_Kab
Hi, I have migrated my application recently from Tapestry 5.0.18 to 5.1.0.5. I was handling session in my application previously (5.0.18) as: If (!visitExists) { sessionState.setSessionExpired(false); _reqestGlobals.getResponse().sendRedirect(pageName); // start page } but this is not work

Re: [T5.2] Tapestry IoC Configuration (remove?)

2010-09-17 Thread Michael Dukaczewski
Hi Howard and all, thanks for your reply. I am always impressed how flexible Tapestry is. The activation of the compression for JSON worked, but I was struck by TAP5-469 and started some research. Regarding your blog post (http://tapestryjava.blogspot.com/2009/04/is-gzip-compression-compatible-wit