[T5] Select field, blank value and hibernate entity

2008-06-19 Thread Denis Delangle
Hello, I use Tapestr 5.0.11. I generate a select field from a list of hibernate entities and a default blank value. but when I submit my form with the blank value, I get this error message : Coercion of to type java.lang.Long (via String --> Long) failed: For input string: "" The select field is

[T5] OnActivate methods order call with super classes

2008-07-17 Thread Denis Delangle
Hello, With 5.13 and 5.14, I have a strange behavior when I add an onActivate method in a super class. The methods are not called in the same order in my child class. public class ParentPage { } public class ChildPage extends ParentPage { public void onActivate(Entity e) { System.out.print

Re: T5 - Javascript libraries on ajax requests

2009-10-07 Thread Denis Delangle
Hello, I run into the same issue : in 1 json response I can have 500 references to my JS / CSS file. Thus, the ajax response is bigger that a full page refresh and firefox has difficulties to render the response. I created an issue with a patch to correct it : https://issues.apache.org/jira/browse

Tomcat and pages hot reload

2010-11-04 Thread Denis Delangle
Hello, There had been several discutions on the ML about people having troubles reloading pages under Tomcat. I run into the same kind of issue last week and I add the following symptoms : * I modify a page class * Tapestry is notified of a modification of the class file * Tapestry flushes the

Re: Problem pushing application to production

2011-09-19 Thread Denis Delangle
Hello, As https is managed by your load balancer, you don't think you need to add @secure annotations on Tapestry pages. Communication between load balancer and tomcat is done in HTTP Even if you stay all the time in https, Tapestry needs to send redirects to clients on form submissions (GET after

Re: Problem pushing application to production

2011-09-19 Thread Denis Delangle
: "http"; > >                int port = secure ? 443 : 8080; > >                return String.format("%s://secure.mysite.com:%d", protocol, > port); >            } >        }; > >        configuration.add(BaseURLSource.class, source); >    } > >

Tapestry 5.4 alpha 3 migration

2013-04-29 Thread Denis Delangle
Dear community, We are happy Tapestry users since Tapestry 5.1 and we would like to share how we migrated from Tapestry 5.3 to 5.4 alpha 3. We previously used Tapestry-jquery to have a javascript layer in jquery but without using their rich components. This library is great but with Tapestry 5.4