sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 26424 - http://anonsvn.icesoft.org/repo / icefaces2 / trunk / icefaces / compat / components / src / main / java / com / icesoft / faces / component / menupopup / MenuPopupHelper.java
Unified Diff View - MenuPopupHelper.java
/icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/menupopup/MenuPopupHelper.java @ revision 26423
/icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/menupopup/MenuPopupHelper.java @ revision 26424
@@ -48,6 +48,10 @@             String menuPopupClientId = menuPopup.getClientId(facesContext);             String originatorClientId = comp.getClientId(facesContext); //System.out.println("MenuPopupHelper.renderMenuPopupHandler() menuPopupClientId: " + menuPopupClientId); +            if (menuPopup instanceof MenuPopup && +              ((MenuPopup)menuPopup).isBlockMenuOnInput()) { +              handler.append("if (Ice.isEventSourceInputElement(event)) return true; "); +            }             handler.append("Ice.Menu.contextMenuPopup(event, '");             handler.append(menuPopupClientId);             handler.append("_sub', '");


feed icon

sventon 2.5.1