Hi, you can use following approach:
You can add Map of parameters to all method that open new window (openWindow(), openEditor(), openLookup()…) and then read them from Controller in init() method from variable params.
Let me try and elaborate the question a little further.
Please consider this:
I have a web page where the user can supply input criteria:
An input field (textField in the context of CUBA platform) for email ID
Two date fields representing start/end dates(dateField in the context of CUBA platform)
User clicks on search button on the page.
I want the extract the values in these fields in my controller (the Java class corresponding to the screen in CUBA platform).
The intent is to use these values to perform DB search using middleware in CUBA platform.