我有一段代码:
<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>
这里,
<p:resetInput>
无效。
请帮助,我不明白为什么这不起作用。
提前谢谢!