Hi Sergey -
Sergey Smirnov wrote On 3/10/2009 2:12 PM ET:
<h:panelGrid>
<!-- Turn on Ajax for the two input texts -->
<f:ajax event="valueChange">
<h:inputText value="foo"/>
<h:inputText value="bar"/>
</f:ajax>
</h:panelGrid>
How many columns will be rendered : two or one?
Two. <f:ajax> is not a component, so does not influence the component
tree hierarchy. The above is just a convenience for:
<h:panelGrid>
<h:inputText value="foo">
<f:ajax event="valueChange">
</h:inputText>
<h:inputText value="bar">
<f:ajax event="valueChange">
</h:inputText>
</h:panelGrid>
Andy