<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
dir=ltr><HEAD><TITLE>AW: [opencms-dev] OpenCms 8 numerate Navigation Items</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.17102" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=922265212-13092011><FONT face=Arial
color=#0000ff size=2>Hi Andreas,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=922265212-13092011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=922265212-13092011><FONT face=Arial
color=#0000ff size=2>Have you tried using request.setAttribute() on your "first"
JSP and request.getAttribute() on your "second" JSP?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=922265212-13092011><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=922265212-13092011><FONT face=Arial
color=#0000ff size=2>Best regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=922265212-13092011><FONT face=Arial
color=#0000ff size=2>Paul</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Feuerstein
Andreas<BR><B>Sent:</B> 13. september 2011 09:18<BR><B>To:</B> The OpenCms
mailing list<BR><B>Subject:</B> Re: [opencms-dev] OpenCms 8 numerate
Navigation Items<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV id=idOWAReplyText36724 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi guys,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>no ideas or do I have to
provide more information?</FONT></DIV></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Regards,</DIV>
<DIV dir=ltr>Andreas<BR></DIV>
<DIV dir=ltr>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2><B>Von:</B>
opencms-dev-bounces@opencms.org im Auftrag von Feuerstein
Andreas<BR><B>Gesendet:</B> Sa 10.09.2011 10:09<BR><B>An:</B> The OpenCms
mailing list<BR><B>Betreff:</B> Re: [opencms-dev] OpenCms 8 numerate
Navigation Items<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Hi Kai,<BR><BR>thanks for your answer!<BR><BR>Your solution is
working perfectly for display issues. But what I want to achieve is to put the
numbers into a <dfn> tag for accessibility purposes. The result should
then look something like this:<BR><BR><ul><BR><li>first
entry</li><dfn>1</dfn><BR><li>second
entry</li><dfn>2</dfn><BR><li>third
entry</li><dfn>3</dfn><BR></ul><BR><BR><ul><BR><li>first
subentry</li><dfn>1.1</dfn><BR><li>second
subentry</li><dfn>1.2</dfn><BR><li>third
subentry</li><dfn>1.3</dfn><BR></ul><BR><BR>I need to
have this in two lists as I'm using a Template 3 based template. So I assume I
have to edit nav_main.jsp and nav_side.jsp.<BR><BR>My idea is to set a var in
nav_main.jsp and insert it in a <dfn> tag. Thats working. But I don't
know if and how I can access this var in nav_side.jsp.<BR><BR>Any solutions
for this?<BR><BR>Best Regards<BR>Andreas<BR>-----Ursprüngliche
Nachricht-----<BR>Von: opencms-dev-bounces@opencms.org im Auftrag von
Schliemann, Kai<BR>Gesendet: Fr 09.09.2011 17:48<BR>An: The OpenCms mailing
list<BR>Betreff: Re: [opencms-dev] OpenCms 8 numerate Navigation
Items<BR><BR>Hi Andreas,<BR><BR>I would just use ol and
li-tags.<BR><BR>Something like:<BR><BR><BR><BR><style
type="text/css"><BR><BR>/*<![CDATA[*/<BR><BR><BR><BR>body
{<BR><BR> margin: 1em;<BR><BR> padding: 0;<BR><BR>
background: #fff;<BR><BR> color: #000;<BR><BR> font: 100% Georgia,
serif;<BR><BR>}<BR><BR><BR><BR>ol {counter-reset: reset;}<BR><BR>li
{<BR><BR> display: block;<BR><BR>}<BR><BR>li:before {<BR><BR>
content: counters(reset, ".") " " ;<BR><BR> counter-increment:
reset;<BR><BR>}<BR><BR><BR><BR><BR><BR>/*]]>*/<BR><BR></style><BR><BR><ol><BR><BR>
<li>test</li><BR><BR>
<li>test<BR><BR>
<ol><BR><BR>
<li>test</li><BR><BR>
<li>test<BR><BR>
<ol><BR><BR>
<li>test</li><BR><BR>
<li>test</li><BR><BR>
<li>test</li><BR><BR>
</ol> <BR><BR>
</li><BR><BR>
<li>test</li><BR><BR>
</ol><BR><BR>
</li><BR><BR>
<li>test</li><BR><BR>
<li>test</li><BR><BR></ol><BR><BR><BR><BR>HTH<BR><BR>Regards<BR><BR><BR><BR>Kai<BR><BR><BR><BR><BR><BR>Von:
opencms-dev-bounces@opencms.org [<A
href="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</A>]
Im Auftrag von Feuerstein Andreas<BR>Gesendet: Freitag, 9. September 2011
17:32<BR>An: The OpenCms mailing list<BR>Betreff: Re: [opencms-dev] OpenCms 8
numerate Navigation Items<BR><BR><BR><BR>Hi Kai,<BR><BR>thanks for your
answer.<BR><BR>How would you then create the <dfn> Tag which schould
contain <dfn>2.1.1</dfn> for
instance?<BR><BR>Regards<BR>Andreas<BR><BR><BR>-----Ursprüngliche
Nachricht-----<BR>Von: opencms-dev-bounces@opencms.org im Auftrag von
Schliemann, Kai<BR>Gesendet: Fr 09.09.2011 16:44<BR>An: The OpenCms mailing
list<BR>Betreff: Re: [opencms-dev] OpenCms 8 numerate Navigation
Items<BR><BR>Hi Andreas,<BR><BR>wouldn't an ordered list (<ol>) do the
trick?<BR><BR>Regards<BR><BR>Kai<BR><BR><BR><BR>Von:
opencms-dev-bounces@opencms.org<BR>[<A
href="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</A>]
Im Auftrag von Feuerstein<BR>Andreas<BR>Gesendet: Freitag, 9. September 2011
15:37<BR>An: opencms-dev@opencms.org<BR>Betreff: [opencms-dev] OpenCms 8
numerate Navigation Items<BR><BR><BR><BR>Hi,<BR><BR><BR><BR>I would like to
create a navigation that looks like the following:<BR><BR><BR><BR>1.
Home<BR><BR>1.1 New home<BR><BR>1.1.1 New home sub<BR><BR>2. Item<BR><BR>3.
Item 3<BR><BR><BR><BR>I would like to receive the numbers of the elements and
set them in a<BR><dev> property.<BR><BR><BR><BR>Is this possible with
OpenCms 8 (Template 3)?<BR><BR><BR><BR>Best Regards,<BR><BR>Andreas
Feuerstein<BR><BR><BR><BR><BR></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>