Re: How to override URLs generated by bookmarkable mapper

2012-11-21 Thread Martin Grigorov
Hi, You can set request header 'Wicket-Ajax-BaseURL' for your Ajax calls. https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js#L433 With 'beforeSend' handler you can override it. Example:

Manual procedure to update Wicket for NetBeans

2012-11-21 Thread Ian Marshall
I develop my Wicket application using NetBeans and Ant (not Maven). I have a manual procedure, which I use whenever I update my IDE to a new version of Wicket (comprising downloading files and then creating a new NetBeans Ant library). I have recently amended this to cater for changes needed for

AJAX not working after migrating from wicket 1.5.5 to 6.3.0

2012-11-21 Thread shimin_q
I have a wicket application that implements a Form with multiple fields. AJAX form updating behavior onChange() is implemented so that a value change in one field will trigger reset of some other fields. All have been tested working fine in wicket 1.5.5. Now I just migrated to 6.3.0, none of

Re: Manual procedure to update Wicket for NetBeans

2012-11-21 Thread Martin Grigorov
Hi, Please paste it here. Isn't it just download the jars from Maven repos or from Apache Dist and put them in your project structure ? On Wed, Nov 21, 2012 at 4:49 PM, Ian Marshall ianmarshall...@gmail.comwrote: I develop my Wicket application using NetBeans and Ant (not Maven). I have a

Re: Close ModalWindow with key press

2012-11-21 Thread Martin Grigorov
Hi, To be able to focus a div you need to add 'tabindex' attribute to it. On Wed, Nov 21, 2012 at 4:29 PM, Marco Di Sabatino Di Diodoro marco.disabat...@tirasa.net wrote: Hi, I like close my modalwindow with key press event. Before 6.3.0 I used the following code private static

Re: AJAX not working after migrating from wicket 1.5.5 to 6.3.0

2012-11-21 Thread Andrea Del Bene
What exactly is the problem with the new version of Wicket? Is the behavior not executed at all? I have a wicket application that implements a Form with multiple fields. AJAX form updating behavior onChange() is implemented so that a value change in one field will trigger reset of some other

Re: AJAX not working after migrating from wicket 1.5.5 to 6.3.0

2012-11-21 Thread shimin_q
Yes, it appears the onUpdate() was never called with wicket 6.3.0 when I update the value in the DropDownChoice. I am not sure what I need to do to get it working with wicket 6, it was working fine in 1.5.5. -- View this message in context:

Re: AJAX not working after migrating from wicket 1.5.5 to 6.3.0

2012-11-21 Thread shimin_q
Well, maybe the problem is not in this part of wicket code. As I mentioned, everything worked fine for me with wicket 1.5.5. And the problem occurred right after I switched the wicket library from 1.5.5 to 6.3.0. Perhaps I need to tweak my environment or configuration or set up somewhere, or

Re: AJAX not working after migrating from wicket 1.5.5 to 6.3.0

2012-11-21 Thread Martijn Dashorst
Remove all your own jquery includes. Wicket 6 provides the latest and greatest out of the box. Martijn On Wed, Nov 21, 2012 at 6:06 PM, shimin_q smq...@hotmail.com wrote: Well, maybe the problem is not in this part of wicket code. As I mentioned, everything worked fine for me with wicket

Re: How to override URLs generated by bookmarkable mapper

2012-11-21 Thread shimin_q
Just want to report that the #mountPage() option first suggested by Martin seems to have done the trick for me. Now I am hit with the AJAX onUpdate() not getting called problem with Wicket 6.3.0 after I tested the same wicket code fine in 1.5.5, see the new message I posted with my code snippet:

Re: AJAX not working after migrating from wicket 1.5.5 to 6.3.0

2012-11-21 Thread shimin_q
I have in the HTML head: meta name=viewport content=width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no link rel=stylesheet href=http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css; / I need the jquery-mobile stuff, so should I just

Re: wicket-bootstrap navbar - SEARCH button

2012-11-21 Thread Michael Haitz
Hi, i've added support for forms (and all other components) to Navbar component. Please have a look at https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/master/samples/src/main/java/de/agilecoders/wicket/samples/pages/IssuesPage.java best, Michael Am 15.11.2012 um 14:24 schrieb heapifyman

RE: Wicket 6 changes to AjaxLink causing problem

2012-11-21 Thread Chris Colman
I've created a quickstart and provided it in: https://issues.apache.org/jira/browse/WICKET-4875 Regards, Chris -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Thursday, 22 November 2012 12:38 AM To: users@wicket.apache.org Subject: Re: Wicket 6 changes to

adding swing Jframe inside Wicket webpage

2012-11-21 Thread venkat
Hi , In my application, am using one open source tool to compare xml documents, this tool returns JtextPanes as a result , right now am putting these text panes in a Jframe and displaying Jframe. Now i want to show this Jframe inside wicket response page. is there any way I can put swing compoent