Details
Description
Recent work on performance improvements have shown memory consumption with large numbers of similar or identical Strings. In an effort to increase re-use of Strings, some of our JavaScript calls should be examined. For instance:
<form action="iceSubmit('j_id56');"
- can iceSubmit(this.id) or iceSubmit(form.id) be used?
- can ' be written as '
<a onclick="document.forms['iceForm']['iceForm:_idcl'].value='iceForm:iceTable:sortByTitle_click';iceSubmit( document.forms['iceForm'], this,event); return false;"
- can we still use iceSubmit(form, this, event) but search for a parent of "this" to find "form"? (Because <a> is not a form control.) iceSubmit could detect that the input control was a commandLink and set the hidden field directly.
onblur="setFocus('');"
- can this be replaced with "setFocus();"
iceSubmit(form,this,event);return false;
- can this be replaced with iceSubmit(form,this,event); or iceSubmitF(form,this,event);
Issue Links
- blocks
-
ICE-3083 Memory performance/efficiency
- Open
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17471 | Fri Aug 29 14:04:48 MDT 2008 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/CommandLinkRenderer.java
MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/renderkit/CommandLinkRenderer.java MODIFY /icefaces/trunk/icefaces/bridge/src/submit.js |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17470 | Fri Aug 29 14:01:53 MDT 2008 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/core/MultiViewServer.java
MODIFY /icefaces/branches/icefaces-1.7/icefaces/bridge/src/submit.js MODIFY /icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/ext/renderkit/CommandLinkRenderer.java MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/CommandLinkRenderer.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17449 | Tue Aug 26 16:02:11 MDT 2008 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/bridge/src/submit.js
MODIFY /icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/ext/renderkit/CommandLinkRenderer.java MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/CommandLinkRenderer.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17448 | Tue Aug 26 15:54:26 MDT 2008 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/CommandLinkRenderer.java
MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/renderkit/CommandLinkRenderer.java MODIFY /icefaces/trunk/icefaces/bridge/src/submit.js |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17375 | Wed Aug 20 14:40:23 MDT 2008 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/FormRenderer.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17374 | Wed Aug 20 14:39:59 MDT 2008 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/FormRenderer.java
|