Index: core/src/main/java/org/icefaces/impl/component/NavigationNotifier.java =================================================================== --- core/src/main/java/org/icefaces/impl/component/NavigationNotifier.java (revision 28996) +++ core/src/main/java/org/icefaces/impl/component/NavigationNotifier.java (working copy) @@ -44,6 +44,15 @@ writer.writeAttribute("value", "", null); writer.endElement("input"); + writer.startElement("form", this); + writer.writeAttribute("id", "rshStorageForm", null); + writer.writeAttribute("style", "left:-1000px;top:-1000px;width:1px;height:1px;border:0;position:absolute;", null); + writer.startElement("textarea", this); + writer.writeAttribute("id", "rshStorageField", null); + writer.writeAttribute("style", "left:-1000px;top:-1000px;width:1px;height:1px;border:0;position:absolute;", null); + writer.endElement("textarea"); + writer.endElement("form"); + writer.startElement("script", this); writer.writeAttribute("type", "text/javascript", null); writer.write("window.dhtmlHistory.create();\n"); Index: core/src/main/resources/META-INF/resources/navigation-notifier/rsh.js =================================================================== --- core/src/main/resources/META-INF/resources/navigation-notifier/rsh.js (revision 28992) +++ core/src/main/resources/META-INF/resources/navigation-notifier/rsh.js (working copy) @@ -541,17 +541,17 @@ } /*write a hidden form and textarea into the page; we'll stow our history stack here*/ - var formID = "rshStorageForm"; +// var formID = "rshStorageForm"; var textareaID = "rshStorageField"; - var formStyles = this.debugMode ? historyStorage.showStyles : historyStorage.hideStyles; - var textareaStyles = (historyStorage.debugMode - ? 'width: 800px;height:80px;border:1px solid black;' - : historyStorage.hideStyles - ); - var textareaHTML = '
' - + '' - + '
'; - document.write(textareaHTML); +// var formStyles = this.debugMode ? historyStorage.showStyles : historyStorage.hideStyles; +// var textareaStyles = (historyStorage.debugMode +// ? 'width: 800px;height:80px;border:1px solid black;' +// : historyStorage.hideStyles +// ); +// var textareaHTML = '
' +// + '' +// + '
'; +// document.write(textareaHTML); this.storageField = document.getElementById(textareaID); if (typeof window.opera !== "undefined") { this.storageField.focus();