Menu

Is it possible to use cewolf with facelets?

Help
fgantt
2008-02-11
2013-09-17
  • fgantt

    fgantt - 2008-02-11

    In my xhtml, I have:

    <ui:composition xmlns="http://www.w3.org/1999/xhtml"
                    xmlns:s="http://jboss.com/products/seam/taglib"
                    xmlns:ui="http://java.sun.com/jsf/facelets"
                    xmlns:f="http://java.sun.com/jsf/core"
                    xmlns:c="http://java.sun.com/jstl/core"
                    xmlns:h="http://java.sun.com/jsf/html"
                    xmlns:rich="http://richfaces.ajax4jsf.org/rich"
                    xmlns:cewolf="http://cewolf.sourceforge.net/taglib/cewolf.tld"
                    template="/layout/template.xhtml">

    However, when I try to load the page in a browser, I get the following error:

    XML Parsing Error: prefix not bound to a namespace
    Location: http://localhost:8080/occseam/account/welcome.seam?cid=4
    Line Number 196, Column 5:                <cewolf:chart id="verticalbar3d" title="" type="verticalbar3d" xaxislabel="xaxislabel" yaxislabel="yaxislabel" legendanchor="east">
    --------------------------------^

    What should I be doing in facelets to setup cewolf?

     
  • Frank Rath

    Frank Rath - 2009-12-05

    It's a realy late replay but it could be that another one has this problem
    (It takes me two days to find it out….)

    To register cewolf in a facelet page put the path to the .tld into the jsp:root

    jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core"
            ………..
              xmlns:cewolf="urn:jsptld:../WEB-INF/cewolf.tld">

    Copy the cewolf.tld into your WEB-INF folder and it works.

     
  • max meier

    max meier - 2013-09-17

    Hello, I have the same problem. Is this possible. I make a .xhtml FaceletFile and have a
    html....> tag
    and a jsp:root...> tag?

     

    Last edit: max meier 2013-09-17

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.