Re: Opening a Modal window on page load in Wicket 6

2014-06-02 Thread Martin Grigorov
Hi, Wicket sources are publicly available. Use them! It will save you a lot of time! ;-) Here is the related code: Page page = createPage(); if (page == null) { throw new WicketRuntimeException(Error creating page for modal dialog.); } So it seems your page creator is null. Martin Grigorov

Remember Wicket.Ajax.ajax bindings after altering DOM with javascript.

2014-06-02 Thread denethon
Hi I'm in the process of updating a wicket application from wicket 1.5 to wicket 6, and have come across a challenge regarding third party javascript code altering the DOM after markup has been sent to the client. Basically there are several section elements in the markup who are distributed

Re: Remember Wicket.Ajax.ajax bindings after altering DOM with javascript.

2014-06-02 Thread Martin Grigorov
Hi, How do you move the HTML element with id ajaxLinkID ? I think you can use jQuery#clone(true, true) to preserve the event bindings of the original HTML element. Martin Grigorov Wicket Training and Consulting On Mon, Jun 2, 2014 at 1:06 PM, denethon toremins...@hotmail.com wrote: Hi I'm

TDD - End to End acceptance test - how to set form field values

2014-06-02 Thread lucast
Dear Forum, I'm trying to (retro) fit TDD into my Wicket project (Wicket Spring Hibernate) after reading growing object-oriented software guided by tests by Steve Freeman and Nat Pryce. One of the first thing the book suggest is to write an acceptance test for each feature. The simple feature I

Re: TDD - End to End acceptance test - how to set form field values

2014-06-02 Thread Martin Grigorov
Hi, On Mon, Jun 2, 2014 at 1:33 PM, lucast lucastol...@hotmail.com wrote: Dear Forum, I'm trying to (retro) fit TDD into my Wicket project (Wicket Spring Hibernate) after reading growing object-oriented software guided by tests by Steve Freeman and Nat Pryce. One of the first thing the

Re: Remember Wicket.Ajax.ajax bindings after altering DOM with javascript.

2014-06-02 Thread denethon
Using clone(true, true) solved it! Thank you for your fast response :-) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Remember-Wicket-Ajax-ajax-bindings-after-altering-DOM-with-javascript-tp4666091p4666095.html Sent from the Users forum mailing list archive at

Re: Remember Wicket.Ajax.ajax bindings after altering DOM with javascript.

2014-06-02 Thread Martin Grigorov
This is how we work here! ;) Have fun! Martin Grigorov Wicket Training and Consulting On Mon, Jun 2, 2014 at 2:01 PM, denethon toremins...@hotmail.com wrote: Using clone(true, true) solved it! Thank you for your fast response :-) -- View this message in context: