Submit component and Zone Component

2008-04-13 Thread jgn
Hi. I have a page where I use the Zone component. Something like this: ... ... ... ... ... ... As you can see, I have 2 Submit buttons. So I have these functions on my page: void onSelectedFromGrabar() { ... } void onSelectedFromCopiardir(){ ... } The problem is that

T5, Change default messeges

2008-04-20 Thread jgn
Hi. I would like to know how could I change the default messages for the validator. I am from Mexico, so the default messages are in English. Is there a way to change them to spanish ?. Thank you. -- View this message in context: http://www.nabble.com/T5%2C-Change-default-messeges-tp16801040p16

T5, Search and Grid Component

2008-04-20 Thread jgn
Hi. I have a simple page where I do a Search with a couple of fields that act as filters. I use a flash strategy to persist the fields. I show the results on a grid component. The problem is that, when I try to reorder the grid for an specific column I loose the filter values. I do not want to us

Encoding problem (UTF-8)

2008-04-30 Thread jgn
Hi. I am having a problem with encoding. I was using ISO-8859-1 but the Autocomplete did not display the right way some characters (accutes) so I decide to change all to UTF-8 (including the -Dfile.encoding=UTF-8, changing the editor to UTF-8 and the URIEncoder to the connectors on the server.xml)

Re: Encoding problem (UTF-8)

2008-05-16 Thread jgn
Hi. The problem was tomcat's version. On Ubuntu I was using tomcat 5.5 and on Windows Tomcat 6. I just installed Tomcat 5.5 on Windows too and the problem was fixed. Of course you need to put the URIEncoder on the connectors of tomcat, add the the parameter -Dfile.encoding=UTF-8 to JAVA_OPTS,

Re: t5components - Window

2008-07-24 Thread jgn
Maybe this would work: You can use the t5componens/OnEvent mixin on a button or, maybe, on an action link (I only have test this component on a textfield with the blur event). Then, this mixin has a parameter called: onCompleteCallback, which will call a javascript function when the ajax response

problem with t:formdata

2009-01-08 Thread jgn
t:formdata is too big on a page that I have (5MB or more). I have a form with only 12 fields and I display a table with 14 rows, the problem is that if the loop component that displays the tables is inside the form, the t:formdata becomes huge. If is not inside the form, it works just fine :D. T

Re: using prop: binding to evaluate an expression?

2009-01-08 Thread jgn
There is a Link to t5components on the tapestry home page. there you can find a way to use ognl on t5 while t5.1 is released: http://87.193.218.134:8080/t5components/t5c-commons/howto_ognlbinding.html Just download the jars (do not forget the dependencies) and you can use ognl. I have used and

Re: problem with t:formdata

2009-01-08 Thread jgn
ttp://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Loop.html > > > > jgn wrote: >> t:formdata is too big on a page that I have (5MB or more). >> >> I have a form with only 12 fields and I display a table with 14 rows, the

Re: Palette component

2009-02-18 Thread jgn
I had the same problem. I am not sure what of the 5 things I did was the one that help, but what I did was: Implements Serializable Implements Comparable Override equals Override hashcode Override toString I am not sure how is implemented the Pallete, but most of the time is a good practice to i