Hello. I would like to have to possibility to access a Java class variable from JavaScript, without changing the Java class itself. The idea is, to display the values of the variables continuously while the application is running. The usecase for me right now would be, that I want to check the calculations of a drag while I do the drag. Sure I can add GWT.log() calls, but accessing these values without code changes would be so much nicer.
I already tried to find a way, but failed so far. Any tips how to get there? Maybe by providing a specific Generator that adds some JSNI code automatically? Thanks, Michael -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Srqp-VdNq4MJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
