On 2010.08.13. 21:53, Michael Kurz wrote:
Hi Arnold,
first of all: do you use Facelets or JSP? Because the tld file and the
tag classes are only necessary for JSP whilst the taglib.xml file is
necessary for Facelets. Normally you don't need both.
Did you register your new component in the faces-config.xml?
cheers
Michael
Am 13.08.2010 18:59, schrieb Arnold Preg:
Hi,
I'd like to make a custom tr:inputDate component so I have tried to copy
the necessary files and customize them to get my tr:inputDateHTF custom
component. Although the project sucessfully compiled and the component
is in the tr.tld and tr.taglib.xml, there is a CoreInputDateHTFTag class
also, it gives the folowing error message when I try to use it:
"No tag "inputDateHTF" defined in tag library imported with prefix "tr""
What do you think, what I omit? Sorry for my English.
Regards,
Arnold Preg
Hi Michael,
To be honest I don't know for sure what I use, but I guess it is
Facelets. If it's not clear yet, I rewrite the original Trinidad source
and it uses a maven-faces-plugin what generates all the staffs such as
taglib.xml, tld file, faces-config, needed classes etc.
The problem is that I didn't even write a JSF or JSP component before so
everything a little bit foggy although I think I got the basic concept.
Thank you for your help.
Cheers,
Arnold