Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 5577 invoked from network); 11 Feb 2010 14:48:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Feb 2010 14:48:55 -0000 Received: (qmail 13745 invoked by uid 500); 11 Feb 2010 14:48:55 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 13680 invoked by uid 500); 11 Feb 2010 14:48:54 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org List-Id: Delivered-To: mailing list user@forrest.apache.org Received: (qmail 13672 invoked by uid 99); 11 Feb 2010 14:48:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 14:48:54 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ionut.scutaru@gmail.com designates 216.239.58.188 as permitted sender) Received: from [216.239.58.188] (HELO gv-out-0910.google.com) (216.239.58.188) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2010 14:48:48 +0000 Received: by gv-out-0910.google.com with SMTP id o2so105170gve.10 for ; Thu, 11 Feb 2010 06:48:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=WaZs8glkSQW5yOwp1F1wRFyj+hSwQHTPUy76PCPZBgM=; b=bwKAVIHlDLjOagKsFrZ3UpX9pYKVfwItYBD8g3PYTEMCQC1c7AGaco9e0b9apqai5S LohkWqZJKKXK/S4/0gvNbfliH0Iut3T8vU6iNHazAHJi3urhOf4uYZZparaiHHYhoUEi zp0WUu7Deffd1QUQl6rUAHipU0UklzG9d/Sqw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=WJTknVvYDE0mmAsEX/36aK41UoYFdiFnAAbc1JA9nnReR30WR+WlBVVw6U3zNh4CUB 2La+G1xy1ZAGWf+S5dqbDmyasPoWvl4ejHFaLVxg2kVcrLqbWXyRtXxTTo9KfYFU352B b55R0K0OdGKpgl3op2lgj7QQGXy2w2JdU+5Ts= MIME-Version: 1.0 Received: by 10.103.80.32 with SMTP id h32mr1402385mul.59.1265899706342; Thu, 11 Feb 2010 06:48:26 -0800 (PST) In-Reply-To: <499888441002110628y67369cffhf01f332d24aa405@mail.gmail.com> References: <6b193f1002110536h12c55b40tc0c65fa97853af72@mail.gmail.com> <499888441002110628y67369cffhf01f332d24aa405@mail.gmail.com> Date: Thu, 11 Feb 2010 16:48:26 +0200 Message-ID: <6b193f1002110648t13e62e4g80b52654f5cc15c4@mail.gmail.com> Subject: Re: problem with incorrect tab selection From: Ionut Scutaru To: user@forrest.apache.org Content-Type: multipart/alternative; boundary=0016e65b6230515c51047f543e82 --0016e65b6230515c51047f543e82 Content-Type: text/plain; charset=ISO-8859-1 Hi Tim, Thanks for replying. Here's our tabs.xml file (modify a little, to maintain the annonimity): I searched JIRA before, but I haven't found anything of use. On the other hand maybe the search terms that I used were not appropriate (and it's pretty hard to express the problem that I am having in a few search terms). Ionut On Thu, Feb 11, 2010 at 4:28 PM, Tim Williams wrote: > On Thu, Feb 11, 2010 at 8:36 AM, Ionut Scutaru > wrote: > > Hi, > > Our project has it's documentation site generated with Apache Forrest > > (v0.6). The site is up and running and in general everything is working > > fine. However.. there is a slight problem that was noticed and I don't > know > > if this is a bug or something that we configured wrong in the xml files. > > > > The issue is that, for some links, the currently selected tab is moved > back > > to the first one but the contents of the page remains correct. > Practically, > > the Design page is shown correctly, but not under the "Architecture" tab, > as > > it should, but under the "Release Notes" tab. > > > > I tried to figure out what's different for those links compared with the > > ones that work correctly and I noticed something: > > > > > > > tab="releasenotes"> > > > > > href="project/release_documentation/" tab="releasenotes"> > > > > > > > > > tab="architecture"> > > > > > > > > > > > > > > > > > > The structure of the folders is as follows: > > > > project\release_documentation\ > > project\architecture\ > > general\documentation\ > > > > When I click on the "Design Patterns" link I'm taken to the right page, > but > > the Architecture tab do not remain selected, but instead the "Release > Notes" > > tab gets active. > > > > It seems to me there is a problem with the indirect linking, but I can't > > pinpoint it.. > > Can you share your tabs definition? I seem to remember some problems > with loosing context in 0.6 - have you had a chance to search JIRA for > old issues? > > --tim > --0016e65b6230515c51047f543e82 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Tim,
Thanks for replying. Here's our tabs.xml file (modify a litt= le, to maintain the annonimity):

<?xml version=3D"1.0" = encoding=3D"UTF-8"?>
<!DOCTYPE tabs PUBLIC "-//APAC= HE//DTD Cocoon Documentation Tab V1.1//EN" "http://forrest.apache.org/dtd/tab-c= ocoon-v11.dtd">

<tabs software=3D"proj"
=A0 title=3D"Proj"=A0 copyright=3D"TheCompany"
=A0 xmlns:xlink=3D"http://www.w3.org/1999/xlink">= ;
=A0
=A0 <tab id=3D"releasenotes" label=3D"Releas= e Overview" dir=3D"project/release_documentation"/>
=A0 <tab id=3D"architecture" label=3D"Architecture" = dir=3D"project/architecture"/>
</tabs>

I sear= ched JIRA before, but I haven't found anything of use. On the other han= d maybe the search terms that I used were not appropriate (and it's pre= tty
hard to express the problem that I am having in a few search terms).
Ionut



On Thu, Feb 11, 2010 at 4:= 28 PM, Tim Williams <williamstw@gmail.com> wrote:
<= div class=3D"h5">On Thu, Feb 11, 2010 at 8:36 AM, Ionut Scutaru <ionut.scutaru@gmail.com> wrote:<= br> > Hi,
> Our project has it's documentation site generated with Apache Forr= est
> (v0.6). The site is up and running and in general everything is workin= g
> fine. However.. there is a slight problem that was noticed and I don&#= 39;t know
> if this is a bug or something that we configured wrong in the xml file= s.
>
> The issue is that, for some links, the currently selected tab is moved= back
> to the first one but the contents of the page remains correct. Practic= ally,
> the Design page is shown correctly, but not under the "Architectu= re" tab, as
> it should, but under the "Release Notes" tab.
>
> I tried to figure out what's different for those links compared wi= th the
> ones that work correctly and I noticed something:
>
> <?xml version=3D"1.0" encoding=3D"UTF-8"?> > <site xmlns=3D"http://apache.org/forrest/linkmap/1.0" label= =3D"Proj" href=3D""
> tab=3D"releasenotes">
>
> =A0=A0=A0 <releaseInformation label=3D"Release Information&quo= t;
> href=3D"project/release_documentation/" tab=3D"releasen= otes">
> =A0=A0=A0=A0=A0=A0=A0 <releaseOverview label=3D"Welcome" = href=3D"index.html"/>
> =A0=A0=A0 </releaseInformation>
>
> =A0=A0=A0 <architecture label=3D"Overview" href=3D"p= roject/architecture/"
> tab=3D"architecture">
> =A0=A0=A0=A0=A0=A0=A0 <arcOverview label=3D"Architecture Overv= iew" href=3D"index.html"/>
> =A0=A0=A0=A0=A0=A0=A0 <arcDesign label=3D"Design Patters"= href=3D"site:designPatterns"/>
> =A0=A0=A0 </architecture>
>
> =A0=A0=A0 <designPatterns href=3D"general/documentation/design= Patterns.html"/>
>
> </site>
>
> The structure of the folders is as follows:
> =A0=A0=A0 <parentFolder>
> =A0=A0=A0 =A0=A0=A0 project\release_documentation\
> =A0=A0=A0 =A0=A0=A0 project\architecture\
> =A0=A0=A0 =A0=A0=A0 general\documentation\
>
> When I click on the "Design Patterns" link I'm taken to = the right page, but
> the Architecture tab do not remain selected, but instead the "Rel= ease Notes"
> tab gets active.
>
> It seems to me there is a problem with the indirect linking, but I can= 't
> pinpoint it..

Can you share your tabs definition? =A0I seem to remember some = problems
with loosing context in 0.6 - have you had a chance to search JIRA for
old issues?

--tim

--0016e65b6230515c51047f543e82--