Hi Markus, Thanks for your help. I've tried a few things, but no luck yet. Is there any good documentation out there explaining how it works ? I've been googling but haven't found anything on how to configure in cocoon.xconf.
I tried to follow the example of a tag part of the standard JSF component : <taglib class="org.apache.cocoon.components.ExtendedComponentSelector" logger="sitemap.taglib.jsf.html" name="http://java.sun.com/jsf/html"> (...) <tag class="org.apache.cocoon.faces.taglib.html." logger="sitemap.taglib.jsf.html" name="commandButton"/> (...) </taglib> I don't get what the "class" refers to in both the "taglib" and the "tag" tags. Searching for "CommandButtonTag*" returns this : ./webapps/cocoon/api/java/org/apache/cocoon/faces/taglib/html/CommandButtonTag.html What's this html file ?? My component and its tag class (customComponent and customeComponentTag) both live in the same package a.b.<class_name>, so I tried something like this : <taglib class="a.b.customComponent" logger="sitemap.taglib.jsf.html" name="query"> (...) <tag class="a.b.customComponentTag" logger="sitemap.taglib.jsf.html" name="customComponent"/> (...) </taglib> ("query" is the taglib-uri) It's clear I don't know what I'm doing ... thanks again, galpi > Hi Galpi, > > [EMAIL PROTECTED] wrote: >> >> I have problems getting a JSF custom component executed from an XSP >> page. >> The tag just gets written in the output HTML. The other JSF tags from >> the >> JSF tag libraries work fine ... >> >> I wrote a JSF custom component that I was able to run fine from a JSP >> page >> (but not within cocoon). I then created a new app under >> <root>/cocoon/myapp, and an XSP page in which I invoke the same >> component >> (I copied the .tld, web.xml, faces-config.xml in WEB-INF, and the >> classes). The component is not executed, it just gets written in the >> HTML >> doc. Whatever I try I never get an error message, my component just gets >> ignored. >> > > declare your tag library in cocoon.xconf. > You will also find the tag libraries for the standard JSF components > there to see how it is done. > > Markus > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
