<!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.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=328083817-02022004><FONT face=Verdana size=2>Thanks, I'll try
that!</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Soeren Wollesen
[mailto:SW@Solve-IT.de]<BR><B>Sent:</B> Monday, February 02, 2004 11:19
AM<BR><B>To:</B> opencms-dev@opencms.org<BR><B>Subject:</B> AW: [opencms-dev]
Get your current folder location<BR><BR></FONT></DIV>
<DIV dir=ltr align=left><SPAN class=925571117-02022004><FONT face=Arial
color=#0000ff size=2>Why do you want to use the navigation object for that? I
think using the CmsJspActionElement with the info method should
be sufficient. You can insert a few lines of code in your jsp template,
like</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=925571117-02022004><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=925571117-02022004><FONT face=Arial
color=#0000ff size=2>with scriptlet:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=925571117-02022004><FONT face=Arial
color=#0000ff size=2>
com.opencms.flex.jsp.CmsJspActionElement cms = new
CmsJspActionElement(pageContext, request, response);<BR>
String currentFld = cms.info("opencms.request.folder");</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=925571117-02022004><FONT face=Arial
color=#0000ff size=2>or with Taglib:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=925571117-02022004>
<cms:info property="<FONT face=Arial color=#0000ff
size=2>opencms.request.folder</FONT>" /></SPAN></DIV>
<DIV><SPAN class=925571117-02022004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=925571117-02022004><FONT face=Arial color=#0000ff size=2>or
any other info like stated in the docs for the cms:info tag. I used the first
method for my navigation.</FONT></SPAN></DIV>
<DIV><SPAN class=925571117-02022004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=925571117-02022004></SPAN><SPAN
class=925571117-02022004><FONT face=Arial color=#0000ff size=2>Perhaps that
helps, Soeren</FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><BR><FONT color=#0000ff
size=2></FONT></FONT></DIV></SPAN><BR>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> Dylan Milks [mailto:DMilks@greenridge.ca]
<BR><B>Gesendet:</B> Montag, 2. Februar 2004 18:00<BR><B>An:</B> OpenCMS
Mailing List (E-mail)<BR><B>Betreff:</B> [opencms-dev] Get your current folder
location<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=812175716-02022004><FONT face=Verdana size=2>Is there any way
of getting your current folder location using the navigation object? I don't
want to know the file that you're looking at (index.jsp), just the folder in
which it's contained. How do I get this (from a JSP page)?</FONT></SPAN></DIV>
<DIV><SPAN class=812175716-02022004><FONT face=Verdana
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=812175716-02022004><FONT face=Verdana
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=812175716-02022004><FONT face=Verdana
size=2>Dylan</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>