[arquillian-issues] [JBoss JIRA] (ARQGRA-261) Provide mapping of getters to properties in @JavaScript interfaces

Jan Papousek (JIRA) jira-events at lists.jboss.org
Thu Jan 24 04:41:47 EST 2013


     [ https://issues.jboss.org/browse/ARQGRA-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Papousek resolved ARQGRA-261.
---------------------------------

    Resolution: Out of Date


Lukas: You're right. It's already working. I've added a test for this feature in this commit: https://github.com/arquillian/arquillian-graphene/commit/16c22dfadc4d27f74b5a9ee824260270b4200f4b
                
> Provide mapping of getters to properties in @JavaScript interfaces
> ------------------------------------------------------------------
>
>                 Key: ARQGRA-261
>                 URL: https://issues.jboss.org/browse/ARQGRA-261
>             Project: Arquillian Graphene
>          Issue Type: Feature Request
>            Reporter: Jan Papousek
>
> Consider I want to get screen width and height (window.screen.width and window.screen.height in javascript). I'd like to create the following interface:
> {code}
> @JavaScript("window.screen")
> public interfaces Screen {
>     @Property("width") // the property name should be optional (it can be derived from method name)
>     Long getWidth();
>     @Property
>     Long getHeight();
> }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list