-
1. Re: how to open a modal window from context menu item
ilya_shaikovsky Feb 19, 2010 4:57 AM (in response to krishnakishu)why you wrapping the Edit Menu item into the outputLink? It's not supposed to works in this way. -
2. Re: how to open a modal window from context menu item
krishnakishu Feb 19, 2010 10:38 PM (in response to ilya_shaikovsky)Actually I want to open a modal window on clicking "Edit" menu item. How could that be possible. Could you please provide me any idea?
Also I need to pass the username to the modal window so that the data will be populated in the fields and the user can modify the data.
-
3. Re: how to open a modal window from context menu item
ilya_shaikovsky Feb 22, 2010 5:38 AM (in response to krishnakishu)http://livedemo.exadel.com/richfaces-demo/richfaces/dataTable.jsf contains edit table sample. All you need to change edit link to menu. And remove problematic code with outputLink which I mentioned.
-
4. Re: how to open a modal window from context menu item
krishnakishu Feb 23, 2010 6:53 AM (in response to ilya_shaikovsky)Hi,
I have gone through the url and implemented the functionality.
I have achieved upto displaying of window for edit menu item and confirmation for delete menu.
But when clicking on edit menu item, modal window is being displayed but with empty fields.
When clicking on delete menun item, modal window is being displayed, when clicking on "Yes", I am not getting what value to be passed.
For the variables currentItem and row, I declared the variables in bean with "User"(my project specified class) datatype.
But whentrying to capture that value in delete event, I am getting null values.
Pleas help me in this regard.