Re: How to call Java Function from JavaScript

2015-06-04 Thread skdhir
Hi andunslg, I'm a newbie to Wicket and going through the same trouble. Can you please end to end complete example ? Thanks, Sanat. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-call-Java-Function-from-JavaScript-tp4660028p4671077.html Sent from the Users

Re: editing response in onComponentTag

2015-06-04 Thread msalman
Thanks so much for your reply. I tried to do it as following. But could not make it work. Obviously I have no idea what I am doing. I would appreciate very much if you will help me out here. Thanks. private static class RequiredLabel extends SimpleFormComponentLabel {

Re: Dynamic resources and ajax calls

2015-06-04 Thread Edgar Merino
Hello, thanks for the response, what do you mean exactly by delegate to the mounted resource? I'm thinking I can mount the images resource, and simply reference them using their URI (is this what you mean by delating the call to the mounted resource?), so even if users replace the panel, image

Re: editing response in onComponentTag

2015-06-04 Thread Martin Grigorov
Hi, Better use a Behavior that is attached to SimpleFormComponentLabel. Use #beforeRender() to prepend the asterisk. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Jun 4, 2015 at 5:14 AM, msalman mohammad_sal...@yahoo.com wrote: Please see the following

Dynamic resources and ajax calls

2015-06-04 Thread Edgar Merino
Hello: I'm having a problem with dynamic resources and ajax calls, I have a panel that includes some image thumbnails, these thumbnails may take between 5 and 30 seconds, if a user attemps to cancel loading of this images and loading another panel (e.g. replacing the panel), an exception

Re: Dynamic resources and ajax calls

2015-06-04 Thread Ernesto Reinaldo Barreiro
Hi, I see two options 1- Block the screen while images are being loaded so user has to wait. or 1- Mount a resource serving images thumbnails. 2- Panel showing those thumbnails just delegates into mounted resource. So, image generation will be faster and panel replacement will be more

Re: Dynamic resources and ajax calls

2015-06-04 Thread Edgar Merino
Thank you both, I'll work on this per your suggestions. On 04/06/15 03:10, Martin Grigorov wrote: On Thu, Jun 4, 2015 at 11:04 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: @Martin, Yes I mean exactly that... And if you are clever enough you can do some optimizations like

Re: Dynamic resources and ajax calls

2015-06-04 Thread Ernesto Reinaldo Barreiro
Hi, On Thu, Jun 4, 2015 at 10:10 AM, Martin Grigorov mgrigo...@apache.org wrote: On Thu, Jun 4, 2015 at 11:04 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: @Martin, Yes I mean exactly that... And if you are clever enough you can do some optimizations like caching

Re: Dynamic resources and ajax calls

2015-06-04 Thread Ernesto Reinaldo Barreiro
Hi, On Thu, Jun 4, 2015 at 9:43 AM, Edgar Merino donvo...@gmail.com wrote: Hello, thanks for the response, what do you mean exactly by delegate to the mounted resource? I'm thinking I can mount the images resource, and simply reference them using their URI (is this what you mean by delating

Re: Dynamic resources and ajax calls

2015-06-04 Thread Ernesto Reinaldo Barreiro
@Martin, Yes I mean exactly that... And if you are clever enough you can do some optimizations like caching generated thumbnails :-) On Thu, Jun 4, 2015 at 10:00 AM, Martin Grigorov mgrigo...@apache.org wrote: I think Ernesto suggests to use something like the mounted resources explained

Wicket 6.20 release date?

2015-06-04 Thread tomask79
Hi guys, I'm looking forward to Wicket 6.20. When is the release date planned?...:) Tomas -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-20-release-date-tp4671073.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Dynamic resources and ajax calls

2015-06-04 Thread Martin Grigorov
I think Ernesto suggests to use something like the mounted resources explained at http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ This way the browser will be able to make several requests to the server because there is no locking at the server side as with Page instances. Martin

Re: Dynamic resources and ajax calls

2015-06-04 Thread Martin Grigorov
On Thu, Jun 4, 2015 at 11:04 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: @Martin, Yes I mean exactly that... And if you are clever enough you can do some optimizations like caching generated thumbnails :-) I am not so clever so I'd let the browser and the CDN (if there is