Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > JSF tags enclosed in custom JSP tags?

Thread Tools

JSF tags enclosed in custom JSP tags?

Posts: n/a
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="" prefix="h" %>
<%@ taglib uri="" prefix="f" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="t" %>

<t:test />

with /WEB-INF/test.tag containing:

<hutputText value="test" />

I get <hutputText 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.
Adam Koprowski

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding more rows in a html table(enclosed inside a jsf tabbed pane) Ankur Java 0 10-13-2006 10:40 AM
JSP Custom Tags as attribute values for other custom tags Dave Java 0 08-14-2006 02:21 PM
how to write jsp custom tag that can have all kind of jsp elements(not only other tags but also srciplets) in his body Lukasz Indyk Java 1 09-22-2004 12:43 PM
Custom tags and <jsp:plugin> / <jsp:param> Raymond DeCampo Java 0 02-18-2004 01:29 AM
JSP newbie - use include, custom tags, standard tags - or what? Mike Java 3 01-09-2004 09:30 AM