]
Dietmar Steger updated RF-7477:
-------------------------------
Environment: Firefox 3.0.11, JBOSS EAP 4.3 (was: Firefox 3.0.11)
Priority: Critical (was: Blocker)
rich:editor is integratet in a rich:modalPanel under browser ie7
everything works fine under firefox the rich:editor is dead
----------------------------------------------------------------------------------------------------------------------------
Key: RF-7477
URL:
https://jira.jboss.org/jira/browse/RF-7477
Project: RichFaces
Issue Type: Bug
Components: component
Affects Versions: 3.3.2.GA
Environment: Firefox 3.0.11, JBOSS EAP 4.3
Reporter: Dietmar Steger
Priority: Critical
<rich:dataTable id="errorTable" value="#{errorBean.errorList}"
var="row" ajaxKeys="#{errorBean.rowsToUpdate}"
style="width:500px" first="0" rows="40"
width="100%">
<rich:column headerClass="header" footerClass="footer"
id="c1">
<f:facet name="header">
<h:outputText value="Key"></h:outputText>
</f:facet>
<f:facet name="footer">
<h:outputText value="Key"></h:outputText>
......
<a4j:commandButton value="edit"
onclick="Richfaces.showModalPanel('myPanel');"
reRender="editErrorMessage">
<f:setPropertyActionListener value="#{row}"
target="#{errorBean.selectedErrorRow}"/>
</a4j:commandButton>
<f:facet name="footer">
<h:outputText value="Edit"></h:outputText>
</f:facet>
</rich:column>
</rich:dataTable>
</h:form>
<rich:modalPanel id="myPanel">
<f:facet name="header">Edit</f:facet>
<a4j:keepAlive beanName="errorBean"/>
<h:form id="editErrorMessage">
<h:panelGrid id="editErrorMessage" columns="2">
<h:outputText value="Error Message:" />
<rich:editor value="#{errorBean.selectedErrorRow.value}"
useSeamText="false" width="100"
height="50"></rich:editor>
</h:panelGrid>
<h:panelGrid columns="2">
<a4j:commandButton value="Close"
onclick="Richfaces.hideModalPanel('myPanel');" />
<a4j:commandButton value="Save"
actionListener="#{errorBean.updateErrorText}"
oncomplete="Richfaces.hideModalPanel('myPanel');"
reRender="errorTable"
/>
</h:panelGrid>
</h:form>
</rich:modalPanel>
This ModalPanel.xhml works fine under IE 6 but under firefox 3.0.11 the rich:editor is
dead.
Firefox Error Message:
Fehler: t.win.document is null
Quelldatei:
http://localhost:8080/bt-ibe-prototype/a4j/g/3_3_1.GAscripts/tiny_mce/tin...
Row: 331
Row: 331 says:
r=isIE?t.win.document.body.createTextRange():t.win.document.createRange();return
r;},setRng:function(r){var
s;if(!isIE){s=this.getSel();if(s){s.removeAllRanges();s.addRange(r);}}else{try{r.select();}catch(ex){}}},setNode:function(n){var
t=this;t.setContent(t.dom.getOuterHTML(n));return n;},getNode:function(){var
t=this,r=t.getRng(),s=t.getSel(),e;if(!isIE){if(!r)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: