K
koslows
Hello,
is there a way to enclose JSF tags in custom JSP tags defined in tag
files? Because if I do:
<%@ page language="java" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="t" %>
<html>
<body>
<f:view>
<h:form>
<t:test />
</h:form>
</f:view>
</body>
</html>
with /WEB-INF/test.tag containing:
<h
utputText value="test" />
I get <h
utputText value="test" /> (uninterpreted) in the resulting
HTML which is clearly not what I want.
My ultimate goal is to create kind of template and in one custom tag
enclose few JSF tags.
Regards,
Adam Koprowski
is there a way to enclose JSF tags in custom JSP tags defined in tag
files? Because if I do:
<%@ page language="java" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="t" %>
<html>
<body>
<f:view>
<h:form>
<t:test />
</h:form>
</f:view>
</body>
</html>
with /WEB-INF/test.tag containing:
<h
I get <h
HTML which is clearly not what I want.
My ultimate goal is to create kind of template and in one custom tag
enclose few JSF tags.
Regards,
Adam Koprowski