Thanks Jay for your response. As suggested i located facelet-taglib_1_0.dtd file in the jsf-facelets.jar file, Facelets version 1.1.12. Then i removed "http://java.sun.com/dtd" from the String "http://java.sun.com/dtd/facelet-taglib_1_0.dtd" at the top of taglib.xml file. Now the taglib.xml file looks like this <?xml version="1.0"?> <!DOCTYPE facelet-taglib PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN" "facelet-taglib_1_0.dtd"> Like you even i thought dtd location to be local but this time it gives following error
The file cannont be validated as XML schema "...\..\WEB-INF\facelet-taglib_1_0.dtd ( The system cannot find the file specified) Not sure where exactly i am going wrong. Regards Bansi Jay Balunas wrote: > > I believe that you need to set the dtd location to be local - take a look > at > you jsf-faceles jar - If it is there you should be all set with something > like this: > > <?xml version="1.0"?> > <!DOCTYPE facelet-taglib PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet > Taglib 1.0//EN" "facelet-taglib_1_0.dtd"> > <facelet-taglib> > .... > > the facelet-taglib_1_0.dtd file is at the root of my jsf-facelets.jar > file. > Check that - maybe you need to get the latest facelets jar or something > like > that. > > Jay > > On 1/26/07, bansi <[EMAIL PROTECTED]> wrote: >> >> >> I found Tomahawk +Facelets : >> http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk >> >> Also their is Sandbox + Facelets taglib.xml file : >> http://wiki.java.net/bin/view/Projects/FaceletsTaglibsMyfacesSandbox >> >> Wondering what should i name taglib.xml file for sandbox. >> Should it be tomahawk.taglib.xml OR sandbox.taglib.xml >> >> So I just created sandbox.taglib.xml and the context-param in web.xml >> points to this file as >> <context-param> >> <param-name>facelets.LIBRARIES</param-name> >> <param-value>/WEB-INF/sandbox.taglib.xml</param-value> >> </context-param> >> >> Now their is a error at the top of sandbox.taglib.xml. >> <?xml version="1.0"?> >> <!DOCTYPE facelet-taglib PUBLIC >> "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN" >> "http://java.sun.com/dtd/facelet-taglib_1_0.dtd"> >> >> MyEclipse 5.0 editor shows warning sign at >> "http://java.sun.com/dtd/facelet-taglib_1_0.dtd" stating >> >> The file cannot be validated as the host "java.sun.com" is currently >> unreachable >> >> I am using <s:fieldset legend="Employee Information" > sandbox component >> in xhtml file which doesnt get render onto browser. Am i missing >> something >> >> >> >> >> >> >> >> Regards >> Bansi >> >> -- >> View this message in context: >> http://www.nabble.com/Sandbox-Component-doesnt-work-with-Ajax4Jsf-Facelets-tf3124722.html#a8657358 >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Sandbox-Component-doesnt-work-with-Ajax4Jsf-Facelets-tf3124722.html#a8714089 Sent from the MyFaces - Users mailing list archive at Nabble.com.

