Hi !

I have 2 components on a page :  a chart (A) and a form containing details
about the chart (B).
They both communicate through ajax.

On pressing a link on A , B gets filled in with the details.
On submiting the form (B) , A gets refreshed(a new chart is generated
reflecting the modifications from the form).

Pressing the link on A is infact calling
tapestry.linkOnClick('
http://localhost:8080/MyPage,B.sdirect?updateParts=B&objectId=732921506','B',false)
};

I see that along with the initialization script of B is also called the
initialization script of A.
Also , the A gets rerendered : methods like pageBeginRender ,
prepareForRender (in which i'm doing the generation of the chart) are called
on component A.

The re execution of script is not of so much trouble as the rerendering of
component A ( since the chart is regenerated, even is not needed to be
refreshed).

Is this the expected behavior or i'm doing something wrong ?

Thanks,
Alex

Reply via email to