modalWindow setContent

2010-09-26 Thread cabra
Hi all. on my page i have search form. All i need is: user makes some input and then presses search button, and on this button click form should be submitted and modalwindow with search results should uppear. -- View this message in context:

Re: modalWindow setContent

2010-09-26 Thread cabra
Hi all. Thank you for replies but this is not what i want. The problem is that as I understood I should do like this modal.setcontent and then add(modal) but i need to do modal.setcontent after form is submitted. will this work or not? -- View this message in context:

Re: modalWindow setContent

2010-09-26 Thread cabra
Hi this is part of my code. Something like that: final DateTimeField from = new DateTimeField(start, new Model()); add(from); final DateTimeField till = new DateTimeField(end, new Model());

modalWindow and modelObject

2010-09-22 Thread cabra
Hi. I am newbie in wicket and I have a question about modalWindow and modelObject. As I understood there must be a panel in modalwindow with form. But why I can't put form directly to modalwindow? My task is: I have list generated from my database. Listitem item has name description and at