jsf 2 - richfaces 4 tool tip -
i having problem richfaces 4 tooltip. not appearing on text when hover on mouse. i've been trying figure out why lost. using jboss 7.1.1 , jsf 2
this have:
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich" xmlns:c="http://java.sun.com/jsp/jstl/core"> <h:body> <h3>sample 1</h3> <rich:panel style="width:350px"> <h:outputtext id="test" value="hello world" /> <rich:tooltip mode="ajax" target="test"> <h:panelgrid style="width:200px"> testing tooltip </h:panelgrid> </rich:tooltip> </rich:panel> </h:body> </html>
(have copy whole example next time …)
you're missing <h:head> , js tooltip isn't being loaded (this should throw error in console), can empty has there. need <h:form> ajax work.
Comments
Post a Comment