This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.