Re: zone update ajaxResponseRenderer.addRender vs zone.getBody

2013-01-29 Thread sommeralex
thank you 2013/1/29 Howard Lewis Ship [via Tapestry] < ml-node+s1045711n5719664...@n5.nabble.com> > Also, you're seeing some evolution of the framework here, all at once. > > The Zone component was pretty early in Tapestry, but the ability to update > multiple Zone's all in a single request came

Re: zone update ajaxResponseRenderer.addRender vs zone.getBody

2013-01-29 Thread Howard Lewis Ship
Also, you're seeing some evolution of the framework here, all at once. The Zone component was pretty early in Tapestry, but the ability to update multiple Zone's all in a single request came later. The deprecated MultiZoneUpdate object was the older way to update multiple zones, but it was tediou

Re: zone update ajaxResponseRenderer.addRender vs zone.getBody

2013-01-29 Thread Muhammad Gelbana
If I remember correctly, the first one returns the zone including the enclosing tags, while the later returns only the zone's body ! Like: ...body... so the later returns "...body...", while the first one returns the whole structure: ...body... So your zone eventually will be:

zone update ajaxResponseRenderer.addRender vs zone.getBody

2013-01-29 Thread sommeralex
Hi, Whats is the difference between ajaxResponseRenderer.addRender("myZone", myZone); and return myZone.getBody(); ? thx -- View this message in context: http://tapestry.1045711.n5.nabble.com/zone-update-ajaxResponseRenderer-addRender-vs-zone-getBody-tp5719659.html Sent from the Tapestry

Re: 5.4 - Javascript best practices

2013-01-29 Thread Steve Eynon
I've just noticed that @Import now has a "module" parameter, that can be used for modules & methods that take no parameters. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h.

Re: parameter in tml page?

2013-01-29 Thread Steve Eynon
Okay, I getcha. You can use String literals if that helps... e.g. ${getObject('bob')} - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: How to get code coverage of Integration Test ?

2013-01-29 Thread Lenny Primak
Have you tried running in production mode? That might work better. On Jan 29, 2013, at 3:05 AM, Stephan Windmüller wrote: > On 28.01.2013 15:58, Julien Smadja wrote: > >> I have a coverage percent for classes in packages like domain, but nothing >> in pages or components. >> >> Do you have

Re: AJAX Filtered Grid and Firefox

2013-01-29 Thread Lance Java
This won't solve your problem but I would change: onchange="document.getElementById('filterCriteria').performSubmit()" to: onchange="this.form.performSubmit()" -- View this message in context: http://tapestry.1045711.n5.nabble.com/AJAX-Filtered-Grid-and-Firefox-tp5719647p5719650.html Sent from

Re: parameter in tml page?

2013-01-29 Thread Thiago H de Paula Figueiredo
On Tue, 29 Jan 2013 09:19:19 -0200, sommeralex wrote: Hi Thiago! Hi! The point is, i want to change my tml pages as quick and easy as possible. And you end up with a mess of a template . . . With Tapestry's live class reloading, you don't need to write ugly, logic-full templates to h

Re: How to get code coverage of Integration Test ?

2013-01-29 Thread Stephan Windmüller
On 29.01.2013 11:29, Julien Smadja wrote: > Unfortunately, I think I won't be able to automatize this task. You could try the integration server from Jetbrains, Teamcity, but I do not know if it is able to perform the same instrumentation as IDEA. http://www.jetbrains.com/teamcity/ - Stephan

Re: parameter in tml page?

2013-01-29 Thread sommeralex
Hi Thiago! The point is, i want to change my tml pages as quick and easy as possible. I have a method, which is giving me, what i need. getObject(String key). If TML would support parameters for functions, i could easily write ${getObject(x)} ${getObject(y)} and so on. Otherwise, i have

Re: How to get code coverage of Integration Test ?

2013-01-29 Thread Julien Smadja
Yes, it works. I had to use Tomcat server instead of mvn tomcat:run command in Intellij Idea. Unfortunately, I think I won't be able to automatize this task. Thank you for your answer.

Re: tapestry jQuery theme

2013-01-29 Thread John
Thanks for that additional tip, that's a neat component. Here's what I did to substitute the theme smoothness. 1) obtain the relevant theme version (i.e. 1.8.19) http://code.google.com/p/jquery-ui/downloads/detail?name=jquery-ui-themes-1.8.19.zip&can=2&q= 2) create a themes directory under weba

Re: tapestry jQuery theme

2013-01-29 Thread Emmanuel DEMEY
you can have a look too the tapestry5-jquery-demo project : https://github.com/got5/tapestry5-jquery-demo. And in particular this commit : https://github.com/got5/tapestry5-jquery-demo/commit/3e516d87de82fe2910c61e19043f84004a055306and its ThemeSwitcher class. Manu 2013/1/29 John > Hi, > > Y

Re: tapestry jQuery theme

2013-01-29 Thread John
Hi, Yes I found this thread http://tapestry.1045711.n5.nabble.com/tapestry5-jquery-2-6-0-change-theme-td5527692.html I don't understand how the Tapestry-jQuery5 site is able to swap themes using a drop down combo box in the page? Any ideas? John - Original Message - From: Emmanuel

Re: How to get code coverage of Integration Test ?

2013-01-29 Thread Julien Smadja
Thank you, I'll test your solution with Idea 12, and I'll tell you if it works too. 2013/1/29 Stephan Windmüller > On 28.01.2013 15:58, Julien Smadja wrote: > > > I have a coverage percent for classes in packages like domain, but > nothing > > in pages or components. > > > > Do you have a solut

Re: How to get code coverage of Integration Test ?

2013-01-29 Thread Stephan Windmüller
On 28.01.2013 15:58, Julien Smadja wrote: > I have a coverage percent for classes in packages like domain, but nothing > in pages or components. > > Do you have a solution for this ? Is this a problem with javassist ? IIRC we had the same problem using EMMA[0]. What did work was the code covera