Tree Only displays one sentence in Firefox:
UseFirebugView page elements
The two scripts are separated by one <script>, which is obviously a document. write issue. Because Firefox strictly checks js specifications, it is certain that some characters are not escaped when being output.
View the source code of the e3 tree:
/E3Tree/src/net/jcreate/e3/tree/ext/ExtTreeBuilder. java
/E3Tree/src/net/jcreate/e3/tree/ext/OutlookExtTreeBuilder. java
Find related Code:
Copy codeThe Code is as follows:
Resouces. append ("<script> <! -- "). Append (ENTER );
Resouces. append ("if (typeof (Ext) =" "undefined" "| typeof (Ext. domHelper) = "" undefined ""){"). append (ENTER );
Resouces. append ("document. write ('<script src = "" $ {resouceHome}/adapter/ext/ext-base.js ""> </script> ');"). append (ENTER );
Resouces. append ("document. write ('<script src =" "$ {resouceHome}/ext-all.js"> </script>'); "). append (ENTER );
Resouces. append ("}"). append (ENTER );
Resouces. append ("--> </script>"). append (ENTER );
Both classes have the import code and modify it:
Resouces. append ("if (typeof (Ext) =" "undefined" "| typeof (Ext. domHelper) = "" undefined ""){"). append (ENTER );
Resouces. append ("document. write ('"" <script src = "" $ {resouceHome}/adapter/ext/ext-base.js ">" "</script"> ');"). append (ENTER );
Resouces. append ("document. write ('"" <script src = "" $ {resouceHome}/ext-all.js ">" "</script" "> ');"). append (ENTER );
Resouces. append ("}"). append (ENTER );
Just add the escape "" Before <and>.
Import the compiled class to e3.jar again. The tree is normal after redeployment.
E3 fix 2 bugs download e3