Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-1.8.2.GA_P03
-
Fix Version/s: EE-1.8.2.GA_P04
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Chrome, IE
Description
The PanelPositioned component renders a visible xml comment containing a random number. The rendered comment only appears visible on some browsers, such as Chrome and IE, but not others, such as Firefox. The xml comment is being rendered in the following section of PanelPositionedRenderer:
if (isChanged(facesContext)) {
// Force the re rendering of the entire component. This is due to a strange quick with positioned
// panel. When an element is moved in the same list then it container element moves with it
// When the update occurs the elements are replaced but because the containers have moved
// then the result looks the same. (But a refresh shows otherwise)
Node node = domContext.createTextNode(
"<!-- " + (new Random().nextInt(1000)) + "-->");
root.appendChild(node);
}
if (isChanged(facesContext)) {
// Force the re rendering of the entire component. This is due to a strange quick with positioned
// panel. When an element is moved in the same list then it container element moves with it
// When the update occurs the elements are replaced but because the containers have moved
// then the result looks the same. (But a refresh shows otherwise)
Node node = domContext.createTextNode(
"<!-- " + (new Random().nextInt(1000)) + "-->");
root.appendChild(node);
}
Issue Links
- blocks
-
IPCK-396 ICEfaces1.8 composite-comps-showcase - Layout Components - Rich Tabs issue
-
- Closed
-
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Field | Original Value | New Value |
---|---|---|
Attachment | richTabs.png [ 14283 ] |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Environment | n/a | Chrome, IE |
Salesforce Case | [] | |
Description |
The PanelPositioned component renders a visible xml comment containing a random number. Coming from this code in PanelPositionedRenderer: if (isChanged(facesContext)) { // Force the re rendering of the entire component. This is due to a strange quick with positioned // panel. When an element is moved in the same list then it container element moves with it // When the update occurs the elements are replaced but because the containers have moved // then the result looks the same. (But a refresh shows otherwise) Node node = domContext.createTextNode( "<!-- " + (new Random().nextInt(1000)) + "-->"); root.appendChild(node); } |
The PanelPositioned component renders a visible xml comment containing a random number. The rendered comment only appears visible on some browsers, such as Chrome and IE, but not others, such as Firefox. The xml comment is being rendered in the following section of PanelPositionedRenderer: if (isChanged(facesContext)) { // Force the re rendering of the entire component. This is due to a strange quick with positioned // panel. When an element is moved in the same list then it container element moves with it // When the update occurs the elements are replaced but because the containers have moved // then the result looks the same. (But a refresh shows otherwise) Node node = domContext.createTextNode( "<!-- " + (new Random().nextInt(1000)) + "-->"); root.appendChild(node); } |
Salesforce Case | [] | |
Assignee Priority | P1 | |
Assignee | Deryk Sinotte [ deryk.sinotte ] | Arturo Zambrano [ artzambrano ] |
Salesforce Case | [] | |
Fix Version/s | EE-1.8.2.GA_P04 [ 10280 ] |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P1 |