Re: Drop

2011-06-22 Thread Mike Mander
Am 22.06.2011 06:54, schrieb Hans Lesmeister 2: FeanorsCurse wrote: However, I still feel like that is an unnecessary step; I don't see any reason why the PropertyModel should not be enough on its own. Please correct me if I am wrong: The model passed in tells the dropdown which object from

Re: Forward button null pointer

2011-06-22 Thread Martin Grigorov
Without a ticket with a quickstart it wont be fixed for the next version. On Tue, Jun 21, 2011 at 9:20 PM, Phil Franken phil.fran...@gmail.com wrote: Am I correct there is a NPE on spring beans after browser forward issue?  Does anyone know when the next version is due?

Wickettester testing a given WizardStep

2011-06-22 Thread datazuul
I have a RegistrationPage containing a Wizard with 5 steps. Now I want to write a WicketTester test for ONE specific WizardStep, let's say step 4. How? (I could write a test clicking through all steps before step 4 as I understood documentation right, but that is not my preferred approach. I want

Re: Forward button null pointer

2011-06-22 Thread Phil Franken
I thought it might be related to this discussion, there is mention of an issue and a fix but I can't locate it... http://markmail.org/search/?q=wicket%20forward%20button#query:wicket%20forward%20button%20order%3Adate-backward+page:2+mid:2scd6viwf5yg2uvn+state:results On 6/22/2011 3:00 AM,

how to create a textfield dynamically

2011-06-22 Thread ssprasad.e
hi, i want to generate components dynamically using java program in wicket. [code=java] import org.apache.wicket.markup.html.WebPage; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.form.TextField; import org.apache.wicket.markup.html.link.Link; import

Re: how to create a textfield dynamically

2011-06-22 Thread Martin Grigorov
You should use a repeater and add the text field to it. See RepeatingView. On Wed, Jun 22, 2011 at 11:03 AM, ssprasad.e ssprasa...@gmail.com wrote: hi,   i want to generate components dynamically using java program in wicket. [code=java] import org.apache.wicket.markup.html.WebPage; import

how to setup guice in unit test

2011-06-22 Thread kamiseq
hej, I ve found something something like this http://blog.yanivkessler.com/2010/06/writing-unit-tests-for-guicey-wicket.htmlbut I think there should be some easier way to setup guice DI. I tried to use AtUnit but it doesnt work with webpages( I get *org.apache.wicket.WicketRuntimeException: There

Re: Wickettester testing a given WizardStep

2011-06-22 Thread Clint Checketts
A wizard is a component, so you should be able to use startComponent for it. On Wed, Jun 22, 2011 at 4:00 AM, datazuul ralf.eichin...@pixotec.de wrote: I have a RegistrationPage containing a Wizard with 5 steps. Now I want to write a WicketTester test for ONE specific WizardStep, let's say

Re: how to setup guice in unit test

2011-06-22 Thread Martin Grigorov
If you talk about wickettester test then I setup it the same way I do it for running in web container - thru IComponentInstantiationListener. I just pass different Giuce module which setups mock services. You can see it in www.jweekend.com/dev/LegUp guice quickstart. On Wed, Jun 22, 2011 at 3:28

Re: Wickettester testing a given WizardStep

2011-06-22 Thread Andrea Del Bene
Hi, WizardStep is a panel so you can use startPanel. I have a RegistrationPage containing a Wizard with 5 steps. Now I want to write a WicketTester test for ONE specific WizardStep, let's say step 4. How? (I could write a test clicking through all steps before step 4 as I understood

Re: how to setup guice in unit test

2011-06-22 Thread kamiseq
ok, then I think I just took the wrong turn ;] I dont know why they bother themselves with custom testRunner pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

Re: CSS Change not being picked up when using TextTemplateResourceReference

2011-06-22 Thread rush66
It's too bad it's not as simple as if (Application.get().getConfigurationType().equalsIgnoreCase(development)) { invalidate(); } It isn't clear to me how I might go about that but It would need to run in something like onAfterRender()? Andrea Del Bene wrote:

Wicket and OSGi

2011-06-22 Thread Harald Wellmann
I'm currently trying to build an OSGi Enterprise stack using Wicket and Apache Aries, and I have a couple of questions and suggestions: 1) Why does the official Wicket artifact include a Dynamic-Import: * header? This should only be used as a last resort... 2) I'd like to @Inject OSGi services

Re: Wicket and OSGi

2011-06-22 Thread Martin Grigorov
Hi, On Wed, Jun 22, 2011 at 8:57 PM, Harald Wellmann harald.wellm...@gmx.de wrote: I'm currently trying to build an OSGi Enterprise stack using Wicket and Apache Aries, and I have a couple of questions and suggestions: 1) Why does the official Wicket artifact include a Dynamic-Import: *

Re: Wicket and OSGi

2011-06-22 Thread Igor Vaynberg
On Wed, Jun 22, 2011 at 10:57 AM, Harald Wellmann harald.wellm...@gmx.de wrote: I'm currently trying to build an OSGi Enterprise stack using Wicket and Apache Aries, and I have a couple of questions and suggestions: 1) Why does the official Wicket artifact include a Dynamic-Import: * header?

Different menu path in a MenuPanel

2011-06-22 Thread César Alberto Barrera
Hello! I have a special menu to build, my HomePage has many links example and I can go to distinct Page HomePage link to Page1, Page 5 In Page 1 has link to Page 2, Page3 Page2 - links to Page 3, Page 4 Page3 - links to Page 2, Page 4 In Page 5 has link to Page 6, Page 7 Page7 - links to Page

Re: Wicket and OSGi

2011-06-22 Thread Harald Wellmann
Am 22.06.2011 20:23, schrieb Igor Vaynberg: On Wed, Jun 22, 2011 at 10:57 AM, Harald Wellmann harald.wellm...@gmx.de wrote: I'm currently trying to build an OSGi Enterprise stack using Wicket and Apache Aries, and I have a couple of questions and suggestions: 1) Why does the official Wicket

Re: Wicket and OSGi

2011-06-22 Thread Harald Wellmann
Am 22.06.2011 20:18, schrieb Martin Grigorov: 1) Why does the official Wicket artifact include a Dynamic-Import: * header? This should only be used as a last resort... https://issues.apache.org/jira/browse/WICKET-3737 Thanks, there's a lot of useful information in that ticket. 2) I'd like

Re: Wicket and OSGi

2011-06-22 Thread Igor Vaynberg
On Wed, Jun 22, 2011 at 12:02 PM, Harald Wellmann harald.wellm...@gmx.de wrote: Am 22.06.2011 20:23, schrieb Igor Vaynberg: On Wed, Jun 22, 2011 at 10:57 AM, Harald Wellmann harald.wellm...@gmx.de  wrote: I'm currently trying to build an OSGi Enterprise stack using Wicket and Apache Aries,