我xhtml
頁面的格式如下:如何防止號碼:CommandButton來刷新號碼:TabView的
<h:form>
<p:dialog widgetVar="presentDiag" modal="true" closable="true" header="Liste" maximizable="false" dynamic="true">
<p:commandButton value="Submit" id="submit" actionListener="bean.add()"/>
</p:dialog>
</h:form>
<h:form>
<p:tabView>
<p:tab title="....">
</p:tab>
<p:tab title="....">
</p:tab>
<p:tab title="....">
</p:tab>
</p:tabView>
</h:form>
當我點擊提交按鈕選定的標籤改到第一片
但我可以看到提交按鈕沒有更新任何東西?也許忘了提及它? –