Re: Version 6.0.0-beta3: Ajax upload file is not working in IE
Hi, Please create a ticket with a quickstart. On Wed, Aug 8, 2012 at 9:05 AM, David JavaDeveloper javadeveloper.da...@gmail.com wrote: Hi, The description of the problem: In IE (IE8, IE9), when pressing on the button that supposed to do the Ajax upload – a new explorer window is opened with the ajax-response content. and the upload itself failed. Note that in Firefox Chrome it's working well. *You can see the problem in the wicket-examples of version 6.0.0-beta3*. (I took the wicket-examples from the wicket 6.0.0-beta3. download folder, and I created it as a java project. My purpose was to check if this is only my application problem or a real problem. And actually I saw that a similar problem exists also in the Ajax upload file of wicket-examples of version 6.0.0-beta3. ) I would like to hear if more people are familiar with the issue., and if you think that is a real problem. Thanks David -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Version 6.0.0-beta3: Ajax upload file is not working in IE
Ok, I did. https://issues.apache.org/jira/browse/WICKET-4701 On Wed, Aug 8, 2012 at 9:43 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, Please create a ticket with a quickstart. On Wed, Aug 8, 2012 at 9:05 AM, David JavaDeveloper javadeveloper.da...@gmail.com wrote: Hi, The description of the problem: In IE (IE8, IE9), when pressing on the button that supposed to do the Ajax upload – a new explorer window is opened with the ajax-response content. and the upload itself failed. Note that in Firefox Chrome it's working well. *You can see the problem in the wicket-examples of version 6.0.0-beta3*. (I took the wicket-examples from the wicket 6.0.0-beta3. download folder, and I created it as a java project. My purpose was to check if this is only my application problem or a real problem. And actually I saw that a similar problem exists also in the Ajax upload file of wicket-examples of version 6.0.0-beta3. ) I would like to hear if more people are familiar with the issue., and if you think that is a real problem. Thanks David -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Wicket freelancer job in Vienna, Austria
Dear Wicket folks, we are looking for Wicket developer on a freelancer basis for an ongoing project in Vienna, Austria. If you are potentially interested please do not hesitate to contact me for further details. Best regards, Marco Zapletal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Change http status code on ajax response redirect?
Thanks, Martin - will give that a go! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Change-http-status-code-on-ajax-response-redirect-tp4650793p4651050.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: load page in Wicket and message from web browser
Hi, I never came across such a scenario. Can you show the exact piece of code you are using, i can try to figure out by looking at it. - Regards, Vaibhav Gupta -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/load-page-in-Wicket-and-message-from-web-browser-tp4651042p4651051.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Image is not getting ajax refreshed in wicket 1.5
Hi, I am simply displaying a captcha image which is suppose to refresh on hitting a button: * final String captchaValue = generateRandomString(30); final NonCachingImage image = new NonCachingImage(image, new CaptchaImageResource(captchaValue)); image.setOutputMarkupId(true); AjaxFallbackButton ajaxRegisterSubmitButton = new AjaxFallbackButton( register, registerForm) { protected void onSubmit(AjaxRequestTarget target, final Form? form) { // some processing if (target != null) { image.setImageResource(new CaptchaImageResource(generateRandomString(30))); target.add(feedbackPanel); target.add(image); } } * The code is simple...do I need to put CaptchaImageResource, image variables as private class variabes? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Image-is-not-getting-ajax-refreshed-in-wicket-1-5-tp4651053.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket freelancer job in Vienna, Austria
Hello! I am potentially interested. Can you tell me some details about the project scope and timeline. best regards, Andreas Petersson Am 08.08.2012 12:25, schrieb Marco Zapletal: we are looking for Wicket developer on a freelancer basis for an ongoing project in Vienna, Austria. If you are potentially interested please do not hesitate to contact me for further details. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Image is not getting ajax refreshed in wicket 1.5
Solved...actually my mistake...I was refreshing the image in onError section... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Image-is-not-getting-ajax-refreshed-in-wicket-1-5-tp4651053p4651056.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [6.0] wicket-atmosphere
Hello, It looks like a problem with the WebSockets. I've tried to provide a Locale, but no way: class MySession extends WebSession { private static final long serialVersionUID = 1L; public MySession(final Request req) { super(req); } @Override public void setLocale(final Locale locale) { super.setLocale(new Locale(en, GB)); } } and in my WicketApplication: @Override public Session newSession( final Request req, final Response res ) { return new MySession(req); } It all gives me the same error. BUT if I deactivate the WebSockets, it works: init-param param-nameorg.atmosphere.useWebSocket/param-name param-valueFALSE/param-value /init-param in my web.xml. Regards, Pierre On Wed, Aug 8, 2012 at 5:43 PM, Pierre Goupil goupilpie...@gmail.comwrote: Good afternoon, I'm currently trying and have wicket-atmosphere work. I've looked at the examples and I'm unable to post a message because of this exception: INFO - EventBus - registering component for page 0 for session 971E81ED0E61970FA35A1B03E5B218F8: ERROR - DefaultExceptionMapper - Unexpected error occurred java.lang.IllegalStateException: Request#getLocale() cannot return null, request has to have a locale set on it at org.apache.wicket.Session.init(Session.java:211) at org.apache.wicket.protocol.http.WebSession.init(WebSession.java:92) at org.apache.wicket.protocol.http.WebApplication.newSession(WebApplication.java:536) at org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1557) at org.apache.wicket.Session.get(Session.java:152) at org.apache.wicket.RestartResponseAtInterceptPageException$InterceptData.get(RestartResponseAtInterceptPageException.java:146) at org.apache.wicket.RestartResponseAtInterceptPageException$1.matchedData(RestartResponseAtInterceptPageException.java:211) at org.apache.wicket.RestartResponseAtInterceptPageException$1.getCompatibilityScore(RestartResponseAtInterceptPageException.java:179) at org.apache.wicket.request.mapper.CompoundRequestMapper.mapRequest(CompoundRequestMapper.java:134) at org.apache.wicket.request.cycle.RequestCycle.resolveRequestHandler(RequestCycle.java:182) at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:207) at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:281) at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:245) at org.atmosphere.util.AtmosphereFilterChain.doFilter(AtmosphereFilterChain.java:154) at org.atmosphere.util.AtmosphereFilterChain.invokeFilterChain(AtmosphereFilterChain.java:131) at org.atmosphere.handler.ReflectorServletProcessor$FilterChainServletWrapper.service(ReflectorServletProcessor.java:310) at org.atmosphere.handler.ReflectorServletProcessor.onRequest(ReflectorServletProcessor.java:168) at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:248) at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:166) at org.atmosphere.container.TomcatWebSocketUtil.doService(TomcatWebSocketUtil.java:120) at org.atmosphere.container.Tomcat7BIOSupportWithWebSocket.service(Tomcat7BIOSupportWithWebSocket.java:57) at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:1222) at org.atmosphere.websocket.WebSocketProcessor.dispatch(WebSocketProcessor.java:187) at org.atmosphere.websocket.WebSocketProcessor.dispatch(WebSocketProcessor.java:116) at org.atmosphere.container.TomcatWebSocketHandler.onOpen(TomcatWebSocketHandler.java:58) at org.apache.catalina.websocket.StreamInbound.onUpgradeComplete(StreamInbound.java:228) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:593) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) My code is pretty straight-forward, but just in case, here is the Application: @Override public void init() { super.init(); eventBus = new EventBus(this); ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1); final Runnable beeper = new Runnable() { @Override public void run() { try { eventBus.post(new Date()); } catch (Exception e) {
Page serialization testing
I am in the process of upgrading from version 1.4.13 of Wicket to the latest and greatest 6.0 build. As part of this process, we are finally going through the work of insuring that our wicket component trees are serializable (we have bypassed the serialization process in the past due to a few large hurdles with our domain). As part of testing the serialize/deserialize process, I wrote an IPageManager implementation (to be used only during testing) that only stores serialized pages. Unlike the default Wicket implementation, it does not store the unserialized pages that were accessed in the latest request. My hope with this implementation was to have consistent use of pages that were constructed via deserialization. As I started my testing, I realize that this may not be a viable testing mechanism because it appears as though ajax requests rarely result in a call to PageManager.touchPage (WebPage prevents the page from getting dirty inside an AJAX request - within {WebPage.dirty(boolean isInitialization)}). So currently, any state changes that occur during ajax requests are being lost because those state changes are never saved via my PageManager. Am I missing something here or is my evaluation correct? Any suggestions for making this testing process viable? Also, another question from a larger perspective: I am curious to hear if anyone has any specific gotchas or any other considerations worth mentioning as part of the process of starting to use wicket page serialization and saving to disk. In the past, we have not serialized our pages and our cache only stored to session (up to 5 pages). I believe I have thought about many angles here, but am curious if anyone's experience in doing something similar has led to special considerations for disk space, performance, etc... Thanks for any thoughts! Curtis Crabb
Wicket developers in Atlantic Canada or the Toronto area
My company is looking for developers with in-depth wicket experience, preferably in Atlantic Canada or the Toronto area. This could be full-time or contract work. The position would involve mentoring Wicket developers as well as assisting with on-going wicket development. Anyone interested can reply here or directly to my email address greg.par...@brovada.com. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-developers-in-Atlantic-Canada-or-the-Toronto-area-tp4651060.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Tabbed Panel error
In my html page, the span tag got removed. so pasting it with pre tag. [tabbed panel will be here] -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Tabbed-Panel-error-tp4651059p4651061.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Page serialization testing
To answer my own first question, I am now approaching this from a different angle and simply extending PageManager and overriding getPage to serialize and deserialize at that point... this accomplishes the testing that I would like to and avoids the ajax issues mentioned below. But I am still curious to hear of any suggestions for things to consider during the process of converting to use page serialization and disk data store. Thanks -Original Message- From: Crabb, Curtis [mailto:ccr...@iqnavigator.com] Sent: Wednesday, August 08, 2012 1:18 PM To: users@wicket.apache.org Subject: Page serialization testing I am in the process of upgrading from version 1.4.13 of Wicket to the latest and greatest 6.0 build. As part of this process, we are finally going through the work of insuring that our wicket component trees are serializable (we have bypassed the serialization process in the past due to a few large hurdles with our domain). As part of testing the serialize/deserialize process, I wrote an IPageManager implementation (to be used only during testing) that only stores serialized pages. Unlike the default Wicket implementation, it does not store the unserialized pages that were accessed in the latest request. My hope with this implementation was to have consistent use of pages that were constructed via deserialization. As I started my testing, I realize that this may not be a viable testing mechanism because it appears as though ajax requests rarely result in a call to PageManager.touchPage (WebPage prevents the page from getting dirty inside an AJAX request - within {WebPage.dirty(boolean isInitialization)}). So currently, any state changes that occur during ajax requests are being lost because those state changes are never saved via my PageManager. Am I missing something here or is my evaluation correct? Any suggestions for making this testing process viable? Also, another question from a larger perspective: I am curious to hear if anyone has any specific gotchas or any other considerations worth mentioning as part of the process of starting to use wicket page serialization and saving to disk. In the past, we have not serialized our pages and our cache only stored to session (up to 5 pages). I believe I have thought about many angles here, but am curious if anyone's experience in doing something similar has led to special considerations for disk space, performance, etc... Thanks for any thoughts! Curtis Crabb - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Key = Value search panel with actf
Hi, I'm looking for a component similar to DatePicker which let user to choose a value from a key = value list. It should contain an actf field let user to filter the values. Something like this: http://apache-wicket.1842946.n4.nabble.com/file/n4651064/lov.png thnx., Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Key-Value-search-panel-with-actf-tp4651064.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Key = Value search panel with actf
you can try using this: http://ivaynberg.github.com/select2/ there is also wicket integration in my github -igor On Wed, Aug 8, 2012 at 2:12 PM, Sandor Feher sfe...@bluesystem.hu wrote: Hi, I'm looking for a component similar to DatePicker which let user to choose a value from a key = value list. It should contain an actf field let user to filter the values. Something like this: http://apache-wicket.1842946.n4.nabble.com/file/n4651064/lov.png thnx., Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Key-Value-search-panel-with-actf-tp4651064.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
How to display a grid with empty cells
Hello, I am using Wicket 1.4.17 and need to display a 3x3 table with all of its cells, some of which may not have a model and hence blank. So, if my DataProvider returns 0 elements than I want all 9 cells to be shown as blank. I started using GridView and overrode its populateEmptyItem() method to display empty cells. However, contrary to its JavaDoc Add component to an Item for which there is no model anymore and is shown in a cell this method is not being called unless a row has at least one item (see GrdiView#addItems()). What would the easiest way to accomplish what I need without copying the entire code from GridView class? Any other component that can do that? Thanks, Alec - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to display a grid with empty cells
Hi, I haven't used the GridView directly so I can't help you with it specifically. However, have you considered modifying your provider to always return 9 records with some having an empty placeholder? It's definitely a hack, but it may be worth a try. Bertrand On 08/08/2012 10:56 PM, Alec Swan wrote: Hello, I am using Wicket 1.4.17 and need to display a 3x3 table with all of its cells, some of which may not have a model and hence blank. So, if my DataProvider returns 0 elements than I want all 9 cells to be shown as blank. I started using GridView and overrode its populateEmptyItem() method to display empty cells. However, contrary to its JavaDoc Add component to an Item for which there is no model anymore and is shown in a cell this method is not being called unless a row has at least one item (see GrdiView#addItems()). What would the easiest way to accomplish what I need without copying the entire code from GridView class? Any other component that can do that? Thanks, Alec - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org