tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From François Facon (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (TAP5-1844) Datefield not fires onchange event on changes
Date Thu, 12 Apr 2012 13:41:17 GMT

    [ https://issues.apache.org/jira/browse/TAP5-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252421#comment-13252421

François Facon commented on TAP5-1844:

Thanks for the patch Michael, but this.field.onchange is no more implemented in tapestry.js.

I guess we better have to use event like the following code
 if (this.field.value != result) 
	Tapestry.currentFocusField = this.field;
	//fire an FOCUS_CHANGE_EVENT event to force inputValidation on field
	document.fire(Tapestry.FOCUS_CHANGE_EVENT, this.field);



> Datefield not fires onchange event on changes
> ---------------------------------------------
>                 Key: TAP5-1844
>                 URL: https://issues.apache.org/jira/browse/TAP5-1844
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3.1
>            Reporter: Michael Wyraz
> It's a "regression" to TAPESTRY-238
> in datefield.js when setting the field's value, onchange() must be called if it exists

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message