Re: 'translate' is bound to null

2009-11-18 Thread Inge Solvoll
Got this working by creating a translator. I got confused because I already contributed a DateCoercer to TypeCoercions, I thought that would be enough. I guess I don't fully understand how this system works. I think I read a discussion somewhere about T5 containing too many ways of translating

Re: T 5.1 vs 5.0 JSON encoding - breaks IE8

2009-11-18 Thread Howard Lewis Ship
On Tue, Nov 17, 2009 at 11:56 AM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: On Tue, Nov 17, 2009 at 11:01 AM, David Rees dree...@gmail.com wrote: On Tue, Nov 17, 2009 at 2:00 AM, Ciaran Wood ciar...@gamesys.co.uk wrote: The issue you were thinking of is

Re: T 5.1 vs 5.0 JSON encoding - breaks IE8

2009-11-18 Thread Markus Joschko
But doesn't stabilizing mean to fix at least the major bugs? Especially if patches are provided? Otherwise it looks more like hibernating. Markus On Wed, Nov 18, 2009 at 10:30 AM, Howard Lewis Ship hls...@gmail.com wrote: On Tue, Nov 17, 2009 at 11:56 AM, Kalle Korhonen

Re: T 5.1 vs 5.0 JSON encoding - breaks IE8

2009-11-18 Thread Howard Lewis Ship
True; the big question is whether bugs should be fixed for 5.1 (i.e., leading up to a 5.1.0.6 release perhaps) or whether they can be bundled into a 5.2 alpha release. On Wed, Nov 18, 2009 at 1:52 AM, Markus Joschko markus.josc...@gmail.com wrote: But doesn't stabilizing mean to fix at least the

Re: T 5.1 vs 5.0 JSON encoding - breaks IE8

2009-11-18 Thread Markus Joschko
Personally I am fine with a 5.2 alpha release as I don't have to test too much functionality. But I guess if tapestry wants to be taken seriously in the enterprise world it needs to provide bug fixing releases for existing stable releases as otherwise the testing departments are crying for

Re: T 5.1 vs 5.0 JSON encoding - breaks IE8

2009-11-18 Thread Ulrich Stärk
Since we recently also fixed a major bug concerning application security, I'd say we should do a 5.1.0.6 release. I wouldn't force my users to upgrade to a new version - aside from it being an alpha version - just in order to receive bug fixes. In the end it *might* mean having to modify a

Re: T 5.1 vs 5.0 JSON encoding - breaks IE8

2009-11-18 Thread Thiago H. de Paula Figueiredo
Em Wed, 18 Nov 2009 08:20:46 -0200, Ulrich Stärk u...@spielviel.de escreveu: Since we recently also fixed a major bug concerning application security, I'd say we should do a 5.1.0.6 release. +1 -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant,

Validation failing in IE6/7

2009-11-18 Thread Andrew Miller
Hi everyone, I'm having a problem with the Tapestry validation in IE6/7. I'll try to explain as best as I can - please feel free to ask for more details if required. I've created a lightbox component (using Control.Window - http://livepipe.net/control/window). The requirement is to have the

Re: T 5.1 vs 5.0 JSON encoding - breaks IE8

2009-11-18 Thread Max Weißböck
Am 18.11.2009 um 11:20 schrieb Ulrich Stärk: Since we recently also fixed a major bug concerning application security, I'd say we should do a 5.1.0.6 release. +1 Max - To unsubscribe, e-mail:

Page pool monitoring

2009-11-18 Thread Carl Crowder
Hello, Is there a way to monitor the size of the various page pool caches? Carl - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: T 5.1 vs 5.0 JSON encoding - breaks IE8

2009-11-18 Thread Andreas Andreou
yes, it makes sense to do that 'bug-fix' release once TAP5-714 is fixed On Wed, Nov 18, 2009 at 1:02 PM, Max Weißböck m...@weissboeck.info wrote: Am 18.11.2009 um 11:20 schrieb Ulrich Stärk: Since we recently also fixed a major bug concerning application security, I'd say we should do a

Status of TAP5-729

2009-11-18 Thread Andrey Larionov
I try to port some application from Spring to tapestry (i don't like one IoC container over another), but this issue is blocker for me. Can anybody describe state? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org

Devoxx 2009

2009-11-18 Thread cordenier christophe
Hi Is there any other Tapestry folk here at the devoxx ? Maybe we can meet at the end of the day. Cheers Christophe.

Grid sort images override

2009-11-18 Thread Blšták Peter
Hi Is there any suggested way how to change default images used by GridColumns to indicate sort column state. I would like to use different GIU design. In other words, I need to override usage of these images: org/apache/tapestry5/corelib/components/sortable.png

Re: Grid sort images override

2009-11-18 Thread Carl Crowder
You could make images with the same name inside the same folder structure inside your code. Your code will be on the classpath first (especially if using Maven) and therefore will override. There may be a less hacky way though! Blšták Peter wrote: Hi Is there any suggested way how to change

Re: Grid sort images override

2009-11-18 Thread Joost Schouten (ml)
or you use css: table.t-data-grid thead tr th a + a { display:none; } table.t-data-grid thead tr th a.t-sort-column-descending { background-image:url(path/to/your/image); } cheers, Joost Carl Crowder wrote: You could make images with the same name inside the same folder structure

RE: T 5.1 vs 5.0 JSON encoding - breaks IE8

2009-11-18 Thread Blower, Andy
+1 (+40 if I count all T5 developers here ;-) Although I suggested a 5.1.1.x release in my previous post, quoted from below, I don't care what it's called as long as there's a non 5.2 bug-fix release. (preferably more than one release..) I think you should write the book, but only if there's

Re: simulate form submission events without Submit component

2009-11-18 Thread Thiago H. de Paula Figueiredo
Em Wed, 18 Nov 2009 11:22:03 -0200, Ilya Obshadko ilya.obsha...@gmail.com escreveu: ... anybody? I would add a non-visible submit button (not the Submit component, an ordinary input type=submit) and then invoke submit.click(). That's what worked with AJAX submissions for me. -- Thiago

Re: simulate form submission events without Submit component

2009-11-18 Thread Toby Hobson
I do something similar ... in fact I have created a mixin which I call AjaxDelegate ... it basically wires up elements so that a client side event on one component invokes a click event on a hidden submit button Toby 2009/11/18 Thiago H. de Paula Figueiredo thiag...@gmail.com Em Wed, 18 Nov

Re: T 5.1 vs 5.0 JSON encoding - breaks IE8

2009-11-18 Thread Thiago H. de Paula Figueiredo
Em Tue, 17 Nov 2009 16:50:52 -0200, Kalle Korhonen kalle.o.korho...@gmail.com escreveu: Thanks Ciaran, voted. Thiago, would you mind doing the honors? (Since I know you read this anyway :) How do you know I'd read your message? :P It's been months since my last commit, unfortunately. I've

Re: T 5.1 vs 5.0 JSON encoding - breaks IE8

2009-11-18 Thread David Rees
On Wed, Nov 18, 2009 at 1:57 AM, Howard Lewis Ship hls...@gmail.com wrote: On Wed, Nov 18, 2009 at 1:52 AM, Markus Joschko markus.josc...@gmail.com wrote: But doesn't stabilizing mean to fix at least the major bugs? Especially if patches are provided? Otherwise it looks more like

Res: Request to a unlocalized URL using the Locale stored on session

2009-11-18 Thread Everton Agner
Sorry about the previous e-mail title... I was going to change before sending it and I forgot. Well... here's the problem. I didn't explain it well before: - My app has 2 Supported Languages : 'pt-BR' (default) and 'en'. - By default, when the app is acessed with an Unlocalized URL (like

Re: Request to a unlocalized URL using the Locale stored on session

2009-11-18 Thread Juan E. Maya
Hi Everton, U can store the locale of the user in a cookie or in db (if u already have a session) and then set the desired locale in a ComponentRequestFilter. It would be something like this: public class LocaleComponentRenderRequestFilter implements ComponentRequestFilter { private

Best server for development and for production?

2009-11-18 Thread Alessandro Bottoni
Hi All, in your opinion, which is the best server (servlet container, actually) for Tapestry? It seems that Glassfish has an advantage over other solutions in the development environment because of the deploy-on-change feature supplied by NetBeans and Eclipse plug-ins but... What about Tomcat?

Re: Best server for development and for production?

2009-11-18 Thread Thiago H. de Paula Figueiredo
Em Wed, 18 Nov 2009 15:54:04 -0200, Alessandro Bottoni alexbott...@gmail.com escreveu: Hi All, Hi! in your opinion, which is the best server (servlet container, actually) for Tapestry? Definitely, Jetty, at least for development, maybe also for production. Small, easy to configure,

Re: Best practice for database notifications?

2009-11-18 Thread Kalle Korhonen
On Wed, Nov 18, 2009 at 7:48 AM, p.stavrini...@albourne.com wrote: Are you looking specifically for a Hibernate solution? Not necessarily. If you use PostgreSQL, there are notifications such as Listen / Notify, which I expect would do the job. Thanks, a good idea. Since I started using H2,

Re: Request to a unlocalized URL using the Locale stored on session

2009-11-18 Thread Thiago H. de Paula Figueiredo
Em Wed, 18 Nov 2009 15:53:32 -0200, Juan E. Maya maya.j...@gmail.com escreveu: U can store the locale of the user in a cookie or in db (if u already have a session) and then set the desired locale in a ComponentRequestFilter. It would be something like this: Nice implementation, but why a

Re: Request to a unlocalized URL using the Locale stored on session

2009-11-18 Thread Juan E. Maya
:) u r right tiago! It should a RequestFilter :) My memory betrayed me :) On Wed, Nov 18, 2009 at 7:06 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: Em Wed, 18 Nov 2009 15:53:32 -0200, Juan E. Maya maya.j...@gmail.com escreveu: U can store the locale of the user in a cookie or

Re: DateField customization

2009-11-18 Thread Ilya Obshadko
... anybody, again? :) On Tue, Nov 17, 2009 at 9:05 AM, Ilya Obshadko ilya.obsha...@gmail.comwrote: Could someone give me an idea how do I customize built-in DateField component? I would like to disable Today/None buttons, and make some sort of context dependencies in calendar itself (for

Re: simulate form submission events without Submit component

2009-11-18 Thread Ilya Obshadko
On Wed, Nov 18, 2009 at 5:59 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: Em Wed, 18 Nov 2009 11:22:03 -0200, Ilya Obshadko ilya.obsha...@gmail.com escreveu: ... anybody? Thanks! I thought about something similar, but I was hoping that it's possible without such kind of

Re: problem with Secure configuration

2009-11-18 Thread Szemere Szemere
Resurrecting an old thread. We recently upgraded from 5.0.18 to 5.1.0.x and have unsuspectingly got hammered by this feature (bug). When making application breaking changes like this between versions, it would be nice if there was a warning or error message for it. The docs are also out of date

Re: Best server for development and for production?

2009-11-18 Thread Juan E. Maya
I use tomcat with the sysdeo plugin (http://www.eclipsetotale.com/tomcatPlugin.html), although as pointed out by Tiago tapestry reduces the need of deploy-on-change, still the code in the business layer of the application requires a redeploy. Sysdeo although not perfect, reduces the deploys to

Res: Request to a unlocalized URL using the Locale stored on session

2009-11-18 Thread Everton Agner
Thanks a lot, Juan and Thiago! We'll try to implement this idea... :) De: Juan E. Maya maya.j...@gmail.com Para: Tapestry users users@tapestry.apache.org Enviadas: Quarta-feira, 18 de Novembro de 2009 16:25:55 Assunto: Re: Request to a unlocalized URL using

Re: Devoxx 2009

2009-11-18 Thread Howard Lewis Ship
Wish you had pointed out where to meet and when. I'm in the JDK7 BOF. On Wed, Nov 18, 2009 at 4:55 AM, cordenier christophe christophe.corden...@gmail.com wrote: Hi Is there any other Tapestry folk here at the devoxx ? Should Maybe we can meet at the end of the day. Cheers Christophe.

jetty embeded

2009-11-18 Thread Alfonso Quiroga
Hi! I'm using by now RunJettyRun plugin and works OK (I have my projects managed with M2ECLIPSE -maven-). Now I'm trying to do a StartUp.java, without the jetty plugin... I can't find util doc about this... i.e. how to add .jars to the classpath, and how to set the webapp home (/main/webapp). Can

Re: jetty embeded

2009-11-18 Thread Thiago H. de Paula Figueiredo
Em Wed, 18 Nov 2009 17:09:51 -0200, Alfonso Quiroga alfonsose...@gmail.com escreveu: Hi! I'm using by now RunJettyRun plugin and works OK (I have my projects managed with M2ECLIPSE -maven-). Now I'm trying to do a StartUp.java, without the jetty plugin... I can't find util doc about this...

Re: T 5.1 vs 5.0 JSON encoding - breaks IE8

2009-11-18 Thread buckofive
Since we recently also fixed a major bug concerning application security, I'd say we should do a 5.1.0.6 release. +1 There should also be a new version of the 5.0 branch with any new security fixes +1 -- View this message in context:

Re: simulate form submission events without Submit component

2009-11-18 Thread Ilya Obshadko
Finally, I've managed to create generic-purpose mixin that can trigger form submit on any type of event and on any element within t:form component. It works using standard Tapestry mechanisms (similarly to original Submit component), supports multiple submit triggers within single form (analogous

Re: Number Formatting in TextField (T5)

2009-11-18 Thread Benny Law
Thanks Thiago. I was hoping that someone had already implemented a generic numeric translator that allowed formatting to be specified at the field level, e.g. number of decimal places, whether or not thousands separators should be displayed, etc. If I need to implement it myself, I would like to

Re: Number Formatting in TextField (T5)

2009-11-18 Thread Thiago H. de Paula Figueiredo
Em Wed, 18 Nov 2009 22:02:42 -0200, Benny Law benny.mk@gmail.com escreveu: If I need to implement it myself, I would like to know how best to provide this info to the translator on a per field basis. AFAIK, it's not possible. Should I create a NumericField component (subclass of

Re: simulate form submission events without Submit component

2009-11-18 Thread Ilya Obshadko
On Thu, Nov 19, 2009 at 1:10 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: Em Wed, 18 Nov 2009 20:00:22 -0200, Ilya Obshadko ilya.obsha...@gmail.com escreveu: Finally, I've managed to create generic-purpose mixin that can trigger form submit on any type of event and on any