hi, I am trying to use an ajax lazy load panel.
However when it tries to render the content panel I get an IllegalArgumentException which is caused when wicket tries to resolve the url of a resource that the panel inside the lazy load panel. I have traced the error to inside some tomcat code (tomcat 4), it is this line: String requrl = request.getRequestURL().toString(); inside the toAbsolute method which is causing the problem. Strangely enough the same code on the homepage works fine, and the same code in a test wicket project i made works fine, also I only get this error if the component contains a form, remove the form and the everything works fine. If i remove all of my extra resource references then i get the same error, but for wicket-event.js. Part of my stack trace: 195495 [TP-Processor3] ERROR org.apache.wicket.RequestCycle - ../../../resources/com.XYZ/somecss.css java.lang.IllegalArgumentException: ../../../resources/com.XYZ/somecss.css at org.apache.coyote.tomcat4.CoyoteResponse.toAbsolute(CoyoteResponse.java:1265) at org.apache.coyote.tomcat4.CoyoteResponse.encodeURL(CoyoteResponse.java:925) at org.apache.coyote.tomcat4.CoyoteResponseFacade.encodeURL(CoyoteResponseFacade.java:239) at org.apache.wicket.protocol.http.WebResponse.encodeURL(WebResponse.java:146) at org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.encode(WebRequestCodingStrategy.java:353) at org.apache.wicket.RequestCycle.encodeUrlFor(RequestCycle.java:744) at org.apache.wicket.RequestCycle.urlFor(RequestCycle.java:940) at org.apache.wicket.RequestCycle.urlFor(RequestCycle.java:909) at org.apache.wicket.markup.html.internal.HeaderResponse.renderCSSReference(HeaderResponse.java:87) at org.apache.wicket.ajax.AjaxRequestTarget$AjaxHeaderResponse.renderCSSReference(AjaxRequestTarget.java:747) Thanks, Richard -- View this message in context: http://www.nabble.com/Illegal-argument-exception-when-using-lazy-load-panel-tp15799951p15799951.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]