Javascript error "J.parentNode is Null or not an object" occurs in Internet Explorer with using portlet brigde/richfaces application in JBoss EPP
Environment
- JBoss Enterprise Portal Platform (EPP)
- 5.1
- Portlet Bridge
- Richfaces
Issue
- If I placed more than one portlet bridge/richfaces applications in a portal page in JBoss EPP, Javascript error "J.parentNode is Null or not an object" occurs when browsing the page in Internet Explorer.
Resolution
Please change the LoadScriptStrategy to DEFAULT from ALL in the WEB-INF/web.xml.
Specifically, change the setting from:
<context-param>
<param-name>org.richfaces.LoadScriptStrategy</param-name>
<param-value>ALL</param-value>
</context-param>
to:
<context-param>
<param-name>org.richfaces.LoadScriptStrategy</param-name>
<param-value>DEFAULT</param-value>
</context-param>
Ask for WEB-INF/web.xml and check the LoadScriptStrategy setting.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments