webtier@glassfish.java.net

Problems When adding jsf taglib

From: <webtier_at_javadesktop.org>
Date: Mon, 18 Aug 2008 20:45:17 PDT

Hi.

I'm developing an application with this configuration:

Jboss 4.2.2 GA
Tiles 2
Mojarra-1.2_09-b02-FCS

When I try to add the taglibs like this:
[b]
<%@ taglib uri="/WEB-INF/html_basic" prefix="h"%>
<%@ taglib uri="/WEB-INF/jsf_core" prefix="f"%>[/b]

<f:subview id="test">
        <h:form>
                <h:inputText size="50" value="#{test.text}"></h:inputText>
                <h:outputText value="#{test.text}" id="rep" />
        </h:form>
</f:subview>


I got no render; viewing the source code, only render the </html> tag. But if I try deleting the taglib reference, try to renders but throw an exception:

org.apache.jasper.JasperException: /test/test.jsp(6,34) #{..} is not allowed in template text.

Obviously because can't recognize the tags.

Pleas help. I'm very frustrated with this !!!
[Message sent by forum member 'perrito666' (perrito666)]

http://forums.java.net/jive/thread.jspa?messageID=294058