Re: component report failing

2010-10-11 Thread Inge Solvoll
Anyone planning on fixing this? The component reports are crucial as developer documentation! It fails for me in both 5.1.0.5 and 5.2 On Fri, May 7, 2010 at 1:11 PM, Ulrich Stärk u...@spielviel.de wrote: That's so annyoing. Happens with Maven 2.0 as well as with 2.2. On 07.05.2010 09:04,

JSR303: Tapestry prepends error messages with Textfield.

2010-10-11 Thread Dmitry Grigoriev
Hello all, My ValidationMessages.properties looks like this: missing=Missing required parameter: firstName=first name lastName=last name Entity fields are annotated like this: @NotNull(message = {missing} {firstName}) private String firstName; @NotNull(message = {missing}

Strange Type Coercion Exception

2010-10-11 Thread Christian Koller
Hi all Today I faced a very strange exception (tapestry version 5.2) The Exception sais not possible to find the coercion string - net.netm.platform.client.tapestry.common.components.style.DisplayContentItemStyle but if I check the configured coercion, then I can find: String --

Antwort: Strange Type Coercion Exception

2010-10-11 Thread Kristian Marinkovic
move your DisplayContentItemStyle to a package that is not within a pages, components or mixins package. eg. services T5 loads all classes in the before mentioned packages for enhancement with another classloader. that's why your class (enum) cant be found. g, kris Von:Christian Koller

Re: Antwort: Strange Type Coercion Exception

2010-10-11 Thread Christian Koller
Thank you very much. On 11.10.2010, at 12:42, Kristian Marinkovic wrote: move your DisplayContentItemStyle to a package that is not within a pages, components or mixins package. eg. services T5 loads all classes in the before mentioned packages for enhancement with another classloader.

Re: Antwort: Strange Type Coercion Exception

2010-10-11 Thread Kristian Marinkovic
no problem. be my guest. just had the same problem with one of our junior programmers last friday :) g, kris Von:Christian Koller christian.kol...@net-m.ch An: Tapestry users users@tapestry.apache.org Datum: 11.10.2010 13:35 Betreff:Re: Antwort: Strange Type Coercion

Re: HTML 5 support

2010-10-11 Thread Thiago H. de Paula Figueiredo
On Sun, 10 Oct 2010 07:12:14 -0300, Marcel mrcll...@yahoo.com wrote: Hello, Hi! What is the status of HTML 5 support? If it is not supported out of the box, what is the best strategy to follow using either T5.1 or T5.2? What exactly do you mean by HTML 5 support? HTML 5 support in

Re: HTML 5 support

2010-10-11 Thread Christophe Cordenier
Hi Thiago ! I think it's also about entities usage in template files when using HTML5. 2010/10/11 Thiago H. de Paula Figueiredo thiag...@gmail.com: On Sun, 10 Oct 2010 07:12:14 -0300, Marcel mrcll...@yahoo.com wrote: Hello, Hi! What is the status of HTML 5 support? If it is not supported

ValueEncoder throwing Exceptions

2010-10-11 Thread Stephan Windmüller
Hello! Currently we have a lot of onActivate/Passivate calls of the form void onActivate(String thingId) throws NotFoundException{ this.thing = myService.getThing(thingId); } My thought was to contribute a custom ValueEncoder and use void onActivate(Thing thing) instead. But as far as

Re: ValueEncoder throwing Exceptions

2010-10-11 Thread Thiago H. de Paula Figueiredo
On Mon, 11 Oct 2010 09:40:01 -0300, Stephan Windmüller stephan.windmuel...@tu-dortmund.de wrote: Hello! Hi! Currently we have a lot of onActivate/Passivate calls of the form void onActivate(String thingId) throws NotFoundException{ this.thing = myService.getThing(thingId); } My

Re: ValueEncoder throwing Exceptions

2010-10-11 Thread Kalle Korhonen
How do you want to handle it? onException works if you want to manage the exception per page, perhaps also Tynamo's exceptionpage module could be of use (http://tynamo.org/tapestry-exceptionpage+guide). Kalle On Mon, Oct 11, 2010 at 5:40 AM, Stephan Windmüller stephan.windmuel...@tu-dortmund.de

[T5.2] Zone loading progress icon

2010-10-11 Thread Muhammad Mohsen
Hi all, I was wondering if anyone had implemented a way to inform the client that a zone is being updated whether by form submission or an ordinary link ? Something like a progress icon may be ? Just to be interactive with the client. -- Muhammad Gelbana Java Software Programmer

Re: [T5.2] Zone loading progress icon

2010-10-11 Thread Kalle Korhonen
Use ProgressiveDisplay component? http://tapestry.apache.org/tapestry5.1/tapestry-core/ref/org/apache/tapestry5/corelib/components/ProgressiveDisplay.html Kalle On Mon, Oct 11, 2010 at 8:23 AM, Muhammad Mohsen m.gelb...@gmail.com wrote: Hi all, I was wondering if anyone had implemented a way

Re: Monitoring/statistics

2010-10-11 Thread Howard Lewis Ship
I've been thinking about this kind of thing as well; having a JMX bean for each Page instance and tracking number of render requests, number of event requests, number of ajax even requests, and ellapsed processing time for each. Obviously, it's a bit late for 5.2 ... it may be time to cut a 5.3

Re: Monitoring/statistics

2010-10-11 Thread Alessio Gambi
Hi, Please think also about some way to obtain (meta) statistics about Tapestry itself. Something that can be used to track how many people are actually using tapestry as platform for their applications. -- Alessio On 11-ott-2010, at 18:05, Howard Lewis Ship hls...@gmail.com wrote: I've been

RE: [T5.2] JavaScript combination

2010-10-11 Thread Blower, Andy
I've been trying the new stack implementation in T5.2.1 and it's much better. I am having a problem with the order they're put into the page. It seems (I'm guessing/trying to spot a pattern here) to be dependent on the first import of a stack element which means the stacks can easily be

Re: [T5.2] Zone loading progress icon

2010-10-11 Thread Thiago H. de Paula Figueiredo
On Mon, 11 Oct 2010 12:23:51 -0300, Muhammad Mohsen m.gelb...@gmail.com wrote: Hi all, Hi! I was wondering if anyone had implemented a way to inform the client that a zone is being updated whether by form submission or an ordinary link ? Something like a progress icon may be ? I

Re: [T5.2] Zone loading progress icon

2010-10-11 Thread Christophe Cordenier
Hi I did something like this by observing Tapestry Zone Events and CSS style http://github.com/ccordenier/tapestry5-hotel-booking/blob/master/src/main/java/com/tap5/hotelbooking/components/AjaxLoader.java

Re: Monitoring/statistics

2010-10-11 Thread Anton Gavazuk
Why dont reuse already existing projects? http://code.google.com/p/javasimon 2010/10/11 Alessio Gambi agamb...@gmail.com Hi, Please think also about some way to obtain (meta) statistics about Tapestry itself. Something that can be used to track how many people are actually using tapestry as

Re: Should Tapestry phone home?

2010-10-11 Thread Daniel Jue
I don't think this is a good idea. I understand that it would satisfy a lot of curiosity. Not that it could phone home on the networks I deal with. There would have to be value-add for the end user, such as checking for a newer version, etc. Is there precedent for this in other Apache

Re: Should Tapestry phone home?

2010-10-11 Thread Alessio Gambi
Hi I think that if put in the right 'shape' and on volunteer basis it can work pretty well. Maybe a filter is bit intrusive ... But eclipse for example does the same, still people use it. In a similar way all the softwares (especially when they fail) have a way to call home. Something like a

Re: Should Tapestry phone home?

2010-10-11 Thread Martin Strand
I don't like this idea. Perhaps I'm one of those privacy-minded people since we use Tapestry in a security sensitive context (credit cards). I remember some time ago when we looked at upgrading Quartz and were surprised to see the new version trying to dial home in a similar manner (by

Re: Should Tapestry phone home?

2010-10-11 Thread Igor Drobiazko
We shouldn't do it. People would hat Tapestry for it. On Mon, Oct 11, 2010 at 6:49 PM, Howard Lewis Ship hls...@gmail.com wrote: This came up during my training class this week. What would be the repercussions if Tapestry included a start-up filter that reported the application startup back

Re: ValueEncoder throwing Exceptions

2010-10-11 Thread Stephan Windmüller
On 11.10.2010 17:22, Kalle Korhonen wrote: How do you want to handle it? onException works if you want to manage the exception per page, I want to throw the exception and handle it in the ExceptionReport page, just like the current solution. Regards Stephan

Re: Should Tapestry phone home?

2010-10-11 Thread Howard Lewis Ship
So, Alessio had a good idea ... some way of finding out who is using Tapestry that doesn't rely on the user doing anything manually ... what would be a better way to approach this? On Mon, Oct 11, 2010 at 11:27 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Mon, 11 Oct 2010

Re: Should Tapestry phone home?

2010-10-11 Thread Thiago H. de Paula Figueiredo
On Mon, 11 Oct 2010 15:50:03 -0300, Chris Pall chrisp...@gmail.com wrote: You probably would get much better compliance if you were giving them something back - if you're giving them a tool that lets them know hey -- there is a bugfix for your version. EHCache does exactly that. -- Thiago H.

Re: Should Tapestry phone home?

2010-10-11 Thread Chris Pall
And no, it should not phone home - it should be invoked. On Mon, Oct 11, 2010 at 2:50 PM, Chris Pall chrisp...@gmail.com wrote: You probably would get much better compliance if you were giving them something back - if you're giving them a tool that lets them know hey -- there is a bugfix

Re: Should Tapestry phone home?

2010-10-11 Thread Alessio Gambi
On 11-ott-2010, at 20:52, Chris Pall chrisp...@gmail.com wrote: And no, it should not phone home - it should be invoked. Ok. I see all your points: - something already there but not automatic - not about the application nor the usage data - yes the version of the framework - some

Re: [T5.2] Zone loading progress icon

2010-10-11 Thread Muhammad Mohsen
I wouldn't have got a more comprehensive answer. Thank you all for your time :) On Mon, Oct 11, 2010 at 2:32 PM, Christophe Cordenier christophe.corden...@gmail.com wrote: Hi I did something like this by observing Tapestry Zone Events and CSS style