[jboss-user] [JBoss Seam] - Custom JSF tags

paulo.dangelo do-not-reply at jboss.com
Fri Jan 5 07:49:11 EST 2007


Help .... I´m trying to add custom JSF tags on an Seam application but Jboss keeps ignoring then.

I´ve created div, ul and li tags (as described on the posts http://www.it-eye.nl/weblog/2006/04/25/creating-a-jsf-div-component/ and http://thepeninsulasedge.com/blog/2006/08/28/jsf-html-div-and-ul-tags/) and added the requested entries to faces-config.xml and to a new  \WEB-INF\taglib.tld file as described on the Configuration part of the post.

The problem is that Jboss Seam seams to be ignoring the new custom tag:

Example.xhtml:

<div class="menuButtons" 
     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:s="http://jboss.com/products/seam/taglib"
     xmlns:hg="http://www.xxxxx.com/jsf">
    
<hg:div id="mainnav" styleclass="nav" rendered="#{loggedIn!=null}">
   
   ....

Processed page:

<div class="menuButtons" xmlns="http://www.w3.org/1999/xhtml" xmlns:hg="http://www.griffo.com.br/jsf">

<hg:div id="mainnav" styleclass="nav" rendered="false">
   
    ?.

Not even the xmlns entry is processed. Please, anyone have a clue?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998244#3998244

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998244




More information about the jboss-user mailing list