Re: 404 error in nested ModalWindow IE 7

2013-03-01 Thread Martin Grigorov
Hi, See org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow#getWindowOpenJavaScript(). There is such code: appendAssignment(buffer, settings.ie8_src, pageUrl); which is used in modal.js: if(Wicket.Browser.isIELessThan9()){

acces denied on AjaxFormSubmitBehavior on ie

2013-03-01 Thread cosmindumy
Hello, Added a formsubmitbehavior on a input type file in order to get the file after it is uploaded on onchange event. I get in console access denied on internet expolrer on form.submit js call. How can this be fixed? Another method would be ajaxformcomponentupdatebehavior but file model is

Re: org.apache.wicket.util.convert.ConversionException: Cannot parse 'abcdef' using format java.text.DecimalFormat@674dc

2013-03-01 Thread Richard W. Adams
Clearly you're not detecting the non-numeric format before trying to parse it. Tracing the execution path with the debugger ought to show where you can capture that?? From: Pratibha pratibha.pari...@gmail.com To: users@wicket.apache.org Date: 03/01/2013 07:20 AM Subject:

jquery dialog and wicket modal window

2013-03-01 Thread fachhoch
jquery ui dialog does shows up behind wicket modal window. I am using wicket 1.4.21 when a modal window is open , next If I click a link which opens jquery dialog it always open behind modalwindow,I can see the dialog only If I close the modal window. -- View this message in context:

Error with Hidden Field and its enum value

2013-03-01 Thread Oscar Besga Arcauz
Hi wickers !! I've a problem with a form and a hidden field. The form has a CompoundPropertyModel of a data class. This class has an enum propertiy, which I want to store into a HiddenField and later retrieve (with the whole data class and the rest of the data). When the panel is rendered,

Re: 404 error in nested ModalWindow IE 7

2013-03-01 Thread Jered Myers
The page is stateless, so it has the same value being set for settings.ie8_src and settings.src in getWindowOpenJavaScript(). It seems that only pages with setStatelessHint(false) hit the second path in the code... IRequestHandler handler = new RenderPageRequestHandler(new

Re: Conflicting settings? isInputNullable and setConvertEmptyInputStringToNull ?

2013-03-01 Thread grazia
Has this been taken care of ? I have an AutoCompleteTextField that always displays null even if I use the setConvertEmptyInputStringToNull (false). In fact, the constructor of the autocomplete has it always set to true ... -- View this message in context:

Re: Error with Hidden Field and its enum value

2013-03-01 Thread Andrea Del Bene
The error occurs because Wicket convert your enum to a string when the form is rendered, then it tries to do the opposite converting the string to your enum. And here we have the problem. Wicket doesn't fin a valid converter (see JAvaDoc of FormComponent.convertInput) to obtain your enum from

Re: 404 error in nested ModalWindow IE 7

2013-03-01 Thread Jered Myers
I added this problem to JIRA. https://issues.apache.org/jira/browse/WICKET-5071 On 03/01/2013 08:29 AM, Jered Myers wrote: The page is stateless, so it has the same value being set for settings.ie8_src and settings.src in getWindowOpenJavaScript(). It seems that only pages with

AjaxSubmitLink.onSubmit() Not Called in FormComponentPanel

2013-03-01 Thread Richard W. Adams
I created an AjaxSubmitLink in a FormComponent Panel, and set a break point in its onSubmit() method. For some reason, the breakpoint never gets hit when I click the link. I've used an AjaxSubmitLink on a normal, non-panel page successfully, and modeled the panelized link after that, so am not

Re: AjaxSubmitLink.onSubmit() Not Called in FormComponentPanel

2013-03-01 Thread Sven Meier
Do you have unrendered feedback messages? Override #onError() and see if it gets invoked. Sven On 03/01/2013 06:53 PM, Richard W. Adams wrote: I created an AjaxSubmitLink in a FormComponent Panel, and set a break point in its onSubmit() method. For some reason, the breakpoint never gets hit

Re: AjaxSubmitLink.onSubmit() Not Called in FormComponentPanel

2013-03-01 Thread Richard W. Adams
Yikes! You're right. OnError() was called instead of onSubmit(). (Hides red face slinks away...) From: Sven Meier s...@meiers.net To: users@wicket.apache.org Date: 03/01/2013 12:24 PM Subject:Re: AjaxSubmitLink.onSubmit() Not Called in FormComponentPanel Do you have

radio button ajax behaviour

2013-03-01 Thread david.li
Hi,I am unable to apply ajax behavior to radio button. there are two radio button in radiogroup.but when click month radio button,i can't check this radio. java code: RadioGroup group=new RadioGroup(group); group.add(new Radio(week)); Radio monthRadio=new Radio(month);

inmethod-grid refresh issue

2013-03-01 Thread saty
I have this strange case where when i do ajax target.add(grid), it does call my grid datasource to request the rows that the grid need to populate but when it finds that rows to be displayed are same what grid already has it does not recreate the grid (i can say that as i notice my get methods on

Re: radio button ajax behaviour

2013-03-01 Thread Sven Meier
What is your problem? Usually you would use FormChoiceComponentUpdatingBehavior on the RadioGroup. Sven david.li lxw_fi...@hotmail.com schrieb: Hi,I am unable to apply ajax behavior to radio button. there are two radio button in radiogroup.but when click month radio button,i can't check this