I have a method 'A( )' in AppModuleImpl.java.There's attribute 'value1'.
I want to assign the 'value 1' into another variable which is in another java class created in the ViewController.
How am i doing this?
Pls help me..!
Edited by: Charith Kulawardana on Nov 19, 2012 8:00 PM
Use the first link that Ranjith provided.
It's not hard to understand. You just make a method in your AppModuleImpl which returns your value.
Then you need to expose it and then you will be able to see in in your data controls.
Just drag and drop it on your page (so you will have a binding) and use the code provided to call the method and get the returning value.