reRender p:dialog error in Internet Explorer 8

UI Components for JSF
Post Reply
juangon
Posts: 69
Joined: 22 Mar 2009, 19:05

17 Dec 2009, 11:46

Hi!

I am trying to reRender a non modal p:dialog with a4j to show data like this:

Code: Select all

<a4j:commandLink
											onclick="if (!dialogIsOpened()) return false;"
											actionListener="#{reportController.openDialog}"
											reRender="dialogPanel"
											status="ajaxLoadingStatusModal" ajaxSingle="true"											
											oncomplete="if (#{!empty(report.report)}) panelDLG.show();">
.
.

</a4j:commandLink>
The dialog code is like this:

Code: Select all

<a4j:outputPanel id="dialogPanel">
		<p:dialog  
			resizeable="true" y="61" x="30" width="570" height="580" minWidth="500" minHeight="500" draggable="true" modal="false" resizable="true" close="false"
			widgetVar="panelDLG"
			rendered="#{!empty(report.report)}">
.
.
.
</p:dialog>
</a4j:outputPanel>
This works ok in Firefox, but throws 2 javascript errors in IE 8 when reRendering. I tryied several things but always throws error when reRendering.

What could it be? How could I update the dialog content from richfaces?

Thanks in advance!

juangon
Posts: 69
Joined: 22 Mar 2009, 19:05

17 Dec 2009, 13:02

Solved!

There was some old <rich:element/> that was failing (because I am trying to migrate from rich:modalPanel to p:dialog), and so throwing that javascript errors.

thanks!

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

18 Dec 2009, 12:16

Glad it works!

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 52 guests