Re: Foundation integrated in wicket

2014-07-30 Thread vp143
I have implemented Foundation from Zurb with Wicket, currently using version 3 though. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Foundation-integrated-in-wicket-tp4666792p4666796.html Sent from the Users forum mailing list archive at Nabble.com.

Why is MultiFileUploadField not offering protected boolean forceCloseStreamsOnDetach?

2014-07-30 Thread MattyDE
Hi guys, right now I am switching from Singe-FileUpload to MultiFileUpload so I am going to use MultiFileUploadField. But my problem is, that the InputStreams get closed after submitting the form (and refreshing the site - Its inside an wizard of many steps). This happens because of the

Re: Possible error with IComponentInheritedModel(s) and stateful pages

2014-07-30 Thread Raoul Zander
Hi Sven, okay, I created a jira issue + quickstart: https://issues.apache.org/jira/browse/WICKET-5655 . Hope that helps :) Kind regards, rza 2014-07-29 19:53 GMT+02:00 Sven Meier s...@meiers.net: Hi, I agree, that look bogus. WICKET-3413 tried to improve on a similar issue though:

Button and AutoTextLabelResolver

2014-07-30 Thread Patrick Davids
Hi all, it seems it is not possible to use AutoTextLabelResolver with buttons? I always get errors like java.lang.IllegalStateException: no related component found for wicket:label at org.apache.wicket.markup.html.form.AutoLabelTextResolver.resolve(AutoLabelTextResolver.java:258) Button

Re: Why is MultiFileUploadField not offering protected boolean forceCloseStreamsOnDetach?

2014-07-30 Thread Sven Meier
Please create a RFE in Jira. Regards Sven On 07/30/2014 10:00 AM, MattyDE wrote: Hi guys, right now I am switching from Singe-FileUpload to MultiFileUpload so I am going to use MultiFileUploadField. But my problem is, that the InputStreams get closed after submitting the form (and refreshing

is it possible to add a css class to FormComponent.setLabel()?

2014-07-30 Thread lucast
Dear Forum, Currently, I make heavy use of TextField.setLabel(). If adding a css field to TextField is as easy as TextField.add(new AttributeAppender(class, TestCSSClass )); then: How can I add a CSS class to label that has been created for TextField? Thanks in advance, Lucas -- View this

onfocus event getting called recursively in Apache wicket

2014-07-30 Thread suvojit168
I am understanding how to handle JS events like onfocus and onblur in apache wicket. I have a simple form in which there is a textfield. onfocus event on this I am trying to set the textfield to a value. I have observed on running the code that onfocus is called again and again (recursively it

Re: onfocus event getting called recursively in Apache wicket

2014-07-30 Thread Sven Meier
Hi, target.add(this.getComponent()); Wicket will refocus the textField after replacing the markup tag. How can I get the value of actual model and not default model. Sorry, I don't understand that. Regards Sven On 07/30/2014 02:35 PM, suvojit168 wrote: I am understanding how to handle JS

Upgrade to 6.12.0+ with AjaxFormComponentUpdatingBehavior reloads the page

2014-07-30 Thread Behrooz Nobakht
Hi, I just upgraded an Apache Wicket application from 6.12.0 to 6.13.0 with a page including form with the following component: ``` textfield.add(new AjaxFormComponentUpdatingBehavior(onchange) { private static final long serialVersionUID = 1L; @Override protected void

Re: Upgrade to 6.12.0+ with AjaxFormComponentUpdatingBehavior reloads the page

2014-07-30 Thread Sven Meier
Have you tried 6.16.0? Regards Sven On 07/30/2014 07:11 PM, Behrooz Nobakht wrote: Hi, I just upgraded an Apache Wicket application from 6.12.0 to 6.13.0 with a page including form with the following component: ``` textfield.add(new AjaxFormComponentUpdatingBehavior(onchange) { private

Re: Getting intermittent ListenerInvocationNotAllowedException with AjaxEventBehavior

2014-07-30 Thread Lorne Malvo
Hmmm I tried to figure out how to do that but I don't get it. I know to override updateAjaxAttributes() but I'm not sure how of the meaning/function of the childSelector filter string. The selector string that filters the descendants doesn't make too much sense, and I can't find any other

Re: Getting intermittent ListenerInvocationNotAllowedException with AjaxEventBehavior

2014-07-30 Thread Sven Meier
Hi, there might be other solutions too, but perhaps the child selector will fit nicely: https://issues.apache.org/jira/browse/WICKET-5512 Regards Sven On 07/30/2014 07:33 PM, Lorne Malvo wrote: Hmmm I tried to figure out how to do that but I don't get it. I know to override

Re: Upgrade to 6.12.0+ with AjaxFormComponentUpdatingBehavior reloads the page

2014-07-30 Thread Behrooz Nobakht
Yes, I've tried all from 6.13.0 to 6.16.0 and the issue is the same. Thanks, Behrooz On Wed, Jul 30, 2014 at 7:32 PM, Sven Meier s...@meiers.net wrote: Have you tried 6.16.0? Regards Sven On 07/30/2014 07:11 PM, Behrooz Nobakht wrote: Hi, I just upgraded an Apache Wicket

Re: Upgrade to 6.12.0+ with AjaxFormComponentUpdatingBehavior reloads the page

2014-07-30 Thread Sven Meier
Hi, it works fine here with a small example. Please create a quickstart and attach it to a jira issue. Thanks Sven On 07/30/2014 07:42 PM, Behrooz Nobakht wrote: Yes, I've tried all from 6.13.0 to 6.16.0 and the issue is the same. Thanks, Behrooz On Wed, Jul 30, 2014 at 7:32 PM, Sven

Re: onfocus event getting called recursively in Apache wicket

2014-07-30 Thread suvojit168
Hi, Thanks for replying. My requirement is to clear the textfield on onfocus (although here I was trying to set a string in textfield). Unless I add the component to ajaxtarget, how will it be updated on UI? Sven Meier wrote How can I get the value of actual model and not default model.

Re: Upgrade to 6.12.0+ with AjaxFormComponentUpdatingBehavior reloads the page

2014-07-30 Thread Behrooz Nobakht
I tracked down the difference. When using 6.12.0, the HTML source of the page shows: Wicket.Ajax.ajax({u:./wicket/page?3-1.IBehaviorListener.1-table-form-url,e:change,c:url49,ad:true,m:POST}); for the URL textfield that I use the AjaxFormCompnentUpdatingBehavior. However, from 6.13.0, instead

Re: onfocus event getting called recursively in Apache wicket

2014-07-30 Thread Sven Meier
Hi, you should do that with JavaScript only. Sven On 07/30/2014 07:35 PM, suvojit168 wrote: Hi, Thanks for replying. My requirement is to clear the textfield on onfocus (although here I was trying to set a string in textfield). Unless I add the component to ajaxtarget, how will it be

Re: Upgrade to 6.12.0+ with AjaxFormComponentUpdatingBehavior reloads the page

2014-07-30 Thread Sven Meier
Hi, u:./controllers that cannot be a valid url for an ajaxBehavior. You'll have to put a breakpoint in AbstractAjaxBehavior#getCallbackUrl() and see where the url is coming from. Regards Sven On 07/30/2014 10:04 PM, Behrooz Nobakht wrote: I tracked down the difference. When using

Wicketstuff restannotations example throws IllegalStateException: STREAMED with https

2014-07-30 Thread Bruce Lombardi
I want to use the wicketstuff-restannotations library to implement a restful web service. It seem very handy and I was able to get the example code working fine. To make sure I understood how everything was working and how to access from another server I used curl from the command line to send an

Re: Upgrade to 6.12.0+ with AjaxFormComponentUpdatingBehavior reloads the page

2014-07-30 Thread Behrooz Nobakht
Thanks for the hint. It seems that we had a custom MountedMapper with the following specifics: @Override protected void encodePageComponentInfo(Url url, PageComponentInfo info) { // do nothing so that component info does not get // rendered in url