myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "urswagner@bluemail.ch" <urswag...@bluemail.ch>
Subject AW: Re: tag library
Date Thu, 05 Oct 2006 13:01:45 GMT


Thanks for tip, I still get an error. Good advices are welcome.

html2.tld content

<taglib>
	<tlib-version>1.0</tlib-version>
	<jsp-version>1.2</jsp-version>
	<short-name>html2</short-name>
	<uri>html2</uri>
	<description>New Faces Component</description>
         ....
</taglib>

I have in the jar file

META-INF/html2.tld
META-INF/faces-config.xml
.....class
.....class
....

----Urspr√ľngliche Nachricht----
Von: matzew@apache.org
Datum: 05.10.2006 07:28
An: "MyFaces Discussion"<users@myfaces.apache.org>, 
<urswagner@bluemail.ch>
Betreff: Re: tag library

Not sure if I got it right,
but these entries belong to a faces-config.xml file, which will be
stored inside your JAR
(META-INF/ folder)

HTH,
M

On 10/5/06, urswagner@bluemail.ch <urswagner@bluemail.ch> wrote:
>
> Hello
>
> I would like to make a tag library with extensions.
>
> Where have I to put this entries of faces-config.xml?
>
>
>         <render-kit>
>                 <renderer>
>                         <component-family>html2.faces.
Div</component-family>
>                         <renderer-type>html2.faces.Div</renderer-
type>
>                         <renderer-class>org.flohmarkt.tag.
DivRenderer</renderer-class>
>                 </renderer>
>         </render-kit>
>
>         <component>
>                 <component-type>html2.faces.Div</component-type>
>                 <component-class>
>                         org.flohmarkt.tag.UIDiv
>                 </component-class>
>         </component>
>
>
>
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com




Mime
View raw message