[jsr-314-open] [NEW] <f:ajax> and <f:validateBean> - consistent wrapping solution needed?

Andy Schwartz andy.schwartz at ORACLE.COM
Tue Mar 10 14:54:02 EDT 2009


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






More information about the jsr-314-open-mirror mailing list