Re: ajax components rendering behavior

2007-01-07 Thread Alexandru Dragomir
Perhaps not the best solution but it works : I added a flag in an ASO object which controls whether that piece of code i'm interested in should be executed or not. Cheers , Alex On 1/7/07, Norbert Sándor <[EMAIL PROTECTED]> wrote: I think it's normal because in case of your ajax request the e

Re: ajax components rendering behavior

2007-01-07 Thread Norbert Sándor
I think it's normal because in case of your ajax request the entire page is rendered on the server, although just some parts of it are refreshed on the client. Shoot me if I'm wrong :) Regards: Norbi Alexandru Dragomir írta: The script of A is called because is executed in the prepareForRend

Re: ajax components rendering behavior

2007-01-07 Thread Alexandru Dragomir
The script of A is called because is executed in the prepareForRender method. So , i rephrase my question to : Is it the normal behavior that the method prepareForRender of component A (the calling component) is called when B is requested to refresh ? Thanks a lot ! Alex On 1/7/07, Alexandru D

ajax components rendering behavior

2007-01-07 Thread Alexandru Dragomir
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