Re: [T5.2.6] Component class transformation on initialized private instance fields

2012-01-05 Thread Thiago H. de Paula Figueiredo
On Thu, 05 Jan 2012 03:35:53 -0200, robert baker wrote: Hi all, Hi! When a page/component is transformed (in version 5.2.6) and there is a field like the following: private List aList = new ArrayList(); You should never, never, never, ever initialize a component, page or mixin field

Re: Server Side Validation with ajax form loop

2012-01-05 Thread Geoff Callender
Hi George, I've recreated the problem, but I can't spend more time on it until next week. In the meantime, this may solve all or part of it: - Add a zone around the form. - Add the zone parameter to the form. - Modify the OnValidateFromYourForm method to return an Object. - Change the final retu

Eventlink - Ajax without zone parameter

2012-01-05 Thread Lance Java
Correct me if I'm wrong but currently, if you want an eventlink to use ajax, you must provide a "zone" parameter. This may have been fine in early versions of tapestry 5 but there are now circumstances where we want an eventlink to be done via XHR but shouldn't need to specify a zone in the tml. Th

Re: Eventlink - Ajax without zone parameter

2012-01-05 Thread Dragan Sahpaski
Hi, I agree with your point. I usually use a dummy zone for wiring the zone parameter of such links. IDK if a boolean is appropriate but It would be nice if we could avoid workarounds with dummy zones. Cheers, Dragan Sahpaski On Thu, Jan 5, 2012 at 2:40 PM, Lance Java wrote: > Correct me if I'

Re: [OT] Jenkins vs BuildBot

2012-01-05 Thread Lenny Primak
I don't know the space and just asking for suggestions. Are you saying that Jenkins is the only one that runs in the JEE app server and all others are non-java? On Jan 4, 2012, at 7:12 PM, Daniel Honig wrote: > Why are you considering anything other than Jenkins then? > > On Wed, Jan 4, 2012

Re: [OT] Jenkins vs BuildBot

2012-01-05 Thread Igor Drobiazko
Jenkins is the best open source solution, but not the only one. The are other open source solutions like CruiseControl (almost dead project), Continuum (by Apache), etc. Also commercial solutions like Bamboo (by Atlassian) and TeamCity (by Jetbrains) are noteworthy. On Thu, Jan 5, 2012 at 3:33 PM,

Re: [OT] Jenkins vs BuildBot

2012-01-05 Thread Lenny Primak
Thank you. Looks like Jenkins it is for me. On Jan 5, 2012, at 10:00 AM, Igor Drobiazko wrote: > Jenkins is the best open source solution, but not the only one. The are > other open source solutions like CruiseControl (almost dead project), > Continuum (by Apache), etc. Also commercial solutions

Re: [OT] Jenkins vs BuildBot

2012-01-05 Thread Daniel Honig
I'd say so. .NET, Ruby and iOS teams are all using Jenkins, just some food for thought. Since your on the tapestry list, I can see you value community, and while TeamCity and Bamboo are great products, Jenkins is the likely the guy for you! Good luck and have a glance at John Ferguson Smart's boo

Mixin on page load

2012-01-05 Thread Paulo Ricardo Ribeiro
Hello, this may be a noob question, but here goes :p I have a mixin which I obtained from here: http://exanpe-t5-lib.appspot.com/components/dialog/example1 and it goes something like this: Go to index This shows a dialog with some information. My question is the following: Is there a way t

Re: Eventlink - Ajax without zone parameter

2012-01-05 Thread Igor Drobiazko
Maybe we should reuse zone paramater by passing a special zone id like zone="*". There is already a special id ^, which means the first container zone. On Thu, Jan 5, 2012 at 2:40 PM, Lance Java wrote: > Correct me if I'm wrong but currently, if you want an eventlink to use > ajax, you must provi

Re: Eventlink - Ajax without zone parameter

2012-01-05 Thread Jochen Frey
+1 on the need to address this! -- j On Jan 5, 2012, at 8:35 AM, Igor Drobiazko wrote: > Maybe we should reuse zone paramater by passing a special zone id like > zone="*". There is already a special id ^, which means the first container > zone. > > On Thu, Jan 5, 2012 at 2:40 PM, Lance Java wr

Re: Eventlink - Ajax without zone parameter

2012-01-05 Thread Dragan Sahpaski
On Thu, Jan 5, 2012 at 5:35 PM, Igor Drobiazko wrote: > Maybe we should reuse zone paramater by passing a special zone id like > zone="*". There is already a special id ^, which means the first container > zone. > I like this idea. I''m using "^" a lot so at least for me it's a good concept. Che

Re: Eventlink - Ajax without zone parameter

2012-01-05 Thread Muhammad Gelbana
Or maybe a whole new component with a whole different name ? Instead of EventLink we can have AjaxEventLink or something..just an idea. I bet you will find this page very interesting Lance http://tawus.wordpress.com/2011/10/01/tapestry-5-3-new-features-part-2/ It demonstrates many different flavors

Re: help : displaying Images that are stored outside the Web application

2012-01-05 Thread Josh Canfield
> I am a newbie to Tapestry. I need help on how to display the Images stored> > outside the Web application. One way to do it is is read the file and return a StreamResponse. http://wiki.apache.org/tapestry/Tapestry5HowToStreamAnExistingBinaryFile Josh On Wed, Jan 4, 2012 at 9:16 PM, Suma wrote:

Re: Eventlink - Ajax without zone parameter

2012-01-05 Thread Igor Drobiazko
This not a good idea, as we consequently would need to provide AjaxActionLink, AjaxPageLink, AjaxForm, etc. On Thu, Jan 5, 2012 at 9:02 PM, Muhammad Gelbana wrote: > Or maybe a whole new component with a whole different name ? Instead of > EventLink we can have AjaxEventLink or something..just an

Re: Eventlink - Ajax without zone parameter

2012-01-05 Thread Paul Stanton
+1 vote for this, I previously raised this last January. https://issues.apache.org/jira/browse/TAP5-1404 On 6/01/2012 7:37 AM, Igor Drobiazko wrote: This not a good idea, as we consequently would need to provide AjaxActionLink, AjaxPageLink, AjaxForm, etc. On Thu, Jan 5, 2012 at 9:02 PM, Muham

Determine Component Type at Runtime?

2012-01-05 Thread Jochen Frey
It seems like this is a problem others must have encountered so I hope I'm missing something obvious: I want to be able to pass a component (by name, or by reference) into another component, so that I can decide at runtime what type of component I put into a container component. Let's say I ha

Re: Determine Component Type at Runtime?

2012-01-05 Thread Thiago H. de Paula Figueiredo
On Thu, 05 Jan 2012 23:35:59 -0200, Jochen Frey wrote: I want to be able to pass a component (by name, or by reference) into another component, so that I can decide at runtime what type of component I put into a container component. Let's say I have a ContainerComponent, and at runtime I

Re: tapestry 5.2.4 and spring 3.1M1

2012-01-05 Thread m...@raibledesigns.com
I'd like to use a snapshot of 5.3.2 in my project. According to the documentation: > A nightly build process on Tapestry's continuous integration server > creates new snapshots every night. > > Snapshots don't go in the central Maven repository (that's reserved for > full releases). Instead, th

Re: help : displaying Images that are stored outside the Web application

2012-01-05 Thread Suma
Thanks for the reply :) Sir, now i have one more issue, my application is running in D:\Projects\WebAppl and i wanna save images inside D:\Images, how can i do this ? On Fri, Jan 6, 2012 at 1:36 AM, joshcanfield [via Tapestry] < ml-node+s1045711n5123698...@n5.nabble.com> wrote: > > I am a newbie

configuration strategy

2012-01-05 Thread Paul Stanton
Hi all, I'm starting a fresh project in T5.3 and I would like to improve the mechanism for application configuration. We typically have 2-5 developers working on different aspects of the project who need to temporarily change miscellaneous settings as they go. The application is then deploy

Re: Determine Component Type at Runtime?

2012-01-05 Thread Jochen Frey
Thanks for the reference to the prior thread (very helpful) ... I'll reply over there to keep the material in one place. J On Jan 5, 2012, at 6:18 PM, Thiago H. de Paula Figueiredo wrote: > On Thu, 05 Jan 2012 23:35:59 -0200, Jochen Frey wrote: > >> I want to be able to pass a component (by n

Re: T5: Using the strategy pattern with components.

2012-01-05 Thread jochenfrey
Is there a way to get a reference to a component (or block) by classname (MyComponent.class), instead of the id? I tried out the approach Thiago suggested, and it works fine. However, it requires me to keep a page with a catalog of components around (not the end of the world, but inconvenient).

error in documentation

2012-01-05 Thread Paul Stanton
http://tapestry.apache.org/defining-tapestry-ioc-services.html IOCConstants.PERTHREAD_SCOPE should be ScopeConstants.PERTHREAD - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: u

Re: configuration strategy

2012-01-05 Thread Borut Bolcina
Hello, So far all our aps (also non tapestry ones) are build with maven and different filters for different environments. Properties are stored in properties files in src/main/resources and are filtered during the maven build process. All artefacts are released to subversion during mvn release:

Re: configuration strategy

2012-01-05 Thread Kalle Korhonen
On Thu, Jan 5, 2012 at 9:56 PM, Paul Stanton wrote: > I'm starting a fresh project in T5.3 and I would like to improve the > mechanism for application configuration. > For this project however, I'd like to use a more 'tapestry' approach, and > I'm hoping this also means not using ant. I'm sure I c