[
https://jira.jboss.org/jira/browse/RF-3703?page=com.atlassian.jira.plugin...
]
Krzysztof Sielski commented on RF-3703:
---------------------------------------
I'm afraid this bug shouldn't be closed yet - still not everything is working on
Opera 9.5. I'm working on an application which uses tabPanel with dynamically changed
tabs. Its code looks like this:
<rich:tabPanel id="TabPanel" selectedTab="#{tab.activeTab}">
<rich:tab label="firstTab" id="firstTab">
<a4j:form>
<a4j:commandButton action="#{tab.toSecondTab}"
reRender="TabPanel" value="changeTabTo2" />
</a4j:form>
</rich:tab>
<rich:tab label="secondTab" id="secondTab">
<a4j:form>
<a4j:commandButton action="#{tab.toFirstTab}"
reRender="TabPanel" value="changeTabTo1" />
</a4j:form>
</rich:tab>
</rich:tabPanel>
'tab' is a controller which remembers current tab and enables to change it:
public class TabViewController {
private String activeTab = "firstTab";
public String getActiveTab() {
return activeTab;
}
public void toSecondTab() {
this.activeTab = "secondTab";
}
public void toFirstTab() {
this.activeTab = "firstTab";
}
}
This code works well on every browser but Opera 9.5 :( When I click a button, the tab is
changed, but then the page breaks and nothing can be done before manual refreshing.
Opera 9.5 doesn't work with RichFaces
-------------------------------------
Key: RF-3703
URL:
https://jira.jboss.org/jira/browse/RF-3703
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: Opera 9.5
Reporter: Nick Belaevski
Assignee: Alexander Smirnov
Priority: Critical
Fix For: 3.2.2
Opera cannot show demosite page, it loads complete page source, but view stays empty.
The issue is caused by this code line in AJAX script:
var importednode ;
importednode = window.document.importNode(_script, true);
document.documentElement.replaceChild(importednode,_span); <----
Stops here
Replacing document.documentElement with document.body make it work
--
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