<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C3E5AD.2DA951C0">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
{margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
span.EmailStyle17
{mso-style-type:personal-compose;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:windowtext;}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
span.GramE
{mso-style-name:"";
mso-gram-e:yes;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple style='tab-interval:36.0pt'>
<div class=Section1>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;mso-no-proof:yes'>Hi,<o:p></o:p></span></font></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;mso-no-proof:yes'><o:p> </o:p></span></font></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;mso-no-proof:yes'>Here is sample code for using the </span><span
class=SpellE>getNavigationBreadCrumb</span><span style='mso-no-proof:yes'> method
in version 5.0.1<o:p></o:p></span></font></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;mso-no-proof:yes'><o:p> </o:p></span></font></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;mso-no-proof:yes'>Regards <o:p></o:p></span></font></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;mso-no-proof:yes'>Josso<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><span class=SpellE><span class=GramE><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>com.opencms.file.CmsObject</span></font></span></span>
<span class=SpellE>cmsObject</span> = <span class=SpellE>cms.getCmsObject</span>();<o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>String <span class=SpellE>uri</span> = <span class=SpellE><span
class=GramE>cmsObject.getRequestContext</span></span><span class=GramE>(</span>).<span
class=SpellE>getUri</span>();<o:p></o:p></span></font></p>
<p class=MsoNormal><span class=SpellE><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>CmsJspNavElement</span></font></span> <span
class=SpellE>currentnav</span> = <span class=SpellE><span class=GramE>CmsJspNavBuilder.getNavigationForResource</span></span><span
class=GramE>(</span><span class=SpellE>cmsObject</span>, <span class=SpellE>uri</span>);<o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>String <span class=SpellE>currentfolder</span> = <span class=SpellE><span
class=GramE>currentnav.getParentFolderName</span></span><span class=GramE>(</span>);<o:p></o:p></span></font></p>
<p class=MsoNormal><span class=SpellE><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>ArrayList</span></font></span> <span class=SpellE>Crumbslist</span>
= <span class=SpellE><span class=GramE>cms.getNavigation</span></span><span
class=GramE>(</span>).<span class=SpellE>getNavigationBreadCrumb</span>(<span
class=SpellE>currentfolder</span>, 2, -1, true);<o:p></o:p></p>
<p class=MsoNormal><span class=SpellE><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Iterator</span></font></span> t = <span class=SpellE><span
class=GramE>Crumbslist.iterator</span></span><span class=GramE>(</span>);<o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><span class=GramE><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>while</span></font></span> (<span class=SpellE>t.hasNext</span>())
{<o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><span style='mso-spacerun:yes'> </span><span
style='mso-tab-count:1'> </span><span
class=SpellE>CmsJspNavElement</span> nav1 = (<span class=SpellE>CmsJspNavElement</span><span
class=GramE>)<span class=SpellE>t.next</span></span>();<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><span style='mso-spacerun:yes'> </span><span
style='mso-tab-count:1'> </span>String
target1 = <span class=GramE>nav1.getResourceName(</span>);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><span style='mso-tab-count:1'> </span><span
class=GramE>if</span> (nav1.isFolderLink()) {<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><span style='mso-tab-count:2'> </span>target1
= <span class=SpellE><span class=GramE>cms.link</span></span><span class=GramE>(</span>target1
+ "index.html");<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><span style='mso-tab-count:7'> </span><span
style='mso-spacerun:yes'> </span>}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><span style='mso-spacerun:yes'> </span><span
style='mso-tab-count:1'> </span>%><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><span style='mso-spacerun:yes'> </span><span
style='mso-tab-count:1'> </span><a
<span class=SpellE>href</span>="<%= target1 %>"><%= <span
class=GramE>nav1.getNavText(</span>) %></a> ><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><span style='mso-tab-count:1'> </span><%<span
style='mso-tab-count:1'> </span><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><span style='mso-tab-count:5'> </span>}<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><span style='mso-tab-count:1'> </span>%><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Arial><span style='font-size:12.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>