Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEfaces
Description
DOMContext.attach() sometimes creates a malformed subtree that is discarded by DOM error checking. This is the case with the popup menu component. In general the attach() mechanism is inefficient and should be removed. At this time, however, the CommandLinkRenderer makes use of the attach() functionality, possibly through its use of two different root nodes ("a" and "span" depending on whether the component is disabled.
The recommended fix is to remove the attach() functionality and update the CommandLinkRenderer to a pure ResponseWriter implementation.
The recommended fix is to remove the attach() functionality and update the CommandLinkRenderer to a pure ResponseWriter implementation.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Please implement CommandLinkRenderer without DOMContext .
Show
Ted Goddard
added a comment - Please implement CommandLinkRenderer without DOMContext .
Changes made to the renderers to make sure components are calling getDOMContext to get the DOMContext after initialization and the DOMException being printed.
I confirmed that the context.attach() never gets hit by any component.