Re: Customizing Translator messages?

2009-07-01 Thread Ulrich Stärk
If I'm not mistaken, you can't do that on a per-component basis. Translators have a getMessageKey() method that returns the key to be used and this is per translator not per component. Uli On 02.07.2009 04:21 schrieb Martin Strand: Validation messages can easily be overridden for a specific co

Re: Problem with form inside div - SOLVED (unrelated to tapestry)

2009-07-01 Thread Andrew Nguyen
Of course, it turned out to be something else - I messed up the tables... Thanks all, Andrew On Jul 1, 2009, at 7:47 PM, DH wrote: Hi, Don't ever have such issue, I always put form inside div too. What about the generated html source code? Is it right? DH http://www.gaonline.com.cn -

Re: Problem with form inside div

2009-07-01 Thread Andrew Nguyen
The generated source code uses some javascript so it's hard to look at the rendered HTML. Using firebug, the HTML is definitely not correct. However, I have been doing some more testing and the problem seems to be when the code snippet below is located inside a and dynamically updated. I

Re: Problem with form inside div

2009-07-01 Thread DH
Hi, Don't ever have such issue, I always put form inside div too. What about the generated html source code? Is it right? DH http://www.gaonline.com.cn - Original Message - From: "Andrew Nguyen" To: Sent: Thursday, July 02, 2009 10:16 AM Subject: Problem with form inside div >I hav

Customizing Translator messages?

2009-07-01 Thread Martin Strand
Validation messages can easily be overridden for a specific component, eg password-required-message = You forgot to type your password! Is there a way to do the same with Translators - override messages on a per-component basis? onParseClientFromXXX(...) could work, but I'd prefer to reuse the

Problem with form inside div

2009-07-01 Thread Andrew Nguyen
I have the following snippet of code in my tml file:   class="popup_closebox"/>    Cancel When the page is accessed via Firefox (with Firebug), it is rendered as: where the form is outside of the ... Any ideas? I am very new to Tapes

Re: Tapestry-Spring and Spring 3.X

2009-07-01 Thread Lubor Gajda
Hi Geoffrey, I've tried T5.1.0.5 in combination with Spring 3.0.0.M3 and it works fine for me. The only issue I came across is that T5.1 and Spring 3 are using two incompatible versions of Antlr library, but injection of spring beans works fine for me. Could you please send us more information ab

Re: stax2 issue

2009-07-01 Thread Christian Gruber
This should help for environments where you have access to system properties: http://www.nabble.com/-T5.1--Running-on-Glassfish--td22132485.html cheers, Christian. On Jul 1, 2009, at 5:14 PM, Howard Lewis Ship wrote: This is likely related ... an effort is underway to release a bug fix rele

Re: stax2 issue

2009-07-01 Thread Howard Lewis Ship
This is likely related ... an effort is underway to release a bug fix release for 5.1 to address this issue and not require the Woodstox parser (but will probably still require some StAX parser). On Wed, Jul 1, 2009 at 1:59 PM, Christine wrote: > Hi, > My app uses Tapestry and Google Maps. I up

stax2 issue

2009-07-01 Thread Christine
Hi, My app uses Tapestry and Google Maps. I upgraded to Tapestry 5.1, running my app in Eclipse works fine (I use run jetty run). However, when I create a war file and run it in Jetty, I get this error: Exception constructing service 'TemplateParser': Error invoking constructor org.apache.ta

Re: Grid / sortable additionnal column

2009-07-01 Thread Francois Malet
Perfect! Here is my PropertyConduit implementation public class DownloadPropertyConduit implements PropertyConduit {     public T getAnnotation(Class annotationClass) {         return null;     }     /**      * @see org.apache.tapestry5.PropertyConduit#get(java.lang.Object)      */     public O

RE: COMBINE_SCRIPTS no effect

2009-07-01 Thread Blower, Andy
We've also been having some problems with script combination, one of which is caused by T5 switching off combination when an external script is requested. I don't know if this is causing your problems, but that's why some pages of our app were not having the scripts combined. I don't see why T5

Re: Grid / sortable additionnal column

2009-07-01 Thread Thiago H. de Paula Figueiredo
On Wed, Jul 1, 2009 at 8:39 AM, Francois Malet wrote: > Hello, Hi! >        PropertyModel dModel= beanModel.add("download",null); The problem is here: Grid doesn't know how to get the download property (column) value to sort it, as you passed a null PropertyConduit to the add() method. You n

Grid / sortable additionnal column

2009-07-01 Thread Francois Malet
Hello, I use Tapestry 5.1.0.5 My goal is to add a column to a grid and to make it sortable. Of course, this column is not part of the grid datasource (otherwise I wouldn't need to add it). I have written a page based on example provided here: http://wiki.apache.org/tapestry/Tapestry5GridComponent

Re: [Tapestry Central] Public Tapestry Training in London: Aug 10 - 12

2009-07-01 Thread Ivano Luberti
It would be great for all of us working in small companies outside of the London area and that don't have money to pay an on site training, if you could run a webinar sooner or later. Of course with paid access. Howard ha scritto: > Formos is partnering with London-based SkillsMatter to provide o

Re: Validating nested loops with helper classes

2009-07-01 Thread Stephan Windmüller
Stephan Windmüller wrote: > As long as I do not use a List to store the objects, all works fine. But > when I submit the form above, it always resets and the list consists of > "undecided" users. The next thing I found out: This has nothing to do with my helper classes. Even when I use a list of