Hi,

I've attached minimal versions of site.xml and tabs.xml. Tabs with id 'home',
'screenshots' and 'development' have no navigation section (no menu appears
when they are selected). The rounded bottom line is not added to them. The
other two tabs show a menu when they are selected. The rounded bottom line is
added to these menus.

Please, tell me if you need some more info.

Vicent

2009/4/2 Thorsten Scherler <thorsten.scherler....@juntadeandalucia.es>:
> On Wed, 2009-04-01 at 16:41 +0200, Vicent Mas wrote:
>> Hi,
>>
>> finally I've fixed my problem. In my customisation layer I've done the
>> following changes:
>>
>> - in pelt-html.leftbar.panel.xml I've commented out the call to the
>> nav-section-round-bottom contract
>> - in nav-section.ft, I've added a template with the same functionality than 
>> the
>> nav-section-round-bottom contract. I've added too a conditional call to this
>> template: it is called from <xsl:template match='/'> when the condition
>> <xsl:if test="$nav-section/navigation/menu != ''"> is fulfilled
>>
>> In a few words, if a tab doesn't contain a navigation menu then the bottom is
>> not rounded. Probably this can be achieved in a much easier way (it works
>> fine if I use the skinconfig approach instead of the dispatcher) but, as a 
>> good
>> newbie, I cannot find it. Please tell me if you know a better solution.
>
> To give you a quick feedback, please can you send/point me to the
> responsible code in skins that work.
>
> You should be able to do exactly the same in the dispatcher then in
> skins. It seems some devs fixed the skins but did not apply the fix to
> the dispatcher.
>
> salu2
> --
> Thorsten Scherler <thorsten.at.apache.org>
> Open Source Java <consulting, training and solutions>
>
> Sociedad Andaluza para el Desarrollo de la Sociedad
> de la InformaciĆ³n, S.A.U. (SADESI)
>
>
>
>
>



-- 
Share what you know, learn what you don't.
<?xml version="1.0" encoding="UTF-8"?>

<site label="The Forresters" href="" xmlns="http://apache.org/forrest/linkmap/1.0"; tab=""
			xmlns:xi="http://www.w3.org/2001/XInclude";>
	
	<overview tab="home" href="index.html"/>

	<screenshots tab="screenshots" href="screenshots/screenshots.html"/>

	<development tab="development" href="development/development.html"/>
	
	<download tab="download" label="Getting MySoftware" href="download/"
						description="How to get MySoftware packages">
		<from_project label="From here"
									href="download.html"/>
		<distros label="From other sources"
						 href="distros/distros.html"/>
	</download>

	<reading tab="reading" label="Docs" href="reading/"
					 description="Documentation about MySoftware">
		<index label="Index"
					 href="documentation.html"/>
		<testimonials label="Testimonials"
									href="testimonials/testimonials.html"/>
		<faq label="FAQ"
						 href="faq/faq.html"/>
	</reading>
	
	
  <external-refs>
		<forrest href="http://forrest.apache.org/";>
      <linking href="docs/linking.html"/>
      <validation href="docs/validation.html"/>
      <webapp href="docs/your-project.html#webapp"/>
      <dtd-docs href="docs/dtd-docs.html"/>
      <new_content_type href="docs/your-project.html#adding_new_content_type"/>
      <buildPlugin href="docs/howto/howto-buildPlugin.html"/>
    </forrest>
    <forrest-zone href="http://forrest.zones.apache.org/"/>
    <cocoon href="http://cocoon.apache.org/"/>
    <xml.apache.org href="http://xml.apache.org/"/>
  </external-refs>
</site>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.1//EN" "http://forrest.apache.org/dtd/tab-cocoon-v11.dtd";>
<tabs software="The Forresters"
			title="The Forresters"
			copyright="The Apache Software Foundation"
			xmlns:xlink="http://www.w3.org/1999/xlink";>
  <tab id="home" label="Home" dir=""/>
  <tab id="screenshots" label="Screenshots" dir="screenshots" indexfile="screenshots.html"/>
	<tab id="download" label="Download" dir="download" indexfile="download.html"/>
	<tab id="development" label="Development" dir="development" indexfile="development.html"/>
	<tab id="reading" label="Documentation" dir="reading" indexfile="documentation.html"/>
	
</tabs>