Moreno Cornaz schrieb:
Hello everybody.
I have a page that has two panel P1 and P2. When P1 is rendered P2 is
not and vice versa.
If a make an ajax call in P1 (for example an ajax support with
ajaxSingle="true "on a inputText ) that make P2 rendered and P1 not
rendered I expected jsf processing only the part of the tree involving
P2. By the log in my application it seems that every time I made a
call (ajax or not) jsf processes all the field
in the tree. For example, in my apllication, I get the label of
inputText and outputText from a file of properties. By the log , when
I mak a call in P1 in the render response phase jsf look for all the
label of the components that are in the tree (so also in P1), and not
only of the component in the panel P2 that has to be rendered! Is that
the correct behaviour?
What happens depends very much on *which* ajax implementation you are
using. There is no ajax standard for JSF, so each lib does things
differently.
What ajax lib are you using (tomahawk-pprPanel/trinidad/richfaces/etc)?
What JSF implementation(myfaces/mojarra)?
What JSF version (1.1,1.2)?
Regards, Simon