Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-22 Thread Alex Kotchnev
Dmitry, I have a suspicion that every once in a while my app gets started on some messed up server that has a problem . Every once in a while, when I load a new version of the app, it starts doing this. Often times, if I give it some extra time after the upload and before the first request after

Re: Why can't component classes be abstract? [5.1]

2010-02-22 Thread Thiago H. de Paula Figueiredo
On Mon, 22 Feb 2010 21:57:22 -0300, Hilco Wijbenga wrote: On 22 February 2010 12:48, Howard Lewis Ship wrote: In all cases where Tapestry needs to access the field, such as to synchronize its value with the session, it bypasses getters and setters (either yours, or those generated by @Prope

Re: Why can't component classes be abstract? [5.1]

2010-02-22 Thread Hilco Wijbenga
On 22 February 2010 12:48, Howard Lewis Ship wrote: > In all cases where Tapestry needs to access the field, such as to > synchronize its value with the session, it bypasses getters and > setters (either yours, or those generated by @Property) and updates > the field directly. So what happens if

Re: Why can't component classes be abstract? [5.1]

2010-02-22 Thread Howard Lewis Ship
Nope, @Property is completely for your convienience, typically so you can reference a value (or injected service, component or whatnot) directly from a template using a property expression. In all cases where Tapestry needs to access the field, such as to synchronize its value with the session, it

T5.2 on GAE post

2010-02-22 Thread Ben Dotte
I just put up a post talking about running Tapestry 5.2 on GAE: http://bdotte.blogspot.com/2010/02/running-tapestry-52-snapshot-on-google.html A lot of this has already been discussed on the list and other posts; I just went into a little more detail on modifying the batch and ant scripts provide

Re: Why can't component classes be abstract? [5.1]

2010-02-22 Thread Andy Pahne
Am 22.02.2010 16:20, schrieb Piero Sartini: Yeah, I understand the limitation. But how should I access a property which is defined in my base class in one of the subclasses with these limitations? Just don't use @Property - provide getXXX and setXXX methods. As far as I understand, I

[Tapestry Central] March of Progress

2010-02-22 Thread Howard
Or should that be "Late February of Progress". I have to say I'm a bit envious right now of Rich Hickey ... I can see that he's continuing on like a steam roller, extending and improving Clojure. I guess he's having some success in generating Research and Design budget from funding companies. I can

Re: URL Rewriter to support rewriting port

2010-02-22 Thread Andreas Andreou
even better then :) On Mon, Feb 22, 2010 at 19:54, Thiago H. de Paula Figueiredo wrote: > On Mon, 22 Feb 2010 14:46:38 -0300, Andreas Andreou > wrote: > >> or write a filter that is chained before Tapestry's and decorates the >> httpServletRequest >> in order to provide customized values (which

Re: URL Rewriter to support rewriting port

2010-02-22 Thread Thiago H. de Paula Figueiredo
On Mon, 22 Feb 2010 14:46:38 -0300, Andreas Andreou wrote: or write a filter that is chained before Tapestry's and decorates the httpServletRequest in order to provide customized values (which i think is a common practice for stuff like stripping out jsessionids from urls, or when tomcats are

Re: URL Rewriter to support rewriting port

2010-02-22 Thread Andreas Andreou
or write a filter that is chained before Tapestry's and decorates the httpServletRequest in order to provide customized values (which i think is a common practice for stuff like stripping out jsessionids from urls, or when tomcats are behind proxies, e.t.c.) On Mon, Feb 22, 2010 at 19:21, Thiago H

Re: URL Rewriter to support rewriting port

2010-02-22 Thread Thiago H. de Paula Figueiredo
On Mon, 22 Feb 2010 14:08:38 -0300, Vassilis Bekiaris wrote: Hi all, Hi! Could you please advise if there is any way to achieve rewriting the port in Tapestry as is or should I file a bug on the issue? Please file a bug. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapes

URL Rewriter to support rewriting port

2010-02-22 Thread Vassilis Bekiaris
Hi all, I am using Tapestry 5.1.0.5 for a facebook application (which means that the Tapestry application is rendered within an iframe provided by facebook). Facebook applications have URLs of the form: http://apps.facebook.com/appName Facebook will adjust the iframe source attribute so that

Tapesty Testify Tapestry360 missing dependency

2010-02-22 Thread olip
Hi everyone, I am desperately tring to get the tapestry testify to work (http://tapestry.formos.com/nightly/tapestry-testify/) I have tried incoperating the normal pom and the dev version (see http://tapestry.formos.com/nightly/tapestry-testify/) I always get an : [WARNING] An error occurred

Re: Is there a way of knowing if Tapestry is page rendering or event handling (was: Page render & event URLs with large optional context parameter)

2010-02-22 Thread Thiago H. de Paula Figueiredo
On Mon, 22 Feb 2010 13:05:52 -0300, Blower, Andy wrote: Thanks for the reply Thiago. I'm pretty familiar with the methods in CELE (as I call it) but I'm not seeing what you're getting at. Is there something that Tapestry puts in the environment? AFAIK, no. You can file a JIRA for that.

RE: Is there a way of knowing if Tapestry is page rendering or event handling (was: Page render & event URLs with large optional context parameter)

2010-02-22 Thread Blower, Andy
Thanks for the reply Thiago. I'm pretty familiar with the methods in CELE (as I call it) but I'm not seeing what you're getting at. Is there something that Tapestry puts in the environment? If I'm adding my own mechanism I'll be going with a simple Boolean flag in the page class that's set to tr

Re: Why can't component classes be abstract? [5.1]

2010-02-22 Thread Thiago H. de Paula Figueiredo
On Mon, 22 Feb 2010 12:21:22 -0300, Andy Pahne wrote: Also abstract getter/setters won't work. (Although they used to work in T4. T4 could instantiate page or component classes, even if they werde abstract). T4 is a completely different codebase, another architecture. T5 transforms cla

Re: Why can't component classes be abstract? [5.1]

2010-02-22 Thread Piero Sartini
> Yeah, I understand the limitation. But how should I access a property which > is defined in my base class in one of the subclasses with these limitations? Just don't use @Property - provide getXXX and setXXX methods. > As far as I understand, I cannot make my base classes property protected, >

Re: Why can't component classes be abstract? [5.1]

2010-02-22 Thread Andy Pahne
Am 22.02.2010 15:34, schrieb Thiago H. de Paula Figueiredo: I am really wonderung why an abstract class cannot be used as component (page) class. Because it needs to be instantiated. The reason why I am wondering: Let's suppose I have a few pages with some shared functionality. I'd like to

Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-22 Thread Thiago H. de Paula Figueiredo
On Mon, 22 Feb 2010 11:48:46 -0300, Muhammad Mohsen wrote: Thiago, Hi! I'm not absolutely sure, but I think tapestry's registry uses this service to invoke it's modules in threads.. It doesn't. Even if it did, it would only happen once, when the application is started, not when handl

Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-22 Thread Muhammad Mohsen
Thiago, * "..**ParallelExecutor* * service uses a thread pool.."* *"..**public interface **ParallelExecutor

Re: Why can't component classes be abstract? [5.1]

2010-02-22 Thread Thiago H. de Paula Figueiredo
On Mon, 22 Feb 2010 11:33:56 -0300, Andy Pahne wrote: I am really wonderung why an abstract class cannot be used as component (page) class. Because it needs to be instantiated. The reason why I am wondering: Let's suppose I have a few pages with some shared functionality. I'd like to

Why can't component classes be abstract? [5.1]

2010-02-22 Thread Andy Pahne
I am really wonderung why an abstract class cannot be used as component (page) class. The reason why I am wondering: Let's suppose I have a few pages with some shared functionality. I'd like to create a base class: public abstract class BasePage{ @Property private Object someProp;

Re: Is there a way of knowing if Tapestry is page rendering or event handling (was: Page render & event URLs with large optional context parameter)

2010-02-22 Thread Thiago H. de Paula Figueiredo
On Mon, 22 Feb 2010 10:20:59 -0300, Blower, Andy wrote: So, how can I detect if Tapestry is rendering (and which page) from within the pages' onPassivate method? Take a look at the decode* methods in ComponentEventLinkEncoder. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tape

Is there a way of knowing if Tapestry is page rendering or event handling (was: Page render & event URLs with large optional context parameter)

2010-02-22 Thread Blower, Andy
Hi, and thanks for your reply to my previous enquiry Kalle. I have too many render links being generated to want to do that, but it did help me step back and come at the problem from a different angle. So what I'm thinking of now is having onPassivate only add the extra (optional) bit of the ac

Re: GAE & T5 : Passing a request to the T5 pipeline from a servlet

2010-02-22 Thread Dmitry Gusev
Alex, I haven't tried blobstore service yet, I was using Task Queue API and I got situation when requests were not processed - my page's onActivate wasn't called and I thought this is the same issue you had with blobstore. As I wrote, in my case the issue why onActivate haven't been called was cau

Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-22 Thread Dmitry Gusev
Hi, 10 seconds limit is the limit of URLFetchService. Regular request (like browser's request for asset) have 30 seconds limit. It may however took too long time for your app to startup then timeout issue may occur. Have you tried to debug assets loading using firebug? On Mon, Feb 22, 2010 at 13

Re: [T5] Missing dependency "tapestry360-project"

2010-02-22 Thread Paul Field
FYI, I raised this in the Tapestry-360 JIRA a few weeks ago: http://tapestry.formos.com/jira/browse/INFRA-17 The entire com/formos tree in the repository had been deleted (I had to recreate the tapestry-xpath and tapestry-testify releases - but I can't do anything about the rest). Paul Howard

Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-22 Thread Alex Kotchnev
Muhammad, regarding T5 & serving assets : are you saying that if you map the application version (e.g. app-version) to a static number instead of the one generated by T5, you stop getting the intermittent asset access problem ? My problem is that assets do get served (they're not blocked);

Re: GAE & T5 : Passing a request to the T5 pipeline from a servlet

2010-02-22 Thread Alex Kotchnev
Dmitry, I was unable to get this to work properly. I was able to get the blobstore API working on the Dev server as I wanted ( SwfUploader uploading multiple to the same URL of my servlet, and then my servlet dispatching to the blobstore specified URL). However, when I put it up on the GAE infra

RE: Radio buttons not inclosed in a tag

2010-02-22 Thread Eldred Mullany
Hi Uli Many thanks. What I wanted to achieve was an intercepting screen that gives the user two options, a bulk store upload or a single store upload, when the user clicks on either radio buttons a client side event is fired using the zoneUpdater example as illustrated on the jumpstart website

Re: Radio buttons not inclosed in a tag

2010-02-22 Thread Ulrich Stärk
You can't. Use the Any component and let it render out a radio button if all you want to do is capture the client side event, i.e. you don't want a form to be submitted. For a more differentiated answer we'd need more information about your use case. Cheers, Uli On 22.02.2010 10:10 schrieb El

Radio buttons not inclosed in a tag

2010-02-22 Thread Eldred Mullany
Hi Everyone I have a two radio buttons with a client event attached two them (mixin). Each onClick fires different methods How can I render these components without a form tag ? Many thanks > Eldred Mullany EasyPay - Web Developer Tel (reception): +27 (2