users@woodstock.java.net

Problem refreshing Calendar component using fireAjaxTransation

From: Rasha <rasha.abdallah_at_murex.com>
Date: Fri, 7 Dec 2007 09:35:16 -0800 (PST)

Below is a code snippet on how I am trying to update my components
asynchroneously using fireAjaxTransaction:


DynaFaces.fireAjaxTransaction(this, { execute: 'IdOfComponentToSubmit',
render:'IdOfComponentToRender'});

When IdOfComponentToRender is that of a textfield, table, button etc...
there is no problem and everything works correctly .
But When IfOfComponentToRender is that of a calendar, although the refresh
takes place correctly, whenever I attempt to pick another day from the
calendar, I get a javascript error saying: this.domNode is null.
I followed the javascript code for the calendar component, and this could be
taking place in the calendarField.js file at:
webui.suntheme.widget.calendarField.dayClicked=function(_1){
if(_1.date!=null&&_1.id==this.calendar.id){
this.domNode.setProps({value:_1.date});
}

Is there something I'm doing wrong, or is this a bug in the Calendar
component?
Thanks.
Rasha
-- 
View this message in context: http://www.nabble.com/Problem-refreshing-Calendar-component-using-fireAjaxTransation-tf4963388.html#a14216947
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.