I am looking to reinitialize (reload) the application by sending some data to server. This data work as a criteria for server when sending GetInfoResponse back. For example, when user clicks on a dropdown menuitem this menu calls for reinitialize by sending some data. Server uses this data to filter mail list and other options during composing the response. Following are few approaches -
1. Initiate GetInfoRequest server call from menuitem listener. - I get GetInfoResponse however don't know how to render it on UI. Also I can't send criteria with this call.
2. Call ZmZimbraMail.restart(settings) - For this settings object is required. I tried creating it with some hard-coded data (for testing) however it doesn't seem to work. Again I can't send criteria data with this.
I am unable to reinitialize the application programmatically by posting some data. Is there any way to do this?