This content has been marked as final.
Show 1 reply
-
1. Re: Combining ContextMenu with ModalPanel
satyakatti Sep 5, 2011 8:28 AM (in response to satyakatti)I could not find any solution for handling this. Below approach could be helpful for anyone facing the same problem.
So I had to take assistance of Javascript, here is what I have tried...
Have a hidden field in the form, whenever user activates ContextMenu, the selected menu item is available at the bean side.
Then when user enters a new name on modalPanel, set that value to hidden field from javascript and then submit the form.
The hidden value is extraced from requestMap as below :
Map<String, String> reqMap = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap(); String newTestStepName = reqMap.get("testStepSelectionForm:stepNewName"); Regards,
Satya