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:
<wiki:TabbedSection defaultTab='${param.tab}' >
<wiki:Tab id="pagecontent" title='<%
=LocaleSupport.getLocalizedMessage(pageContext, "view.tab")%>'
accesskey="v">
<wiki:Include page="PageTab.jsp"/>
<wiki:Permission permission="allPermission">
<wiki:PageType type="attachment">
<div class="information">
<fmt:message key="info.backtoparentpage" >
<fmt:param><wiki:LinkToParent><wiki:ParentPageName/></wiki:LinkToParent></fmt:param>
</fmt:message>
</div>
<div style="overflow:hidden;">
<wiki:Translate>[<%= c.getPage().getName()%
>]</wiki:Translate>
</div>
</wiki:PageType>
</wiki:Permission>
</wiki:Tab>
</wiki:TabbedSection>
Again, all I'm doing is removing the <wiki:TabbedSection> and <wiki:Tab>
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 <[EMAIL PROTECTED]> 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?]
> >
> >