This content has been marked as final.
Show 4 replies
-
1. Re: problem with fileUpload and reRender in modalPanel
reinhard.graf Jul 27, 2008 10:49 PM (in response to reinhard.graf)I am working with richfaces 3.2.1 GA
-
2. Re: problem with fileUpload and reRender in modalPanel
andrei_exadel Jul 28, 2008 4:14 AM (in response to reinhard.graf)Hi,
I use the following code for test:
<rich:dataTable id="dt" value="1">
<rich:column>
<h:outputText value="#{bean.data}"></h:outputText>
</rich:column>
</rich:dataTable>
<a href="#" onclick="$('modal').component.show()">Open
<rich:modalPanel id="modal">
<f:facet name="controls">
<h:form>
<a4j:commandLink reRender="dt" onclick="$('modal').component.hide()">Close</a4j:commandLink>
</h:form>
</f:facet>
<h:form>
<rich:fileUpload maxFilesQuantity="99">
</rich:fileUpload>
</h:form>
</rich:modalPanel>
It works fine in 3.2.1.GA. -
3. Re: problem with fileUpload and reRender in modalPanel
reinhard.graf Jul 28, 2008 7:41 AM (in response to reinhard.graf)Hi,
I've folowing structure in my application<html> <body> <modalpanel> <div><a4j:form> context menu - modalpanel is opened here </a4j:form></div> <div><a4j:form> .. tooltips ..</a4j:form></div> <div> <div> <div> <a4j:form> menubar <a4j:form> </div> <div> <a4j:form> navigation - context menus opened here </a4j:form> </div> <div> <a4j:form> dataTable with filelist which should be updated </a4j:form> </div> </div> </div> </body> </html>
The modalPanel is opened many times with different content. The reRender
works everywhere beside the one with the fileUpload -
4. Re: problem with fileUpload and reRender in modalPanel
ilya_shaikovsky Jul 28, 2008 7:47 AM (in response to reinhard.graf)there is no reRender attribute on fileUpload component. It's demosite code error.