Philippe Vollenweider wrote: > Hello, > > > At 29.09.2004 16:12, you wrote: >>Hi, >> >>I would like to migrate my web site (http://www.rpn.ch) into JAHIA. >> >>1. I 've read the JAHIA TEMPLATE DEVELOPER GUIDE but I couldn't find out >>how to build my site navigation with tag libs. May be I need to use >>container list but it's not very clear how to use this fonction... May be >>I need STRUTS TAG library... > > I don't think it's easy to make a recursive navigation with taglibs; you > should better your own navigation. > You will find an example here: > http://www.jahia.com/~pol/getpagesubtree.txt In this example you just have > to call getPageSubTree( jData , homePageId, homePageId, 1, pageContext);
ok, but where do I put the JAVA function definition? Is it embeded into the .jsp page? And if no, how do you do to call it from a .jsp page? By the way, is it the solution found into the JAHIA web site? It seems not, it's a javascript menu! D you think it's possible to integrate a javascript menu technologie? >>2. I would like to know if there is a JSP editor I could use to easy >>develop template. Currently, I'm using Eclipse with net.sf.colorer_0.6.0 >>color syntax editor. May be there is a better plugin to do this? If there >>is a standalone editor, I'm looking for something running under linux, >>with tag autocompletion, color syntax and other stuff... > > For the template edition, I use to create a static HTML file with a HTML > editor like Dreamweaver. > Then I split the html file and I add my JSP/taglib code with a simple text > editor like Ultraedit. I'm working with linux. It's not so easy to find out a good editor because it's mixed source code (html, jsp tags, embeded sripts, ...). I hope I will find a good plugin for Eclipse IDE... >>3. Is there a complete and exhaustive HELP documentation about JAHIA TAG >>LIB. I was looking for something similar for STRUTS TAG LIB but there is >>only HTML tutorial, it's not easy to print... > > You will find some doc about the Jahia tagLibs on the Draft section > http://www.jahia.org/jahia/Jahia/devzone/doc/pid/443 yes, but it's not completed... Furthemore there is nothing about struts. By the way, I'm wondering what is the best choice, STRUTS or JSTL, or mixed solution??? >>4. How do I know the tag lib I need for my application? Can I mix Struts >>with JAHIA with JSTL tag libraries? > > Yes you can mix taglibs without problems. > >>5. Where are strored portlets templates? > > Please read the draft Jahia 4.0 Template Guide. You will get more > informations there. it's not clear, there is a lot of jsp directories around the tree. I found ../templates/appname/.. and created my template directory here. it looks ok. But I need to personalise portlets templates too. It seems to be under webapp/portletname/jsp... but I'm not sure. If so, how do you manage multi templates with portlet? >>6. Is it possible to have multiple set of templates for one site, as a >>skin choice? > > Yes you can deploy several templates set on the same site. I'm not sure. What I see into the admin. interface is only one list with all templates mixed inside. What I mean is multiple separated template lists... > Best regards, > > Philippe. > > -------=[ pvollenweider at jahia dot com ]=--------- > Jahia : A collaborative source CMS and Portal Server > www.jahia.org Community and product web site > www.jahia.com Commercial services company
