This content has been marked as final.
Show 4 replies
-
1. Re: no reRender after rich:fileUpload
janson12 Dec 17, 2008 7:32 AM (in response to janson12)fixed it. it was an issue with the bean naming. strangely no errors/warnings were display...
-
2. Re: no reRender after rich:fileUpload
mbop Jan 6, 2009 11:48 AM (in response to janson12)I'm having the same problem as you mentioned above. trying to reRender component with "successMessage" I have set with a boolean value from the backing bean, but component never renders after file uploaded.
<a4j:outputPanel id="successMessage" ajaxRendered="true"> <h:panelGrid border="1" rendered="#{userRegistrationBean.successRegistration}"> <h:outputText value="registration successful!" style="color:blue"/> </h:panelGrid> </a4j:outputPanel>
-
3. Re: no reRender after rich:fileUpload
mbop Jan 6, 2009 11:54 AM (in response to janson12)sorry complete code is here
<a4j:outputPanel id="successMessage" ajaxRendered="true"> <h:panelGrid border="1" rendered="#{userRegistrationBean.successRegistration}"> h:outputText value="registration successful!" style="color:blue"/> </h:panelGrid> </a4j:outputPanel> <h:panelGrid id="fileUploadGrid" rendered="#{userRegistrationBean.showFileuploadGrid}"> <rich:fileUpload id="photoUpload" maxFilesQuantity="1" listWidth="800px" fileUploadListener="#{userRegistrationBean.listener}"> <a4j:support event="onuploadcomplete" reRender="successMessage"/> </rich:fileUpload> </h:panelGrid>
-
4. Re: no reRender after rich:fileUpload
ilya_shaikovsky Jan 9, 2009 2:23 PM (in response to janson12)What is the scope of userRegistrationBean? (should be session or keepalive used for ajax requests for this bean)
If there are some problems inside a4j:log?