<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am using XML Schema to generate files...style
articles samples...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am using a jsp to list files and other jsp to
display the content.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>To list my files using list.jsp i must check the
option "Add to navigation" in the properties file.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If this opton not checked, the list.jsp cant show
the list of my files.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>See:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><%@ page import="java.util.*" %><BR><%@
taglib prefix="cms" uri="<A
href="http://www.opencms.org/taglib/cms">http://www.opencms.org/taglib/cms</A>"
%></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><%</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>// Author: <A
href="mailto:wilson.neto@pitang.com">wilson.neto@pitang.com</A> <BR>// cria um
JSP action element<BR>org.opencms.jsp.CmsJspActionElement cms = new
org.opencms.jsp.CmsJspActionElement(pageContext, request,
response);</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>// pega os arquivos <BR>List list =
cms.getNavigation().getNavigationForFolder("/rain/medias/");<BR>Iterator i
= list.iterator();</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>while (i.hasNext()) <BR>{<BR>
org.opencms.jsp.CmsJspNavElement ne =
(org.opencms.jsp.CmsJspNavElement)i.next();</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> out.println("<li><a href=\"" +
cms.link(ne.getResourceName()) + "\" class=\"verdana10\">" +ne.getTitle()+
"</a></li>");</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>} </DIV>
<DIV>out.println("</ul><br><br><br>");</DIV>
<DIV><BR>%></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Other problem is the display.jsp, it show the file propertie in the
document body.</DIV>
<DIV> </DIV>
<DIV>HOw can hide?</DIV>
<DIV> </DIV>
<DIV>Tks</DIV>
<DIV></FONT> </DIV></BODY></HTML>