2
我需要从jsf中的另一个表单更新一个表单内容。如果我给出另一个表单id,它将显示一个错误,如组件id未找到。从jsf中的另一个表单更新一个表单内容
我的编码是
<h:form id="form1" name="form1">
<h:commandLink value="Tab1" id="Tab1">
<f:ajax listener="#{managedBean.tabChange}" event="click" render="form2"></f:ajax>
</h:commandLink></li>
</h:form>
<h:form id="form2" name="form2">
<h:outputText value="#{managedBean.text}" id="text"/>
</h:form>
在渲染属性
@all为我工作
。 但form2/text不起作用。
请帮帮我。
在此先感谢。
感谢您Response.It对我的作品.. – 2013-03-11 10:19:21