Re: Strange exception

2009-03-02 Thread Jorge Merlino
El Lun 02 Mar 2009 18:26:32 Carl Crowder escribió: > This is just a vague guess, but as far as I *think* that class name > isn't the only thing Java uses to compare two classes when casting. So > if you have defined your TreeNode class in more than once place, it's > possible that the class you're

Strange exception

2009-03-02 Thread Jorge Merlino
Hi, I'm trying use the tapestry tree component found in http://wiki.apache.org/tapestry/Tapestry5TreeComponent but I'm stuck with a very strange exception which is this: java.lang.ClassCastException: uy.com.ipcontact.webjastconf.components.TreeNode cannot be cast to uy.com.ipcontact.webjastcon

Re: Overriding default error messages

2008-11-19 Thread Jorge Merlino
El Mié 19 Nov 2008 a las 11:42:34 Hugo Palma escribió: > Hi Jorge, > > tapestry already provides an Errors_es.properties, Errors_pt_PT.properties > and an Errors_pt_BR.properties. So you should see the localized message > just fine. Are you sure your using the correct locale ? That is strange. Thi

Overriding default error messages

2008-11-19 Thread Jorge Merlino
Hi I'm developing an application that has to work in english, spanish and portuguese so I have to override the default validation error title (which says "You must correct the following errors before you may continue") I have read that this can be done adding a new Errors.properties file to my