Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2-EE-GA_P02, EE-1.8.2.GA_P03, 3.0, EE-3.0.0.BETA
-
Fix Version/s: EE-1.8.2.GA_P04, 3.1.0.BETA1, 3.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:All
Description
When using an inputText component in the content section of a treeNode, a JavaScript error is thrown for every key press inside the inputText component.
JavaScript error: G.firstChild is null
JavaScript error: G.firstChild is null
-
Hide
- InputTreeNode.war
- 6.88 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/.../example/TestBean.class 2 kB
- WEB-INF/faces-config.xml 0.7 kB
- WEB-INF/lib/FastInfoset.jar 285 kB
- WEB-INF/lib/backport-util-concurrent.jar 319 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-discovery.jar 75 kB
- WEB-INF/lib/commons-el.jar 110 kB
- WEB-INF/lib/commons-fileupload.jar 56 kB
- WEB-INF/lib/commons-lang.jar 240 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/icefaces-comps.jar 1.94 MB
- WEB-INF/lib/icefaces-facelets.jar 596 kB
- WEB-INF/lib/icefaces.jar 1.18 MB
- WEB-INF/lib/jsf-api-1.2.jar 352 kB
- WEB-INF/lib/jsf-impl-1.2.jar 822 kB
- WEB-INF/web.xml 4 kB
- welcomeICEfaces.xhtml 2 kB
-
- inputTreeNode-error.JPG
- 136 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Added extra test to verify the existence of element's first child before operating on this child.
Show
Mircea Toma
added a comment - Added extra test to verify the existence of element's first child before operating on this child.
ICEfaces version : 1.8(.2)
Use case : Using an input text as a node in tree to modify the display text, so I add a change value listener to submit the new value.
It works fine but I get a JavaScript error : Object required (ice-extras.js) witch is caused by this instruction G&& G.firstChild.getAttribute and to avoid this js error I change it to BY G&&G.firstChild&&G.firstChild.getAttribute.