Re: WICKET-5083 and Page.isPageStateless

2013-07-10 Thread Sven Meier
How does your application handle transactions? What does org.foo.model.Model#currentTransaction() look like? Sven On 07/10/2013 06:46 AM, Dirk Forchel wrote: Unfortunately not. It's not that easy to create a quickstart without using all the additional stuff we're currently using. I think of

EventBus.push not pushing data to subscribe method

2013-07-10 Thread souvikbhattacharyas
Hi, I am facing a problem during event bus push mechanism. I am able to push my event through EventBus but my @subscribe method not receiving the same. I am using wicket version 6.3.0 My web.xml is servlet servlet-namewicket.ssp/servlet-name

Re: FormComponent independent from the Model/Model object

2013-07-10 Thread Dmitriy Neretin
Thanks to all! I used the Marios approach... The workaroud with another Model worked perfectly. :) @Richard: Everything is possible with javasript, but if wicket offers a huge feature set, I see no need to use js... Regards, Dmitriy 2013/7/10 Paul Bors p...@bors.ws You don't want an empty

Re: why is getHomePage called multiple times?

2013-07-10 Thread dev
Just now I tried to use Wicket 6.9.0 instead of 6.8.0 and things looks be working now. Now it looks to be working out for me :) But now I have two new problems 1) On the HomePage the AJAX is not working. In the Chrome browser console I can see /Uncaught TypeError: Cannot read property

Re: why is getHomePage called multiple times?

2013-07-10 Thread Martin Grigorov
On Wed, Jul 10, 2013 at 4:00 PM, dev your@gmail.com wrote: Just now I tried to use Wicket 6.9.0 instead of 6.8.0 and things looks be working now. Now it looks to be working out for me :) But now I have two new problems 1) On the HomePage the AJAX is not working. In the Chrome browser

Re: OnChangeAjaxBehavior on FormComponentPanel: model object is null

2013-07-10 Thread Sven Meier
You have to attach an AjaxFormComponentUpdatingBehavior to the actual FormComponent that is bound to the input tag. Otherwise no value will be sent to the server. Sven On 07/10/2013 03:00 PM, Martin Dietze wrote: I'v stumbled across something that is really puzzling me. In our project a

Need to know which button is pressed in Modalwindow

2013-07-10 Thread Tommy Sadiq Hinrichsen
Hej I have a modalwindow where in there is a save button and a cancel button. When i pres the cancel button i somehow need to know that this button has been pressed. I tried creating the modalpage as an inner class of the modal class, and in that class editing a variable in the modal class. But

Re: Need to know which button is pressed in Modalwindow

2013-07-10 Thread Martin Makundi
Look at xxButtonCallback 2013/7/10 Tommy Sadiq Hinrichsen tommy.ly...@gmail.com: Hej I have a modalwindow where in there is a save button and a cancel button. When i pres the cancel button i somehow need to know that this button has been pressed. I tried creating the modalpage as an

Re: ajax update page in iframe

2013-07-10 Thread haiko
Thanks for your reply Paul. The usecase is that the outer page has options to configure the inner page. On selecting an option in the outer page the inner page should be refreshed so the user can see how it looks. I think the usecase justifies using an iframe on a conceptual level,

Adding border in border

2013-07-10 Thread miao2oo
Hi need some help here. Anyone knows how to add a Border in a Border. Eg. [HTML] wicket:border wicket:id=mainBorder wicket:border wicket:id=subBorder1 /wicket:border wicket:border wicket:id=subBorder2 /wicket:border /wicket:border [Java] public

Re: Adding border in border

2013-07-10 Thread Igor Vaynberg
SubBorder.java class SubBorder extends Border { SubBorder() { ... } } SubBorder.html wicket:border xmlns:wicket ... border:body/ ... /wicket:border MainBorder.java class MainBorder extends Border { MainBorder() { addToBorder(new SubBorder(sub1)); addToBorder(new