myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hns <hardik_...@yahoo.com>
Subject about dojo use in facegoodies
Date Mon, 04 Aug 2008 07:06:13 GMT

hi

i am trying to use dojo of facegoodies 
(http://code.google.com/p/facesgoodies/  )
it gives error like

----------------------------------------------------------------------------------
Servlet.service() for servlet faces threw exception
com.sun.facelets.FaceletException: Error Parsing /dtk/dojo/dojo.js: Error
Traced[line: 1] Content is not allowed in prolog.
	at com.sun.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:234)
	at com.sun.facelets.compiler.Compiler.compile(Compiler.java:105)
	at
com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:197)
	at
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:144)
	at
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:95)
	at
com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:517)
	at
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
	at
org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:182)
	at
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
.......
---------------------------------------------------------------------------------


as per my previous post and according to my sense i have write  in
accordingContainer.xhtml

-------------------------------------------------------------------------
<f:facet name="metaContainer">

  	<link rel="stylesheet" type="text/css"
href="dtk/dijit/themes/tundra/tundra.css" />
  	<script type="text/javascript" src="dtk/dojo/dojo.js"
djConfig="parseOnLoad: true"></script>
  	<script type="text/javascript">
     dojo.require("dojo.parser");
     dojo.require("dijit.layout.AccordionContainer");
   </script>
  </f:facet>     
  	

----------------------------------------------------------------------- 

but still gives error
-- 
View this message in context: http://www.nabble.com/about-dojo-use-in-facegoodies-tp18806595p18806595.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message