Hi
I'm trying to include richfaces and jquery in my code. but some
richfaces components are not working. Following is the
template where im importing my jquery plugins and jquery..
One of my pages contains Richfaces Panel Bar,PannelBars are not opening ,if I include jquery.
PanalBar-JQuery
?
Is there any dependency on these things ..
<f:view contentType="text/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:a="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich" xmlns:s="http://jboss.com/products/seam/taglib"> <html> <a:loadStyle src="resource:///p/style/common.xcss"/> <a:loadScript src="/p/jquery/jquery.innerfade.js"/> <a:loadScript src="resource://jquery.js"/> <a:loadScript src="/p/jquery/positionFooter.js"/> <script type="text/javascript"> $(function(){ $("#footer").positionFooter(true); }); </script> ....
thanks
raghu
Hi
You should have a look at the jQuery related documentation in RichFaces, and have a look at the jQuery part of the livedemo.
Basically you shouldn't use the $() syntax but rather jQuery("#footer").
Cheers,
Micke