Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7RC1
-
Fix Version/s: None
-
Component/s: Bridge, ICE-Components
-
Labels:None
-
Environment:ICEfaces component showcase enhanced.
Description
This was found by a client as well as by a recent enhancement to the component showcase. When using Facelets (not sure about plain JSF ) we have two connectionStatus components being used on two separate templates but never rendered at the same time.
For example, assuming component showcase 2 facelets-enh.
facelets-enh/web/WEB-INF/tabbed_conainer.jspx
- template for all component pages, has a outputConnectionStatus at the top of the page
facelets-enh/web/WEB-INF/plain_container.jspx
- template for the single page splash screen
- when the following component is added the application needs a hard browser refresh to get the application working
<ice:outputConnectionStatus
styleClass="navConnectionStatus"
id="tabbedOutput"
showPopupOnDisconnect="true"/>
The templates are never used at the same time but they seem to cause some confusion in the bridge.
Here is the error.
this.elementID.asElement() has no properties
initialize()icefaces-d2d.js (line 30)
initialize(Object)icefaces-d2d.js (line 30)
create()icefaces-d2d.js (line 2)
each(Object)icefaces-d2d.js (line 4)
each(function(), undefined)icefaces-d2d.js (line 4)
initialize()icefaces-d2d.js (line 30)
initialize()icefaces-d2d.js (line 30)
initialize()icefaces-d2d.js (line 35)
eachWithGuard(function())icefaces-d2d.js (line 14)
each(function())icefaces-d2d.js (line 4)
each(function(), undefined)icefaces-d2d.js (line 4)
eachWithGuard(Object identifier=3400056 request=XMLHttpRequest)icefaces-d2d.js (line 14)
initialize(Object identifier=3400056 request=XMLHttpRequest)icefaces-d2d.js (line 34)
create()icefaces-d2d.js (line 2)
initialize("/component-showcase/block/send-receive-updates", "ice.submit.partial=false&ice.event.target=navigationMenuForm%3Aj_id23%3A0%3Aj_id26&ice.event.capture...", function())icefaces-d2d.js (line 19)
initialize("/component-showcase/block/send-receive-updates", "ice.submit.partial=false&ice.event.target=navigationMenuForm%3Aj_id23%3A0%3Aj_id26&ice.event.capture...", function())icefaces-d2d.js (line 19)
initialize(Object parameters=[22])icefaces-d2d.js (line 34)
initialize(Object logger=Object sendChannel=Object)icefaces-d2d.js (line 20)
iceSubmit(form#navigationMenuForm.iceFrm iceSubmit('navig..., div.icePnlClpsblColpsdHdr, click clientX=0, clientY=0)icefaces-d2d.js (line 25)
onclick(click clientX=0, clientY=0)showcase.iface# (line 1)
[Break on this error] [Ice.Status=new Object].as(function(A){A.NOOPIndicator={on:Function.NOOP,off:Fun...
For example, assuming component showcase 2 facelets-enh.
facelets-enh/web/WEB-INF/tabbed_conainer.jspx
- template for all component pages, has a outputConnectionStatus at the top of the page
facelets-enh/web/WEB-INF/plain_container.jspx
- template for the single page splash screen
- when the following component is added the application needs a hard browser refresh to get the application working
<ice:outputConnectionStatus
styleClass="navConnectionStatus"
id="tabbedOutput"
showPopupOnDisconnect="true"/>
The templates are never used at the same time but they seem to cause some confusion in the bridge.
Here is the error.
this.elementID.asElement() has no properties
initialize()icefaces-d2d.js (line 30)
initialize(Object)icefaces-d2d.js (line 30)
create()icefaces-d2d.js (line 2)
each(Object)icefaces-d2d.js (line 4)
each(function(), undefined)icefaces-d2d.js (line 4)
initialize()icefaces-d2d.js (line 30)
initialize()icefaces-d2d.js (line 30)
initialize()icefaces-d2d.js (line 35)
eachWithGuard(function())icefaces-d2d.js (line 14)
each(function())icefaces-d2d.js (line 4)
each(function(), undefined)icefaces-d2d.js (line 4)
eachWithGuard(Object identifier=3400056 request=XMLHttpRequest)icefaces-d2d.js (line 14)
initialize(Object identifier=3400056 request=XMLHttpRequest)icefaces-d2d.js (line 34)
create()icefaces-d2d.js (line 2)
initialize("/component-showcase/block/send-receive-updates", "ice.submit.partial=false&ice.event.target=navigationMenuForm%3Aj_id23%3A0%3Aj_id26&ice.event.capture...", function())icefaces-d2d.js (line 19)
initialize("/component-showcase/block/send-receive-updates", "ice.submit.partial=false&ice.event.target=navigationMenuForm%3Aj_id23%3A0%3Aj_id26&ice.event.capture...", function())icefaces-d2d.js (line 19)
initialize(Object parameters=[22])icefaces-d2d.js (line 34)
initialize(Object logger=Object sendChannel=Object)icefaces-d2d.js (line 20)
iceSubmit(form#navigationMenuForm.iceFrm iceSubmit('navig..., div.icePnlClpsblColpsdHdr, click clientX=0, clientY=0)icefaces-d2d.js (line 25)
onclick(click clientX=0, clientY=0)showcase.iface# (line 1)
[Break on this error] [Ice.Status=new Object].as(function(A){A.NOOPIndicator={on:Function.NOOP,off:Fun...
Issue Links
- blocks
-
ICE-3106 New sessionExpiredRedirectURI context parameter
- Closed
Activity
Patrick Corless
created issue -
Patrick Corless
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Mircea Toma [ mircea.toma ] |
Patrick Corless
made changes -
Fix Version/s | 1.7 [ 10080 ] |
Ken Fyten
made changes -
Summary | multiple connection status components causing js errors. | multiple outputConnectionStatus components causing js errors. |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16378 | Wed Apr 09 17:50:45 MDT 2008 | mircea.toma | Re-create status indicators everytime connection status component is updated. Refactor fixes for |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/src/status.js
MODIFY /icefaces/trunk/icefaces/bridge/src/application.js |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16379 | Wed Apr 09 18:02:59 MDT 2008 | mircea.toma | Re-create status indicators everytime connection status component is updated. Refactor fixes for |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/outputconnectionstatus/OutputConnectionStatusRenderer.java
|
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16385 | Thu Apr 10 10:44:30 MDT 2008 | mircea.toma | Revert changes for now. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/src/status.js
MODIFY /icefaces/trunk/icefaces/bridge/src/application.js MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/outputconnectionstatus/OutputConnectionStatusRenderer.java |
Mircea Toma
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Mircea Toma
made changes -
Fix Version/s | 1.7.1 [ 10122 ] | |
Fix Version/s | 1.7 [ 10080 ] | |
Affects Version/s | 1.7Beta1 [ 10121 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16483 | Tue Apr 22 12:20:06 MDT 2008 | mircea.toma | Instantiate bridge at the begining of the container element. Refactor how custom status indicators are wired into the bridge. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/src/status.js
MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java MODIFY /icefaces/trunk/icefaces/bridge/src/application.js MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/outputconnectionstatus/OutputConnectionStatusRenderer.java |
Mircea Toma
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16509 | Thu Apr 24 15:24:11 MDT 2008 | mircea.toma | Rename Hash variable to avoid conflict with Tomahawk JS library. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/lib/prototype/deprecated.js
MODIFY /icefaces/trunk/icefaces/bridge/lib/prototype/hash.js MODIFY /icefaces/trunk/icefaces/bridge/lib/openajax/bridge.open.ajax.js MODIFY /icefaces/trunk/icefaces/bridge/lib/prototype/base.js |
Ken Fyten
made changes -
Fix Version/s | 1.7.1 [ 10122 ] |
Ken Fyten
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16528 | Mon Apr 28 13:02:27 MDT 2008 | mircea.toma | Migrate fix to 1.7 branch. |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/src/application.js MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/src/status.js |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16529 | Mon Apr 28 13:03:23 MDT 2008 | mircea.toma | Remove commented out code. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/DOMResponseWriter.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16533 | Mon Apr 28 14:57:55 MDT 2008 | mircea.toma | Remove reference to missing indicator. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/src/application.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16534 | Mon Apr 28 14:59:37 MDT 2008 | mircea.toma | Remove reference to missing indicator. |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/bridge/src/application.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16732 | Tue May 27 14:27:27 MDT 2008 | mircea.toma | Refactor how custom status indicators are wired into the bridge. |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/outputconnectionstatus/OutputConnectionStatusRenderer.java
|
Philip Breau
made changes -
Mircea Toma
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Mircea Toma [ mircea.toma ] |
Re-create status indicators everytime connection status component is updated.
Refactor fixes for
ICE-2621.