[
https://jira.jboss.org/jira/browse/RF-7462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrey Markhel resolved RF-7462.
--------------------------------
Resolution: Cannot Reproduce Bug
Assignee: Tsikhon Kuprevich (was: Andrey Markhel)
Not reproduced in all browsers. My code:
<h:form id="form1">
<rich:modalPanel id="mp" minHeight="200"
minWidth="450"
height="200" width="500">
<f:facet name="header">
<h:outputText value="Modal Panel Title" />
</f:facet>
<extdt:extendedDataTable id="demoTable"
value="#{extendedDataTableBean.dataModel}" var="patient">
<rich:column id="firstName"
width="25%"
label="#{msg['patient.firstName']}">
<f:facet name="header">
<h:outputText
value="#{msg['patient.firstName']}" />
</f:facet>
<h:outputText id="text"
value="#{patient.firstName}">
</h:outputText>
</rich:column>
<rich:column id="lastName"
width="25%"
label="#{msg['patient.lastName']}" >
<f:facet name="header">
<h:outputText
value="#{msg['patient.lastName']}" />
</f:facet>
<h:outputText
value="#{patient.lastName}" />
</rich:column>
<rich:column id="admissionDate"
width="50%"
label="#{msg['patient.admissionDate']}"
>
<f:facet name="header">
<h:outputText
value="#{msg['patient.admissionDate']}" />
</f:facet>
<h:outputText
value="#{patient.admissionDate}" />
</rich:column>
</extdt:extendedDataTable>
</rich:modalPanel>
<a4j:commandLink
oncomplete="#{rich:component('mp')}.show()" value="click"/>
</h:form>
If you still have the issue put the detail code to reproduce.
> IE: Javascript error when opening a modal panel with an ExtendedDataTable
> -------------------------------------------------------------------------
>
> Key: RF-7462
> URL: https://jira.jboss.org/jira/browse/RF-7462
> Project: RichFaces
> Issue Type: Bug
> Components: browser compatibility, component-tables
> Affects Versions: 3.3.1
> Environment: Internet Explorer 6.0
> Reporter: Siarhei Yarashevich
> Assignee: Tsikhon Kuprevich
> Fix For: 3.3.2.CR1
>
>
> A javascript error occurs when a modal panel with an ExtendedDataTable has
> been opened in Internet Explorer 6.
> The error occures at line 12959 in ui.pack.js. Here is the current source of
> the script at this place.
> }if(A>D){F[F.length-2].width-=(A-D)
> }},update:function(A){this.createControls();
> if(!ClientUILib.isIE){if(this.fakeIeRow){this.table.getElement().deleteRow(this.fakeIeRow.rowIndex);
> this.fakeIeRow=null
> }if(this.fakeIeBodyRow){this.tableB.deleteRow(this.fakeIeBodyRow.rowIndex);
> this.fakeIeBodyRow=null
> }}this.selectionManager.refreshEvents();
> this.updateLayout();
> this.selectionManager.restoreState()
> Here is the way, how this script can be fixed:
> }if(A>D && F[F.length-2].width > (A-D)){F[F.length-2].width-=(A-D)
> }},update:function(A){this.createControls();
> if(!ClientUILib.isIE){if(this.fakeIeRow){this.table.getElement().deleteRow(this.fakeIeRow.rowIndex);
> this.fakeIeRow=null
> }if(this.fakeIeBodyRow){this.tableB.deleteRow(this.fakeIeBodyRow.rowIndex);
> this.fakeIeBodyRow=null
> }}
> if(this.selectionManager) {
> this.selectionManager.refreshEvents();
> }
> this.updateLayout();
> if(this.selectionManager) {
> this.selectionManager.restoreState()
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues