The mentioned Jira does not fix the issue, but it let you see the
exception trace log
My exception looks like this:

Communication with the server failed: TypeError: func is undefined
("")
@http://localhost:8086/bpc/assets/0.0.3-DEV/core/tapestry.js:1830 ()
@http://localhost:8086/bpc/assets/0.0.3-DEV/core/tapestry.js:1850 ()
@http://localhost:8086/bpc/assets/0.0.3-DEV/core/scriptaculous_1_9_0/prototype.js:399
()
@http://localhost:8086/bpc/assets/0.0.3-DEV/core/tapestry.js:340
((void 0),(function ()
{callback.call(this);Tapestry.executeInits(reply.inits);}))
@http://localhost:8086/bpc/assets/0.0.3-DEV/core/tapestry.js:2040
([object Object],(function () {var a = merge(args, arguments);return
__method.apply(context, a);}))
@http://localhost:8086/bpc/assets/0.0.3-DEV/core/tapestry.js:338
([object Object])
@http://localhost:8086/bpc/assets/0.0.3-DEV/core/tapestry.js:1864
([object Object],null)
@http://localhost:8086/bpc/assets/0.0.3-DEV/core/tapestry.js:1889
([object Object],null)
@http://localhost:8086/bpc/assets/0.0.3-DEV/core/scriptaculous_1_9_0/prototype.js:399
([object Object],null)
@http://localhost:8086/bpc/assets/0.0.3-DEV/core/tapestry.js:456 (4)
@http://localhost:8086/bpc/assets/0.0.3-DEV/core/scriptaculous_1_9_0/prototype.js:1610
([object Event])
@http://localhost:8086/bpc/assets/0.0.3-DEV/core/scriptaculous_1_9_0/prototype.js:1553
([object Event])
@http://localhost:8086/bpc/assets/0.0.3-DEV/core/scriptaculous_1_9_0/prototype.js:399
Ajax failure: Status for : TypeError: func is undefined
Communication with the server failed: TypeError: func is undefined


UPDATE: The trace actually lead me to the solution:
I don't know why, but the zone's update function is not set in tapestry.js
Changing my zone definition solved the issue for me:
<span t:type="zone" t:id="phoneAreaCodeZone" t:show="show"
t:hide="fade" t:update="show"> .... </span>




2012/3/26 Denis Stepanov <denis.stepa...@gmail.com>:
> https://issues.apache.org/jira/browse/TAP5-1873
>
> There is a description what should you change to make it work, copy function 
> from tapestry.js, apply changes and replace it: Tapestry.ajaxRequest = ...
> and for better loging: Tapestry.ajaxExceptionHandler = ...
>
> Denis
>
> Mar 26, 2012 v 1:14 PM, Beat Durrer:
>
>> I have this issue too. It occured with the ZoneUpdater from the
>> jumpstart project (http://jumpstart.doublenegative.com.au/)
>> It does not happen in every combination and I couldn't find out what's
>> causing it so I gave up in the end.
>>
>> The code itself works as expected, but it records this error message
>> on each roundtrip.
>>
>>
>> 2012/3/26 Anuj Mittal <anmit...@adobe.com>:
>>> Hi All,
>>>
>>> I am calling server side function using ajax depending on the select 
>>> control and updating a zone accordingly.
>>> Everything is working perfectly except I got "Communication with the server 
>>> failed: undefined" on every ajax call.
>>> Has anybody faced this issue?
>>>
>>>
>>>
>>> With Regards,
>>> Anuj Mittal
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>

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

Reply via email to