The fix should be in SVN. But there is a bug in 1.2 now that prevents 
rendering datepicker in ajax response, so I wouldn't recommend updating 
right now.

In the meanwhile you can try to disable ajax debug, it should help.

( getAjaxSettings().setAjaxDebugModeEnabled(false) ).

-Matej

Iuly wrote:
> Thanks for the reply. 
> I will detail below the ajax context and also component hierarchy involved. 
> So in my page I have a main container which extends Border component. I’ve
> set on this container
> setOutputMarkupId(true). Let’s name this container A. 
> Panel(extends Panel component) that contains DatePicker component is child
> of A.
> This child defines a form component that has 2 DatePicker components inside
> and associated inputs and also other inputs. Let’s name the child of border
> container B. 
> I’ve called also on form on B setOutputMarkupId(true). 
> 
> First time when the page is rendered all inputs from B are disabled(using
> AttributeModifier) and both DatePicker components work properly. 
> I have also a AjaxSubmitButton that enables all the inputs from B. 
> Clicking on it inputs became enabled (I am using here AttributeModifier),
> but both 
> DatePicker component generate that java script error. 
> What I’m doing in onSubmit method of that AjaxSubmitButton is the following
> : 
> target.addComponent(A);
> 
> As I told you this worked on the previous version of wicket. 
> 
> 
> Regards, 
> Iulian
> 
> 
> 
> 
> Eelco Hillenius wrote:
>> I was trying to reproduce it by placing a datepicker on an ajax tab of
>> the ajax tabs example. But that works just fine and I can't get it to
>> stall.
>>
>> I replied on another thread earlier. Would you mind describing which
>> components you use/ what your context is in that thread?
>>
>> Eelco
>>
>> On 8/31/06, Iuly <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>> I've upgraded my current application to 1.2.2 wicket version. The only
>>> problem that occured is related to DatePicker.
>>> Shortly I have the following use case :  if a panel with a DatePicker
>>> inside
>>> is added to the target after a ajax request, DatePicker component is
>>> opened
>>> but cannot be close. The reason is an javascript error - stack overflow
>>> (calendar.js line 1796). If the page is refreshed then DatePicker works
>>> propely.
>>> This use case worked when I was using previous version on wicket.
>>> How this problem can be avoided or which is the exact cause ?
>>> Btw, wicket  is a great stuff !
>>>
>>> Regards,
>>> Iulian
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/DatePicker-problem---java-script-stack-overflow-error-tf2195736.html#a6076494
>>> Sent from the Wicket - User forum at Nabble.com.
>>>
>>>
>>> -------------------------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job
>>> easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Wicket-user mailing list
>>> Wicket-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>
> 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to