You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2009/09/26 20:41:16 UTC

[jira] Commented: (PIVOT-274) Add support for declaring event handlers in WTKX attributes

    [ https://issues.apache.org/jira/browse/PIVOT-274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759929#action_12759929 ] 

Greg Brown commented on PIVOT-274:
----------------------------------

Note that, while support for attribute-based event handlers has been added to WTKX, the arguments property is not yet supported.


> Add support for declaring event handlers in WTKX attributes
> -----------------------------------------------------------
>
>                 Key: PIVOT-274
>                 URL: https://issues.apache.org/jira/browse/PIVOT-274
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk-wtkx
>            Reporter: Greg Brown
>            Assignee: Greg Brown
>             Fix For: 1.4
>
>
> Attribute-based event handlers will use a syntax similar to static property setters; e.g.:
> <PushButton ButtonPressListener.buttonPressed="..."/>
> All page-level variables will be visible to script attributes, and the arguments passed to the handler method will be available in an implicit "arguments" property (an array of Objects).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.