Re: Sending Data via Javascript and AJAX

2013-03-07 Thread Hans Lesmeister 2
https://cwiki.apache.org/WICKET/calling-wicket-from-javascript.html - -- Regards, Hans http://cantaa.de -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Sending-Data-via-Javascript-and-AJAX-tp4657008p4657065.html Sent from the Users forum mailing list

Re: [Blog/Demo] Small demo application exploring how AngularJS and Wicket might be integrated

2013-03-07 Thread Sjoerd Schunselaar
Very nice! On Wed, Mar 6, 2013 at 11:45 AM, Andreas Kuhtz andreas.ku...@gmail.comwrote: Thanks for sharing, Ernesto!

Timer-based update to various regions in a page - best approach?

2013-03-07 Thread Martin Dietze
My customer wants me to rewrite an existing application in a way, that the various regions (drag-and-droppable panels) are all updated every xy seconds (most of these panels contain things like list views with search results, the user's mailbox etc.). Following a - what I would call - naive

to add RequestCycleListeners or not to add?

2013-03-07 Thread Artur
Hi Everybody! We just migrated from Wicket 1.4 to Wicket 6.6. In previous version we used IRequestCycleProcessor newRequestCycleProcessor() Now it is gone and all RequestCycle related methods in Application are final. So we thought to add our own listener: getRequestCycleListeners().add(new

Re: to add RequestCycleListeners or not to add?

2013-03-07 Thread Martin Grigorov
Hi, 1) You can add custom IRCLs 2) The IRCL is shared between all sessions so do not keep state in them. You can use RequestCycle's metadata for keeping state On Thu, Mar 7, 2013 at 12:20 PM, Artur a_wron...@gazeta.pl wrote: Hi Everybody! We just migrated from Wicket 1.4 to Wicket 6.6. In

Re: Timer-based update to various regions in a page - best approach?

2013-03-07 Thread Sven Meier
Hi Martin, we had a similar requirement here and decided against ajax polling, since this could add to the server load and prevent session expiration. In Wicket 6 all components are notified of a running Ajax request (#onEvent() with an ART payload). Our special components keep a timestamp

Re: Timer-based update to various regions in a page - best approach?

2013-03-07 Thread Martin Grigorov
Hi, You can use wicket-atmosphere instead Socket.io. Or you can use one Ajax timer that broadcasts an event to all components in the page and each component can decide whether to add itself to the target or not. On Thu, Mar 7, 2013 at 12:20 PM, Martin Dietze d...@fh-wedel.de wrote: My

Re: to add RequestCycleListeners or not to add?

2013-03-07 Thread Artur
On 2013-03-07 11:32, Martin Grigorov wrote: Hi, 1) You can add custom IRCLs 2) The IRCL is shared between all sessions so do not keep state in them. You can use RequestCycle's metadata for keeping state Thanks for clarification. And one more thing. Is the recommended solution to set MetaData

Re: to add RequestCycleListeners or not to add?

2013-03-07 Thread Martin Grigorov
On Thu, Mar 7, 2013 at 12:58 PM, Artur a_wron...@gazeta.pl wrote: On 2013-03-07 11:32, Martin Grigorov wrote: Hi, 1) You can add custom IRCLs 2) The IRCL is shared between all sessions so do not keep state in them. You can use RequestCycle's metadata for keeping state Thanks for

Re: Timer-based update to various regions in a page - best approach?

2013-03-07 Thread Ernesto Reinaldo Barreiro
Martin, Disregarding the approach you follow to poll (or get pushed) changes I would advice, if the volume of changes is big, not to repaint the whole components but to pass some deltas with changes (e.g. in JSON format) and do the repainting at client: I have used previous approach before and

Re: Timer-based update to various regions in a page - best approach?

2013-03-07 Thread Martin Dietze
On Thu, March 07, 2013, Martin Grigorov wrote: Or you can use one Ajax timer that broadcasts an event to all components in the page and each component can decide whether to add itself to the target or not. That looks pretty interesting. If I understand you correctly, they would all add

Re: Timer-based update to various regions in a page - best approach?

2013-03-07 Thread Martin Dietze
On Thu, March 07, 2013, Sven Meier wrote: Our customer can live with the limitations of this solution: As long as the user doesn't do anything, he won't see any updated data. Unfortunately, ours won't :/ Cheers, M'bert -- --- / http://herbert.the-little-red-haired-girl.org /

Re: Timer-based update to various regions in a page - best approach?

2013-03-07 Thread Martin Grigorov
On Thu, Mar 7, 2013 at 1:51 PM, Martin Dietze d...@fh-wedel.de wrote: On Thu, March 07, 2013, Martin Grigorov wrote: Or you can use one Ajax timer that broadcasts an event to all components in the page and each component can decide whether to add itself to the target or not. That

Wicket modal

2013-03-07 Thread Oscar Besga Arcauz
Hi wickers ! I'm using a ModalWindow to show a simple phrase where a form is sent to the server. I used ModalWindow wModal = new ModalWindow(ventanaModal); wModal.setAutoSize(true); wModal.setResizable(false); But when I show the wModal (with wModal.show(target);  ), the inner panel gets a

download indicator for long downloads

2013-03-07 Thread fachhoch
I have a download link, clicking on this generates a word documents and starts downlaod, the word generation takes time , is there any way I can put an indicator using java script , jquery ... as this link has to download I am using Link not AjaxLink any suggestions ? I am using wicket 1.4.20

Wizard extension and callbackUrl

2013-03-07 Thread Entropy
Hi all, I have a wizard upon which resides a third party js control. This control needs a callbackUrl to contact me at. I did this find within a page by using an AbstractAjaxBehavior and the following line: callbackUrl =

Re: download indicator for long downloads

2013-03-07 Thread Paul Bors
There is a progress bar for the upload field, see the Upload form with progress bar example at: http://www.wicket-library.com/wicket-examples/upload/single It shouldn't be too hard to change it for downloads. Then again, there should be tons of widgets out there in jQuery that do the same thing

Creating My Own AjaxFallbackDefaultDataTable

2013-03-07 Thread dhongyt
Hey guys, I'm new to Wicket and trying to learn everything I can. I'm looking at the AjaxFallbackDefaultDataTable and like how the top left corner displays a item counter + total items. I'm currently trying to do that to my DataView that I have created. wicket:extend

jquery-ui-calendar browser/scrolling problem

2013-03-07 Thread Brian
I am using the com.googlecode.wicket-jquery-ui Calendar. http://apache-wicket.1842946.n4.nabble.com/file/n4657090/TopOfScreen.png As you can see in the image above, the browser window is scrolled all the way to the top. The red circle represents where the cursor has clicked on the screen. In

Re: Wicket Tester with BookmarkablePageLink

2013-03-07 Thread yka
Thanks mate. Works fine now :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Tester-with-BookmarkablePageLink-tp4656921p4657091.html Sent from the Users forum mailing list archive at Nabble.com.

Re: jquery-ui-calendar browser/scrolling problem

2013-03-07 Thread Sebastien
Hi Brian, What browser are you using? Are you able to reproduce it here for instance? http://www.7thweb.net/wicket-jquery-ui/calendar/ExtendedCalendarPage I would think that it's an issue in the jQuery calendar plugin (fullcalendar.js), but I don't see any reported related issue about that...