Re: Zone might result in memory leak

2011-07-03 Thread Nikla Ratinen
Hi, Afaik, zone div contents is replaced by whatever server side returns from event handler method. That is, if you return a zone Tapestry will faithfully replace zone contents with a copy of original zone... after all, you could return a completely different zone than the original one. Ref

Re: Zone might result in memory leak

2011-07-03 Thread Taha Hafeez
Hi I just opened the task manager to see the usage to iexplorer process and it starts increasing by 3 - 80k for each refresh based on the size of the page In chrome, firefox & opera everything seems ok regards Taha On Mon, Jul 4, 2011 at 10:13 AM, Josh Canfield wrote: > What do you use for me

Re: Zone might result in memory leak

2011-07-03 Thread Josh Canfield
What do you use for memory profiling in IE? On Jul 3, 2011 8:36 PM, "Taha Hafeez" wrote: > Hi > > While working on the Zone-refresh component, I was testing it on IE8 and > found that it resulted in memory leak... After working on it the whole day I > couldn't get around it. > > Finally I disabled

Zone might result in memory leak

2011-07-03 Thread Taha Hafeez
Hi While working on the Zone-refresh component, I was testing it on IE8 and found that it resulted in memory leak... After working on it the whole day I couldn't get around it. Finally I disabled the timer and used fast manual clicks to check if the problem was with the zone itself. What I found

Re: Cropper Module

2011-07-03 Thread Kalle Korhonen
Yeah I thought so but your question was so open ended that I figured better not to assume anything. I'm not aware of out-of-box Tapestry ui component, but this particular library is prototype/scriptaculous and BSD-licensed, so should be very close to a drop-in addition to your app. The only thing y

How to get client side Ajax values into a page event

2011-07-03 Thread Mark
I am trying to integrate an image cropper with Tapestry. Users can select the portion of the image they want to keep and then click to crop it--same idea as Facebook, Google Profiles, etc let you crop your portrait when you upload it. I'm using this: http://www.defusion.org.uk/code/javascript-ima

Re: Cropper Module

2011-07-03 Thread Mark
Thanks for your reply. Sorry I wasn't more specific. I meant to handle the user interaction for selecting the portion of an image to crop. So a module that makes it easy to integrate something like this: http://www.defusion.org.uk/code/javascript-image-cropper-ui-using-prototype-scriptaculous/

Re: Cropper Module

2011-07-03 Thread Kalle Korhonen
You don't need a Tapestry module to crop images: BufferedImage cropped = bufferedImage.getSubimage(left, top, width, height); Kalle On Sun, Jul 3, 2011 at 5:09 PM, Mark wrote: > Is there a Tapestry Module (or some example code) floating around > anywhere that allows cropping photos? > > Mark >

Cropper Module

2011-07-03 Thread Mark
Is there a Tapestry Module (or some example code) floating around anywhere that allows cropping photos? Mark - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apa

Re: Ajax callback for checkbox component?

2011-07-03 Thread Thiago H. de Paula Figueiredo
On Sun, 03 Jul 2011 14:54:22 -0300, Joel Halbert wrote: Hi Folks, Hi! Is there an equivalent callback for a checkbox? Not out-of-the-box, but you can use a little bit of custom JavaScript plus a custom event (URL created by ComponentResources.createEventLink()) for that. -- Thiago

Re: Help with "no redeploy, no restart" Tapestry concepts and IntelliJ

2011-07-03 Thread Igor Drobiazko
On Mac I'm pressing cmd + F9 to rebuild and cmd + F10 to update the app. In debug only cmd + F10 is sufficient. Please vote for this issue if you want IDEA to be smarter for Tapestry's live reloading: http://youtrack.jetbrains.net/issue/IDEA-71437 On Sun, Jul 3, 2011 at 9:15 PM, Julien Martin w

Help with "no redeploy, no restart" Tapestry concepts and IntelliJ

2011-07-03 Thread Julien Martin
Hello, I use IntelliJ in order to learn Tapestry (5.2.6). The .war archive is exploded however I have to restart Tomcat in order for the changes in my classes to be visible. Can anyone help please? Regards, Julien.

Ajax callback for checkbox component?

2011-07-03 Thread Joel Halbert
Hi Folks, You can register for an ajax callback from select components like so: page.tml: Page.java: Object onValueChangedFromName(String name) { // update zone } Is there an equivalent callback for a checkbox? Thanks! Joel

Tapestry 5 in Action - MEAP Update

2011-07-03 Thread Guerin Laurent
Great new : chapters 5, 6 and 7 are now available through MEAP. I can't wait to read more. Thanks Igor. Envoyé de mon iPhone