chap2
1.<a4j:outputPanel> has a special attribute called ajaxRendered, and when set to true, it will indicate that all components inside will always be rerendered.
chap3
1.Because <a4j:support> attaches to the parent event handler, the following will [color=red]not work[/color] because the literal value (alert('up')) takes precedence:
<h:inputText value="#{userBean.name}" οnkeyup="alert('up')">
<a4j:support event="onkeyup" reRender="echo"/>
</h:inputText>
这里的aj4:support不执行
2.The <a4j:region> tag lets you specify which components will be processed (processed includes decoding, conversion, validation, and model updating) on the server. Keep in mind that the full form is still submitted. But, only components inside this region will be processed
If you don’t specify a region, the whole page becomes a region, which means the full form will be processed.
3. 常见问题<a4j:region> [color=red]is used only[/color] to indicate which components will be processed. Partial-page updating is still done with reRender or with <a4j:outputPanel ajaxRendered="true">.
注:<a4j:region>只是指定那些组件将被处理.而那些更新仍然是<a4j:outputPan...>或者reRender来决定
而ajaxSingle则是指定单个(包括单个a4j:commandButton或者a4j:commandLink也有ajaxSingle属性)的组件提交后是否处理,(a4j:region是指定一个区域的),单个在进行类型校验的地方非常有用.
process属性将能够指定region或者ajaxSingle以外的某些组件也被处理见PDF55的详解
1.<a4j:outputPanel> has a special attribute called ajaxRendered, and when set to true, it will indicate that all components inside will always be rerendered.
chap3
1.Because <a4j:support> attaches to the parent event handler, the following will [color=red]not work[/color] because the literal value (alert('up')) takes precedence:
<h:inputText value="#{userBean.name}" οnkeyup="alert('up')">
<a4j:support event="onkeyup" reRender="echo"/>
</h:inputText>
这里的aj4:support不执行
2.The <a4j:region> tag lets you specify which components will be processed (processed includes decoding, conversion, validation, and model updating) on the server. Keep in mind that the full form is still submitted. But, only components inside this region will be processed
If you don’t specify a region, the whole page becomes a region, which means the full form will be processed.
3. 常见问题<a4j:region> [color=red]is used only[/color] to indicate which components will be processed. Partial-page updating is still done with reRender or with <a4j:outputPanel ajaxRendered="true">.
注:<a4j:region>只是指定那些组件将被处理.而那些更新仍然是<a4j:outputPan...>或者reRender来决定
而ajaxSingle则是指定单个(包括单个a4j:commandButton或者a4j:commandLink也有ajaxSingle属性)的组件提交后是否处理,(a4j:region是指定一个区域的),单个在进行类型校验的地方非常有用.
process属性将能够指定region或者ajaxSingle以外的某些组件也被处理见PDF55的详解