thats alright, my bad, data issues on my end...

cricdigs wrote:
> 
> 
> Ah that did the trick Igor! Thank you so much!
> 
> I am still having some issues getting to child components. Can you point
> me in the right direction there?
> 
> Thanks again!
> 
> 
> 
> igor.vaynberg wrote:
>> 
>> create the spring application context or just a mock - depending on
>> your testing needs, then before giving the springwebapplication to the
>> tester call setApplicationContext(yourcontext); on it.
>> 
>> -igor
>> 
>> 
>> On Jan 9, 2008 12:46 PM, cricdigs <[EMAIL PROTECTED]> wrote:
>>>
>>> I am not sure how to do that...
>>>
>>>
>>>
>>> igor.vaynberg wrote:
>>> >
>>> > spring web application expects the spring container to be available.
>>> > so you need to setup that first and make sure the tester can get to it
>>> >
>>> > -igor
>>> >
>>> >
>>> > On Jan 8, 2008 2:17 PM, cricdigs <[EMAIL PROTECTED]> wrote:
>>> >>
>>> >> Thanks for your quick reply. But sorry, not sure what you mean. This
>>> is
>>> >> my
>>> >> WicketTester:
>>> >>
>>> >> public class StoreWicketTester extends WicketTester {
>>> >>
>>> >>   public StoreWicketTester() {
>>> >>     super(new StoreApplication());
>>> >>   }
>>> >> }
>>> >>
>>> >> And StoreApplication extends SpringWebApplication:
>>> >> public class StoreApplication extends SpringWebApplication {
>>> >>
>>> >> ...
>>> >>
>>> >> }
>>> >>
>>> >> And my test invokes thus:
>>> >>     final StoreWicketTester wicketTester = new StoreWicketTester();
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> igor.vaynberg wrote:
>>> >> >
>>> >> > for springwebapplication you are used to mean
>>> >> springwebapplicationfactory
>>> >> >
>>> >> > -igor
>>> >> >
>>> >> >
>>> >> > On Jan 8, 2008 2:01 PM, cricdigs <[EMAIL PROTECTED]> wrote:
>>> >> >>
>>> >> >> Hi,
>>> >> >>
>>> >> >> I have the same issue. If I use ZeuzGroupApplication.class I get
>>> the
>>> >> >> known
>>> >> >> issue of ClassCastException and  if I use the new
>>> >> ZeuzGroupApplication(),
>>> >> >> I
>>> >> >> get the following error. Any help will be greatly appreciated...
>>> >> >>
>>> >> >> Regards.
>>> >> >>
>>> >> >> java.lang.IllegalStateException: No WebApplicationContext found:
>>> no
>>> >> >> ContextLoaderListener registered?
>>> >> >>         at
>>> >> >>
>>> >>
>>> org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:86)
>>> >> >>         at
>>> >> >>
>>> >>
>>> org.apache.wicket.spring.SpringWebApplication.internalInit(SpringWebApplication.java:77)
>>> >> >>         at
>>> >> >>
>>> >>
>>> org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:511)
>>> >> >>         at
>>> >> >>
>>> >>
>>> org.apache.wicket.protocol.http.MockWebApplication.<init>(MockWebApplication.java:148)
>>> >> >>         at
>>> >> >>
>>> >>
>>> org.apache.wicket.util.tester.BaseWicketTester.<init>(BaseWicketTester.java:204)
>>> >> >>         at
>>> >> >>
>>> >>
>>> org.apache.wicket.util.tester.WicketTester.<init>(WicketTester.java:308)
>>> >> >>         at
>>> >> >>
>>> >>
>>> org.apache.wicket.util.tester.WicketTester.<init>(WicketTester.java:291)
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> David Shepherdson-2 wrote:
>>> >> >> >
>>> >> >> > On 4 Jan 2008, at 1.19 pm, Nino Saturnino Martinez Vazquez Wael
>>> >> wrote:
>>> >> >> >
>>> >> >> >> Ahh, that might just be it then.. I've just verified it. I
>>> guess I
>>> >> >> >> used a too general session, as you wrote the stuff passes when
>>> >> using
>>> >> >> >> websession. Im gonna close the bug.
>>> >> >> >>
>>> >> >> >> Thanks for your help.
>>> >> >> >
>>> >> >> > No probs -- glad there was a good explanation for it in the end!
>>> >> >> >
>>> >> >> > David
>>> >> >> >
>>> >> >> >
>>> >> ---------------------------------------------------------------------
>>> >> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> >> >> > For additional commands, e-mail: [EMAIL PROTECTED]
>>> >> >> >
>>> >> >> >
>>> >> >> >
>>> >> >>
>>> >> >> --
>>> >> >> View this message in context:
>>> >> >>
>>> >>
>>> http://www.nabble.com/Wickettester-and-session--tp14459864p14700073.html
>>> >> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >>
>>> ---------------------------------------------------------------------
>>> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> >> >> For additional commands, e-mail: [EMAIL PROTECTED]
>>> >> >>
>>> >> >>
>>> >> >
>>> >> >
>>> ---------------------------------------------------------------------
>>> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> >> > For additional commands, e-mail: [EMAIL PROTECTED]
>>> >> >
>>> >> >
>>> >> >
>>> >>
>>> >> --
>>> >> View this message in context:
>>> >>
>>> http://www.nabble.com/Wickettester-and-session--tp14459864p14700186.html
>>> >>
>>> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>>> >>
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>>> >>
>>> >>
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> > For additional commands, e-mail: [EMAIL PROTECTED]
>>> >
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Wickettester-and-session--tp14459864p14721011.html
>>>
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Wickettester-and-session--tp14459864p14764013.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to