Jsf 2 <;p:重置输入>;不起作用
我有一段代码:Jsf 2 <;p:重置输入>;不起作用,jsf-2,primefaces,Jsf 2,Primefaces,我有一段代码: <p:dialog dynamic="true" widgetVar="details" id="detailsDialog" position="center" closeOnEscape="true" resizable="false" header="#{prop['tum.editteam.detailsfor']} #{teamListController.selectedProjectsDTO.groupname}" modal="true" d
<p:dialog dynamic="true" widgetVar="details" id="detailsDialog" position="center" closeOnEscape="true" resizable="false"
header="#{prop['tum.editteam.detailsfor']} #{teamListController.selectedProjectsDTO.groupname}" modal="true" draggable="false"
showEffect="fade" hideEffect="slide" height="500" width="1280" rendered="#{authenticationController.sessionUser.admin}" styleClass="teamEditStyle">
<p:panel id="teamEditPanel">
<ui:include src="/WEB-INF/includes/editteamlist.xhtml"/>
</p:panel>
<f:facet name="footer">
<p:row>
<p:column colspan="2">
<p:outputPanel layout="block" style="float:right;">
<p:commandButton value="#{prop['tum.addteam.resetbutton']}"
styleClass="buttonStyle" process="@this" update="teamEditPanel">
<p:resetInput target="teamEditPanel"/>
</p:commandButton>
<p:spacer width="10"/>
<p:commandButton value="#{prop['tum.editteam.updatebutton']}"
onclick="confirmUpdateTeamEdit.show();" styleClass="buttonStyle"/>
</p:outputPanel>
</p:column>
</p:row>
</f:facet>
</p:dialog>
这里,,
不工作。
请帮忙,我不明白这为什么不起作用。
提前谢谢 您是否已经签出此解决方案:另外,发送managedBean的部分内容可能会有所帮助…@L-Ray:它工作得非常好!谢谢你,巴德!真棒,考虑一下投票吧,那个在那里写的人的答案……可能重复的