I'm trying to run a sample code on t:popup. I copied code is as below.
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<f:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>t:popup example</title>
<style type="text/css">
<!--
.popClass{
background-color:#F1F1F1;
}
-->
</style>
</head>
<body>
<h:form>
<t:popup styleClass="popClass"
closePopupOnExitingElement="true"
closePopupOnExitingPopup="true"
displayAtDistanceX="0"
displayAtDistanceY="0">
<h:outputText value="JSF tutorials and examples." style="font-weight:bold;"/>
<f:facet name="popup">
<h:panelGrid columns="1" >
<h:commandLink value="http://roseindia.net/jsf" />
<h:commandLink value="http://myfaces.apache.org" />
</h:panelGrid>
</f:facet>
</t:popup>
</h:form>
</body>
</html>
</f:view>
I'm using JSF 2.0 along with Tomahawk 1.1.13. Also I'm running the application on Apache tomcat 7. I dont know what the problem is but only the outputText is display and nothing happens when I do a mouseover on the text.
This is the first time I'm working with t:popup. If anyone faced a similar issue, please let me know how you resolved it.
Thanks, Jane