Hello there,
I'm making a migration from 4.0.2 to 4.1.6. Everything works great except
rendering one of my components by updateComponent function. This component
is an extended version of contrib:Table. It additionally consist of 3
IScript components. For a first time a page is rendered except that
component (and nothing is there, just empty area, and this is ok, this was
planned). Then, after submitting, during refreshing this area my component
should appear. I'm trying to render it this way:
cycle.getResponseBuilder().updateComponent("dynamicArea");

..the component was rendered, but the scripts weren't. There are 3 actions
added to my component:

onfocus=function1();
onblur=function2();
onclick=function3();
..and when I try to fire them, an error appears:
no function1 found , no function2 found, etc…
..but if I refresh the page with F5 (normal response, not ajax), everything
is ok (the javascript functions are rendered in body element). Does anyone
know how to resolve this problem?
Thanks in advance
Patryk ‘Lentz’ Ziemnicki

-- 
View this message in context: 
http://n2.nabble.com/T4.1.6---UpdateComponents-doesn%27t-rebuild-body-element-tp2320775p2320775.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

Reply via email to