Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.1
-
Component/s: None
-
Labels:None
-
Environment:IE 6 & 7
-
ICEsoft Forum Reference:
Description
When changing tabs in a panelTabSet on a page with a command button, the following error is generated:
[window.7xZl#1] : failed to insert element: <input class="iceCmdBtn headerButton" id="j_id15:cmdHdrHelp" name="j_id15:cmdHdrHelp" onblur="setFocus('');" onclick="openHelpWin('http://java.sun.com');return false;iceSubmit(form,this,event);return false;" onfocus="setFocus(this.id);" tabindex="21" type="submit" value="Open Help Window">...</input>
[object Error]
[window.7xZl#1] : failed to insert element: <input class="iceCmdBtn headerButton" id="j_id15:cmdHdrHelp" name="j_id15:cmdHdrHelp" onblur="setFocus('');" onclick="openHelpWin('http://java.sun.com');return false;iceSubmit(form,this,event);return false;" onfocus="setFocus(this.id);" tabindex="21" type="submit" value="Open Help Window">...</input>
[object Error]
Activity
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Ken Fyten
made changes -
Fix Version/s | 1.8.2-RC1 [ 10210 ] |
yip.ng
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
yip.ng
made changes -
Attachment | ICE-4669.zip [ 11828 ] |
yip.ng
made changes -
Attachment | ScreenHunter_03.jpg [ 11827 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #19048 | Wed Jul 08 16:42:33 MDT 2009 | yip.ng | Changed to avoid exception in IE when updating font style property. |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/lib/element.js
|
Arran Mccullough
made changes -
Salesforce Case | [50070000009LN6X] |
yip.ng
made changes -
Attachment | ScreenHunter_02.jpg [ 11823 ] |
yip.ng
made changes -
Attachment | ScreenHunter_02.jpg [ 11819 ] |
yip.ng
made changes -
Attachment | ICEfacesUpgradeTest_181.war [ 11820 ] |
yip.ng
made changes -
Attachment | ICEfacesUpgradeTest_181.war [ 11820 ] |
yip.ng
made changes -
Attachment | ScreenHunter_01.jpg [ 11818 ] | |
Attachment | ScreenHunter_02.jpg [ 11819 ] |
yip.ng
made changes -
Salesforce Case | [] | |
Fix Version/s | 1.8.2 [ 10190 ] |
yip.ng
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Yip Ng [ yip.ng ] |
yip.ng
created issue -
When the bridge code tries to update the dom for the style properties of an input element, IE somehow throws an "invalid argument" exception when the property is "font" and the new value is an empty string. (i.e. font property not specified.) All other properties work OK. When the font property is not specified, assigning an empty string is the same as not assigning it all. Therefore we can skip the font property assignment under this condition to avoid the IE exception.