Return-Path: Delivered-To: apmail-incubator-jspwiki-user-archive@locus.apache.org Received: (qmail 27219 invoked from network); 8 May 2008 09:41:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2008 09:41:59 -0000 Received: (qmail 6375 invoked by uid 500); 8 May 2008 09:42:00 -0000 Delivered-To: apmail-incubator-jspwiki-user-archive@incubator.apache.org Received: (qmail 6362 invoked by uid 500); 8 May 2008 09:42:00 -0000 Mailing-List: contact jspwiki-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-user@incubator.apache.org Delivered-To: mailing list jspwiki-user@incubator.apache.org Received: (qmail 6351 invoked by uid 99); 8 May 2008 09:42:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 02:42:00 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.18.6.21] (HELO gmp-eb-inf-1.sun.com) (192.18.6.21) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 09:41:01 +0000 Received: from fe-emea-09.sun.com (gmp-eb-lb-2-fe3.eu.sun.com [192.18.6.12]) by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m489fLut028311 for ; Thu, 8 May 2008 09:41:21 GMT Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0K0J00B01LYX0000@fe-emea-09.sun.com> (original mail from Chris.Phelan@Sun.COM) for jspwiki-user@incubator.apache.org; Thu, 08 May 2008 10:41:21 +0100 (BST) Received: from chief.uk.sun.com ([129.156.132.110]) by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0K0J00CSFMWW7A80@fe-emea-09.sun.com> for jspwiki-user@incubator.apache.org; Thu, 08 May 2008 10:41:21 +0100 (BST) Date: Thu, 08 May 2008 10:40:42 +0100 From: Chris Phelan Subject: Re: ToC problem In-reply-to: <35AE9EB6-88E1-4144-B301-9309A4D7FD3C@ecyrd.com> Sender: Chris.Phelan@Sun.COM To: jspwiki-user@incubator.apache.org Reply-to: Chris.Phelan@Sun.COM Message-id: <4822CA9A.9090002@Sun.COM> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_tYHXYr90yJFfr6zG3uO+ow)" References: <4821B75F.2090301@Sun.COM> <35AE9EB6-88E1-4144-B301-9309A4D7FD3C@ecyrd.com> User-Agent: Thunderbird 2.0.0.12 (X11/20080325) X-Virus-Checked: Checked by ClamAV on apache.org --Boundary_(ID_tYHXYr90yJFfr6zG3uO+ow) Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT Janne, Thanks for getting back to me. I've just solved the problem. As well as having the ToC in the left menu, the Example page also had a ToC in its page content, and it seems that only one ToC is allowed. If I remove the ToC from the page content, the left menu ToC works. Since the Info tab didn't have a ToC it worked there anyway. I've attached screenshots of the 'broken' and 'working' Example page, just in case anyone doesn't understand what I'm talking about. Thanks for your time. Chris Janne Jalkanen wrote: > > Hmm... Seems to work quite well on sandbox.jspwiki.org (which is > 2.7.0-svn-9, but still). Could you please supply some more info? > Like the actual plugin invocation you used, and also a screenshot or two? > > /Janne > > On 7 May 2008, at 17:06, Chris Phelan wrote: > >> Hi, >> >> I'm experimenting with JSPWiki 2.6.2 and found it to be pretty usable >> for the most part, but I have a curious problem with the Table of >> Contents plugin. >> >> I've read the docs at >> >> http://www.jspwiki.org/wiki/TableOfContentsPlugin >> >> which state that !!!headings should be listed in the ToC. >> >> I tried editing the default Main page to place a ToC in the Left >> Menu, and sure enough it works as advertised. >> The problem is that I also wrote an Example page (with !!!headings) >> and the ToC just doesn't seem to work when on the 'View' tab - it >> only works on the 'Info' tab. >> >> I can supply screenshots if it helps explain the issue, but has >> anyone experienced similar misbehaviour, or am I missing something >> obvious? >> >> Thanks, >> >> Chris >> > --Boundary_(ID_tYHXYr90yJFfr6zG3uO+ow)--