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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -