It didn't work:

Oups ... org.apache.tapestry5.runtime.ComponentEventException: A component
event handler method returned the value
MultiZoneUpdate[{page=org.apache.tapestry5.corelib.components.Zone@1799a64, 

May it's because in the javascript file the call to the load fucntion is
made lie that:

jQuery(document).bind(Tapestry.ZONE_UPDATED_EVENT, function(e){ 
        //load(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12);
        load(jsonObject);
});

...
Tapestry.Initializer.load = function load(jsonObject){
//function load(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12){
errorText.text(jsonObject.m1)
...
}

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Difference-between-renderSupport-addScript-and-JSON-addInit-function-JSON-Object-tp5105620p5119428.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to