Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Fix Version/s: 1.8.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:FF 3.0.8, IE7
Description
<ice:form>
<ice:inputText id="idWhereLocationTextBox" styleClass="inputTextBox width90"
value="#{myBean.whereLocation}"
onfocus="javascript:clearTxt(this.id);"
onblur="javascript:getTxt(this.id);"/>
</ice:form
and
<script>
function clearTxt(varI){
alert('onFocus:' + varI);
}
function getTxt(varI) {
alert('onBlur:' + varI);
}
</script>
In Firefox 3.0.8, the alert will return "onFocus:undefined" and in IE7 "onFocus j_id11" which is the ID of the form tag.
<ice:inputText id="idWhereLocationTextBox" styleClass="inputTextBox width90"
value="#{myBean.whereLocation}"
onfocus="javascript:clearTxt(this.id);"
onblur="javascript:getTxt(this.id);"/>
</ice:form
and
<script>
function clearTxt(varI){
alert('onFocus:' + varI);
}
function getTxt(varI) {
alert('onBlur:' + varI);
}
</script>
In Firefox 3.0.8, the alert will return "onFocus:undefined" and in IE7 "onFocus j_id11" which is the ID of the form tag.
Activity
Tyler Johnson
created issue -
Tyler Johnson
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [50070000008LGft] |
Tyler Johnson
made changes -
Attachment | SC8209.war [ 11670 ] |
Ken Fyten
made changes -
Assignee Priority | P1 | |
Assignee | Arturo Zambrano [ artzambrano ] |
Ken Fyten
made changes -
Fix Version/s | 1.8.1 [ 10170 ] | |
Assignee | Arturo Zambrano [ artzambrano ] | Mircea Toma [ mircea.toma ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18813 | Tue Apr 28 15:48:32 MDT 2009 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/src/focus.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #18814 | Tue Apr 28 15:58:00 MDT 2009 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/src/focus.js
|
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Joel Krebs
made changes -
Salesforce Case | [50070000008LGft] | [50070000008LGft, 50070000008n65I] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P1 |
Sample app intended for deployment on Tomcat 6.
http://localhost:8084/SC8209/main.jspx