richfaces - rich hotkey to replace a4j:commandButton -
i want replace a4j:commandbutton or link rich hotkey.hotkey enable/disable rich tooltip . appreciated.i using rich face 4 handler attribute not present in rich hotkey
the piece of code given below.
<a4j:commandbutton id="button1" action="#{bean.showtooltip()}" value="show tooltip" render="stains1"></a4j:commandbutton> <rich:panel id="stains1" styleclass="tooltip-text" style="border:0; background:none"> <h:inputtext id="a" value="#{bean.value}" style="width: 100%"></h:inputtext> <rich:tooltip followmouse="false" showdelay="1500" rendered="#{bean.showpanel}" id="stainstt1" styleclass="tooltip" layout="block" style="width:200px;font-style:italic"> <h:outputlabel value="#{bean.property1}" /> </rich:tooltip> </rich:panel>
<rich:hotkey>
in rf4 has onkeyup
, onkeydown
instead of handler
.
to show tooltip can onkeydown="#{rich:component('stainstt1')}.show()"
, don't have call bean.
Comments
Post a Comment