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.


Reply via email to