Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 8910 invoked from network); 11 May 2008 23:01:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 May 2008 23:01:30 -0000 Received: (qmail 96766 invoked by uid 500); 11 May 2008 23:01:32 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 96753 invoked by uid 500); 11 May 2008 23:01:32 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 96742 invoked by uid 99); 11 May 2008 23:01:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 May 2008 16:01:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dirk.frederickx@gmail.com designates 64.233.182.191 as permitted sender) Received: from [64.233.182.191] (HELO nf-out-0910.google.com) (64.233.182.191) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 May 2008 23:00:46 +0000 Received: by nf-out-0910.google.com with SMTP id c7so1273320nfi.40 for ; Sun, 11 May 2008 16:00:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=QD4hHBdV4dnXR9yQQYL2I7PjB2XIYwkKtq+60+SJAzs=; b=rrXeObbf8Slc0P+xN1i7U+uOHB4TCtIMZ21WD+Y3yRmnI00i41Ogxfcayt/IxV2UId0/NNXvMYbIM4HfI8kywAElFzJ6+NFIzW86LwmnW6T6UuNem57k776HXZd+T02noTCqw8kIofyRs66gEqxHOYBLUlG7ZMr9ZbwZo3ySopk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hC+KFab/KsIpy3Dk4RGHvvOGOf9pWo38J4Kk4g4i6Bf0ZLFT1MDFG+s3amXiqRhcgAMvmON14jZ1oAaBta9K0rjftXWFW4WJ7glrVi7+kTV8uH6enw6+rzG5ktFxGseSETDSY/Q5fNRePcsYS2elYYXOlWZ8L9YZ8ZWDpQ+IElE= Received: by 10.210.86.15 with SMTP id j15mr6640280ebb.53.1210546859866; Sun, 11 May 2008 16:00:59 -0700 (PDT) Received: by 10.210.118.1 with HTTP; Sun, 11 May 2008 16:00:59 -0700 (PDT) Message-ID: <15cc92000805111600g45992cf7rfa8439d9cf1f5cb8@mail.gmail.com> Date: Mon, 12 May 2008 01:00:59 +0200 From: "Dirk Frederickx" To: jspwiki-dev@incubator.apache.org Subject: Re: Customizing and Collapsible Lists In-Reply-To: <1210544852.29856.434.camel@netframe> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1210459403.29856.365.camel@netframe> <15cc92000805102129k1f74ed0et4fca72f6cc809205@mail.gmail.com> <1210500954.29856.378.camel@netframe> <15cc92000805111443v1d0cff66u36716e56ca329f91@mail.gmail.com> <1210544852.29856.434.camel@netframe> X-Virus-Checked: Checked by ClamAV on apache.org Actually, collapsible lists need to be rendered separately for the LeftMenu and the PageContent. Therefore, we need a way to identify both regions. However, there **should** not be any link with the use of tabbed sections. Plse log this issue as an improvement request in JIRA. dirk On 5/12/08, Terry Steichen wrote: > Dirk, > > Thank you - that did it. Should we enter a JIRA issue (or some other > way document this)? A related question is why does this dependency > exist? And, in general, is collapsible list the only construct with > this requirement, or is if more general? > > Terry > > On Sun, 2008-05-11 at 23:43 +0200, Dirk Frederickx wrote: > > > Terry, > > > > Make sure to keep in your pagecontent something with id="pagecontent". > > This is used by the js to identify the region were collapsibles should > > be rendered. > > > > So, iso just removing all tabbed section tags, replace them by > > > >
> > > >
> > > > dirk > > > > On 5/11/08, Terry Steichen wrote: > > > Dirk, > > > > > > All I do is delete the bracketing TabbedSection and Tab tags. Once I do > > > that, collapsible lists don't work. There are no Javascript errors > > > indicated. The contents of the relevant part of PageContent.jsp are: > > > > > > > > > > > > > > > > > accesskey="v"> > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > >
> > > [<%= c.getPage().getName()% > > > >] > > >
> > >
> > >
> > >
> > > > > >
> > > > > > Again, all I'm doing is removing the and > > > tags. If I restore them (as above) the collapsible list works fine. > > > > > > BTW, I did go through the CSS and could find no apparent/logical linkage > > > between these tags and collapsible list behavior. But - somehow - that > > > linkage appears to exist. (I just verified it again to make sure.) > > > > > > Terry > > > > > > > > > On Sun, 2008-05-11 at 06:29 +0200, Dirk Frederickx wrote: > > > > > > > Terry, > > > > > > > > That should indeed be possilble. Collapsible list are completely > > > > independent from the TAB handling. > > > > > > > > Can you check whether, after the removal of the tabbed-sections, the > > > > javascript is not throwing any error ? You may have removed some > > > > stuff which is required by the js. If this is the case, also the > > > > collapsibles, etc., will not function anymore. > > > > > > > > > > > > dirk > > > > > > > > On 5/11/08, Terry Steichen wrote: > > > > > I'm customizing the PageContent.jsp to remove the TabbedSection and Tab > > > > > tags (View, Attach, Info) in favor of a simple, direct display of the > > > > > page (PageTab.jsp). It seems to be working fine except for the fact > > > > > that the collapsible lists (%%collapse) don't work any more. I looked > > > > > through jspwiki.css in a vain attempt to figure out why. > > > > > > > > > > Is there a simple way to do what I'm trying to do (skip the tabbed > > > > > structures) and still use collapsible lists? > > > > > [Dirk?] > > > > > > > > > > > > > >