on 2018 Jul 08 9:21 AM
Hello Friends, Whenever a url is passed from browser like "https://localhost:9002/cscockpit/index.zul?events=phoneEvent&phone-phoneNumber=XXXXXXXXXX". I have written a "AbstractRequestEventHandler" which will accepts the parameters passed with url and it will handle the "phoneEvent" in this context i am able to receive the "phoneNumber" value inside the event. Now from here in the same "phoneEventHandler" i am opening a popup "popupWidgetHelper.createPopupWidget(uiCockpitPerspective.getNotifier().getParent(),"csCustomerRecordsPopupWidget",CSSEARCH,CSS_AGENT_SEARCH_POPUP,"Customer Search Result For:"+phoneNumber);" like this to show customer data on popup based on phone number. Currently i am unable to pass the "phoneNumber" to widget, however inside the render i have hardcoded "phoneNumber" value and getting data using flexi search and showing it on popup and popup is successfully opening. I am not able to get "phoneNumber" from the event inside widgetRenderer under renderListBox() method. Can anyone suggest me how i can pass phonenumber to widget from my eventhandler. Your help would be appreciable.
Thanks & Regards, Amol
Request clarification before answering.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.