Re: [Wicket-user] Exception on startup with 2.0 latest and greatest

2006-10-23 Thread Eelco Hillenius
That's because of a signature change in IBehavior this weekend:
onRequest now gets the component the request initiated through passed
in. I thought/ think it's a little bit inconsistent that most methods
of IBehavior get the component passed in, and this method didn't,
while the info is available.

I had some problems updating wicket-contrib-dojo and
wicket-contrib-scriptaculous yesterday, but today it seems to have
worked. You might need to update your own code as well if you directly
implement IBehaviorListener, or extend from AbstractAjaxBehavior.

Eelco


On 10/23/06, James McLaughlin [EMAIL PROTECTED] wrote:
 Exception in thread main
 java.lang.ExceptionInInitializerError
 at wicket.Initializer.init(Initializer.java:52)
 at
 wicket.Application.callInitializers(Application.java:808)
 at wicket.Application.initializeComponents
 (Application.java:598)
 at
 wicket.protocol.http.WicketFilter.init(WicketFilter.java:344)
 at
 org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:162)
 at
 org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets
 (WebApplicationHandler.java:145)
 at
 org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:442)
 at
 org.mortbay.http.HttpServer.start(HttpServer.java:647)
 at jetty.Start.main ( Start.java:62)
 Caused by: java.lang.IllegalArgumentException: Method
 public abstract void
 wicket.behavior.IBehaviorListener.onRequest(wicket.Component)
 in interface interface wicket.behavior.IBehaviorListener
 cannot take any arguments
 at
 wicket.RequestListenerInterface.init(RequestListenerInterface.java:116)
 at
 wicket.RequestListenerInterface.init(RequestListenerInterface.java:78)
 at wicket.behavior.IBehaviorListener$1
 .init(IBehaviorListener.java:41)
 at
 wicket.behavior.IBehaviorListener.clinit(IBehaviorListener.java:41)
 ... 9 more


 thanks,
 jim

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Exception on startup with 2.0 latest and greatest

2006-10-23 Thread Eelco Hillenius
Oops, that was a stupid mistake. Too focussed on the bookwriting, so I
didn't get to the testing part. I forgot about the fact that callback
interfaces in Wicket have to be interfaces with one method that takes
no arguments.

Sorry, will fix right away.

Eelco


On 10/23/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
 That's because of a signature change in IBehavior this weekend:
 onRequest now gets the component the request initiated through passed
 in. I thought/ think it's a little bit inconsistent that most methods
 of IBehavior get the component passed in, and this method didn't,
 while the info is available.

 I had some problems updating wicket-contrib-dojo and
 wicket-contrib-scriptaculous yesterday, but today it seems to have
 worked. You might need to update your own code as well if you directly
 implement IBehaviorListener, or extend from AbstractAjaxBehavior.

 Eelco


 On 10/23/06, James McLaughlin [EMAIL PROTECTED] wrote:
  Exception in thread main
  java.lang.ExceptionInInitializerError
  at wicket.Initializer.init(Initializer.java:52)
  at
  wicket.Application.callInitializers(Application.java:808)
  at wicket.Application.initializeComponents
  (Application.java:598)
  at
  wicket.protocol.http.WicketFilter.init(WicketFilter.java:344)
  at
  org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:162)
  at
  org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets
  (WebApplicationHandler.java:145)
  at
  org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:442)
  at
  org.mortbay.http.HttpServer.start(HttpServer.java:647)
  at jetty.Start.main ( Start.java:62)
  Caused by: java.lang.IllegalArgumentException: Method
  public abstract void
  wicket.behavior.IBehaviorListener.onRequest(wicket.Component)
  in interface interface wicket.behavior.IBehaviorListener
  cannot take any arguments
  at
  wicket.RequestListenerInterface.init(RequestListenerInterface.java:116)
  at
  wicket.RequestListenerInterface.init(RequestListenerInterface.java:78)
  at wicket.behavior.IBehaviorListener$1
  .init(IBehaviorListener.java:41)
  at
  wicket.behavior.IBehaviorListener.clinit(IBehaviorListener.java:41)
  ... 9 more
 
 
  thanks,
  jim
 
  -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Exception on startup with 2.0 latest and greatest

2006-10-22 Thread James McLaughlin
Exception in thread main java.lang.ExceptionInInitializerError at wicket.Initializer.init(Initializer.java:52) at wicket.Application.callInitializers(Application.java:808) at wicket.Application.initializeComponents

(Application.java:598) at wicket.protocol.http.WicketFilter.init(WicketFilter.java:344) at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:162) at org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets

(WebApplicationHandler.java:145) at org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:442) at org.mortbay.http.HttpServer.start(HttpServer.java:647) at jetty.Start.main
(
Start.java:62)Caused by: java.lang.IllegalArgumentException: Method public abstract void wicket.behavior.IBehaviorListener.onRequest(wicket.Component) in interface interface wicket.behavior.IBehaviorListener cannot take any arguments
 at wicket.RequestListenerInterface.init(RequestListenerInterface.java:116) at wicket.RequestListenerInterface.init(RequestListenerInterface.java:78) at wicket.behavior.IBehaviorListener$1

.init(IBehaviorListener.java:41) at wicket.behavior.IBehaviorListener.clinit(IBehaviorListener.java:41) ... 9 morethanks,jim

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user