Re: Some questions around JAHIA templates...

Patrick Gelin <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Organization OSIS
Message-ID <[email protected]>
>>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 I need to import packages and I don't know where to find a list of
them. I included this:

<%@ page import="java.lang.*" %>
<%@ page import="java.util.*" %>
<%@ page import="org.jahia.content.*" %>
<%@ page import="org.jahia.data.*" %>
<%@ page import="org.jahia.data.beans.*" %>
<%@ page import="org.jahia.data.containers.*" %>
<%@ page import="org.jahia.data.fields.*" %>
<%@ page import="org.jahia.data.files.*" %>
<%@ page import="org.jahia.exceptions.*" %>
<%@ page import="org.jahia.gui.*" %>
<%@ page import="org.jahia.params.*" %>
<%@ page import="org.jahia.services.pages.*" %>
<%@ page import="org.jahia.services.usermanager.*" %>
<%@ page import="org.jahia.services.version.*" %>

But it's not enought, there is unresolved symbols:
- IOException
- currentPage
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.