2012-10-22 3 views

답변

0

richfaces 부자라는 추가 구성 요소를 제공합니다 popupPanel이를 달성하기 위해.

<h:panelGrid onmouseover="#{rich:component('popup')}.show()"> 
    <h:outputText value="Open popup" /> 
</h:panelGrid> 
<rich:popupPanel id="popup" modal="false" autosized="true" resizeable="false"> 
<f:facet name="controls"> 
    <h:outputLink value="#" 
     onclick="#{rich:component('popup')}.hide(); return false;">X</h:outputLink> 
</f:facet> 
... 
</rich:popupPanel> 
1

사용 태그 hideEvent="none"

<rich:toolTip name="tooltipTest" id="tooltipTest" hideEvent="none"> 
    <a4j:commandButton value="Close" onclick="#{rich:component('tooltipTest')}.hide(); return false;" /> 
</rich:toolTip>