Hi all, I'm developing WicketPortlet which will be used via WSRP. I'm using GateIn 3.5 as a producer and a consumer.
DatePicker works fine when I use portlet straight from the producer portal, but when I try to use it via WSRP something goes wrong. It try to load following file org.apache.wicket.extensions.yui.YuiLib/. I think it should not do anything like that? Error message: 13:32:48,528 ERROR [org.gatein.wsrp.consumer.handlers.InvocationHandler] (http--127.0.0.1-8680-2) The portlet threw an exception: java.io.FileNotFoundException: http://localhost:8085/blaa-web/blaa-web/ps::!blaa.!blaa-web.blaaApplication/resources/org.apache.wicket.extensions.yui.YuiLib/ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.6.0_22] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [rt.jar:1.6.0_22] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [rt.jar:1.6.0_22] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [rt.jar:1.6.0_22] at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1496) [rt.jar:1.6.0_22] at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.6.0_22] at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1490) ... ... ... Caused by: java.io.FileNotFoundException: http://localhost:8085/blaa-web/blaa-web/ps::!blaa.!blaa-web.blaaApplication/resources/org.apache.wicket.extensions.yui.YuiLib/ at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439) [rt.jar:1.6.0_22] at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2301) [rt.jar:1.6.0_22] at java.net.URLConnection.getContentType(URLConnection.java:485) [rt.jar:1.6.0_22] at org.gatein.wsrp.consumer.handlers.DirectResourceServingHandler.performRequest(DirectResourceServingHandler.java:77) [wsrp-consumer-2.2.0.Final.jar:2.2.0.Final] ... 72 more HTML: <input wicket:id="date" style="width: 120px;"/> Does anyone have some ideas how this can be fixed? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DatePicker-doesn-t-work-in-the-WSRP-portlet-tp4659006.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
