Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.RC1
-
Fix Version/s: 3.0.1, EE-3.0.0.GA
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Tomcat 7.0.12
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
When nesting ace:ajax inside an ace:dateTimeEntry tag and having a listener execute on the 'dateSelect' client event it is working when you select from the popup or use the input field and hit enter. However, it does not recognize using the input field to change the date and then tabbing out of the field.
I tried using the valueChange and blur client events, however the method signature of the listener has an AjaxBehaviorEvent as a parameter and I cannot access the submitted value of the component from that event.
Ideally, the dateSelect client event would also include the case where a new date is input and the user tabs out of the field.
I tried using the valueChange and blur client events, however the method signature of the listener has an AjaxBehaviorEvent as a parameter and I cannot access the submitted value of the component from that event.
Ideally, the dateSelect client event would also include the case where a new date is input and the user tabs out of the field.
Activity
Brad Kroeger
created issue -
Brad Kroeger
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Ken Fyten [ ken.fyten ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 3.0.1 [ 10282 ] | |
Assignee Priority | P2 | |
Assignee | Ken Fyten [ ken.fyten ] | yip.ng [ yip.ng ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28108 | Thu Mar 01 11:58:42 MST 2012 | yip.ng | |
Files Changed | ||||
ADD
/icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/event/DateTextChangeEvent.java
MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntry.java MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntryMeta.java MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/datetimeentry/datetimeentry.js MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntryRenderer.java |
Ken Fyten
made changes -
Summary | ace:dateTimeEntry add onBlur to dateSelect Event | ace:dateTimeEntry add 'dateTextChange' event |
Salesforce Case | [] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Affects | [Documentation (User Guide, Ref. Guide, etc.)] |
yip.ng
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28227 | Wed Mar 07 18:10:01 MST 2012 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntryMeta.java
MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/resources/icefaces.ace/datetimeentry/datetimeentry.js MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntry.java MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntryRenderer.java ADD /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/src/org/icefaces/ace/event/DateTextChangeEvent.java |
Ken Fyten
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Assignee Priority | P2 | P1 |
yip.ng
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | EE-3.0.0.GA [ 10262 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P1 |
Should use jQuery "change" event instead of blur event. See http://api.jquery.com/change/. To avoid misinterpretation, event is renamed to "dateTextChange". "dateText" is term used by jQuery datepicker API and documentation.
<ace:ajax event="dateTextChange"
{dateAjax.dateTextChangeListener}listener="#
"
render="selectedDate"/>
public void dateTextChangeListener(DateTextChangeEvent event)
{ this.selectedDate = event.getDate(); System.out.println("event.getDateText() = " + event.getDateText()); }Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\resources\icefaces.ace\datetimeentry\datetimeentry.js
Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\datetimeentry\DateTimeEntry.java
Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\datetimeentry\DateTimeEntryMeta.java
Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\datetimeentry\DateTimeEntryRenderer.java
Adding: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\event\DateTextChangeEvent.java
Completed: At revision: 28108