This content has been marked as final.
Show 2 replies
-
1. Re: a4j:support in rich:fileUpload desn't work
ilya_shaikovsky Sep 4, 2009 7:25 AM (in response to damian.sinczak)and what about update panel itself? please show its content also.
-
2. Re: a4j:support in rich:fileUpload desn't work
damian.sinczak Sep 4, 2009 7:29 AM (in response to damian.sinczak)I've tried this already. I gaved panel some ids and tried to reRender them but this solution also failed.
This is the panel grou that shoulod be refreshed.<h:panelGroup id="uploadInfo" rendered="#{policiesBean.uploadedData != null}"> <rich:panel header="Uploaded policy info" style="margin-right:auto;margin-left:auto;width:600px;"> <h:panelGrid border="0" columns="2"> <h:outputText style="font-size: 12px;" value="Policy name *: " /> <h:inputText value="#{policiesBean.uploadedDataPolicyeName}" size="40" /> <h:outputText style="font-size: 12px;" value="Policy file name: " /> <h:outputText style="font-size: 12px;" value="#{policiesBean.uploadedDataFileName}" /> <h:outputText style="font-size: 12px;" value="Policy file size: " /> <h:outputText style="font-size: 12px;" value="#{policiesBean.uploadedDataFileSize} bytes" /> </h:panelGrid> </rich:panel> <rich:spacer height="2" /> <rich:panel style="margin-right:auto;margin-left:auto;width:600px;"> <h:panelGrid border="0" columns="3"> <h:commandButton value="Reset upload" id="resetPanel" action="#{policiesBean.resetUpload}"> <a4j:support event="click" reRender="uploadPolicyPanel,pageForm" /> </h:commandButton> <h:commandButton value="Save policy" id="savePolicy" action="#{policiesBean.savePolicy}"> <a4j:support event="click" reRender="uploadPolicyPanel,pageForm" /> </h:commandButton> </h:panelGrid> </rich:panel> <rich:spacer height="2" /> <rich:panel style="margin-right:auto;margin-left:auto;width:600px;"> <h:outputText style="font-size: 10px;" value="* If policy(s) with defined name already exists, is will be set inactive. Uploaded policy will have version greater by one." /> </rich:panel> </h:panelGroup>