posted 15 years ago
Hi all,
I met some trouble when I used the RichFaces contextMenu and modalPanel together.
I hope to show the modalPanel by clicking the context menu item.
For the first time I clicked the menu item, the modal was showed. However, the second time, the menu item even didn't execute. Then the third time, everything went well again. And then 4th time failed, 5th time succeeded, 6th time failed..., alternately.
Thus, 50% succeeded and 50% failed. It's too weird.
When I remove the code on line 10.
The actionListener of menuItem can be executed successfully every time.
Can anybody help to advise the reason?
Thanks in advance!