Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7DR#2
-
Fix Version/s: 1.7
-
Component/s: Bridge, ICE-Components
-
Labels:None
-
Environment:All
Description
The rowSelector's Javascript onclick handler code should detect if the event bubbled up from an input, or button, or link's onclick, and if so, do nothing.
This could potentially be accomplished by the rowSelector's onclick handler examining the event for its originating source. But I'm not sure how cross-browser that would be.
Alternatively, our component renderers could make their own onclick handlers, which would specifically annotate the events the create, so that the rowSelector's onclick handler could detect that sentinel annotation, and know to do nothing.
This should obsolete the need forICE-2466 : rowSelector toggleOnClickColumns.
This could potentially be accomplished by the rowSelector's onclick handler examining the event for its originating source. But I'm not sure how cross-browser that would be.
Alternatively, our component renderers could make their own onclick handlers, which would specifically annotate the events the create, so that the rowSelector's onclick handler could detect that sentinel annotation, and know to do nothing.
This should obsolete the need for
Activity
Mark Collette
created issue -
Mark Collette
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Mark Collette [ mark.collette ] |
Ken Fyten
made changes -
Fix Version/s | 1.7 [ 10080 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #16274 | Fri Apr 04 11:43:58 MDT 2008 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/RowSelector.java
MODIFY /icefaces/trunk/icefaces/bridge/lib/extras/extras.js MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_cust_properties/cust-rowselector-props.xml MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/renderkit/TableRenderer.java MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/custom/rowselector-renderer.xml |
Mark Collette
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Mark Collette [ mark.collette ] |
Now if the user clicks inside of an input element, or on an button or a link, inside a table cell, it won't affect table row selection, if they have the rowSelector's toggleOnInput attribute set to false. The default value for toggleOnInput is true, for backwards compatibility.
Subversion 16274
icefaces\bridge\lib\extras\extras.js
icefaces\component-metadata\src\main\resources\conf\custom\rowselector-renderer.xml
icefaces\component-metadata\src\main\resources\conf\ice_cust_properties\cust-rowselector-props.xml
icefaces\component\src\com\icesoft\faces\component\ext\renderkit\TableRenderer.java
icefaces\component\src\com\icesoft\faces\component\ext\RowSelector.java