Re: Taglib Documentation
"Sanjay Goel" <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.template |
|---|---|
| Message-ID | <[email protected]> |
Joe, I want to know how to package a custom taglib with jahia. Lets say my custom template needs a custom taglib and some custom java classes. How to package them separately from jahia. With regards to the groupListContainer, I want to display only those groups whose name start with client_. I checked out that groupList tag has a criteria attribute, but giving groupname=client_* in that doesn't work. The query attribute doesn't work too. Thanks Sanjay On 9/27/06, dominique (joe) pillot <[email protected]> wrote: > > hi sanjay, > As Stephane have already mentionned somewhere on other lists, we are in > the way to build documentation for taglibs very soon, i hope. As you know, > building a really good and usable documentation is a time-consumming > process. > > Meanwhile, you can checkin some comments (not always useful, i'm > afraid...) in the code of the tag itself (in org.jahia.taglibs.search.*) > > You can see how we use it in the jsps and/or creating a box of grouplist's > type(or userlist's type) > The relevant jsp is: groupsContainer.inc (in corporate_template v1 and V2 > sets). > > PS: pay attention to the fact there is a fix on the way for the type of > fields used in this include to make this box more robuts and compliant in > multilanguage context > > For any misc information about custom tag and taglib, i guess there is a > lot of information anywhere on the web and primarily at the Sun site. > > regards, joe > Le 27 sept. 06 à 15:00, Sanjay Goel a écrit : > > Hi, > I was trying to tweak the user container box and want to know what the > <jahiaHtml:groupList> tag does and what are its attributes. I checked out > the taglib documentation pdf at http://www.jahia.net/jahia/page585.htmlbut it doesn't provide info on this. Where can I find documentation on all > jahia tags may be similar to the JSTL doc > http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html by sun. > > If the documentation is not available, can someone please point me to the > java classes for these taglibs. In case, I want to tweak around these > classes and create my own custom taglib, how do I do that? > > Thanks > Sanjay Goel > http://sanjaygoel.blogspot.com > > > -- Sanjay Goel http://sanjaygoel.blogspot.com