On 1/24/06, Rovi <[EMAIL PROTECTED]> wrote:
> Hi, I am wondering if my Lenya (1.2.4) installation (copy of default) is
> behaving normal or not: When I put in my URL www.domain.com, it it changes to
> http://www.domain.com/index.html;jsessionid=319jj6vkbnamd
> So, a session ID is attached to the url. At this point I see an issue: my home
> page takes the CSS attributes from the 'breadcrumb' row (so if the breadcrumb
> color is red, the whole page becomes red). Also, the search input field and
> button rise up and sit above the bread-crumb row.
> Now if I click on the 'home' menu, everything becomes ok and the url becomes
> http://www.sapmendocino.com/index.html.
>
> I examined the difference in page source and see this:
> BAD CASE:
> div id="main"><div id="breadcrumb" /><div id="search">
>
> GOOD CASE:
> div id="main"><div id="breadcrumb">
>   »
> Home</div><div id="search">
>
> So my question is what I could do to correct this behavior? Also why is
> session id attached to the URL? Is it normal, or could this be causing the
> issue? If I copy paste the url with session id, it always messes up; without
> it (if i put in www.domain.com/index.html), it is fine.
> This is happening in my default pub also.

I reproduced it.  Just block cookies from your site and refresh the
browser without "/index.html" in the URL.

The problem is that the Breadcrumb navigation is empty because the
page is not found.  The SessionID should have be removed from the
requestURI, and the PageEnvelope document-url, and <xsl:if
test="descendant-or-self::nav:[EMAIL PROTECTED] = 'true']"> in
breadcrumb.xsl should not see the SessionID.  There is a bug.

SOLUTIONS:
1. Use a homepage that does not include the breadcrumb navigation.
2. In breadcrumb.xsl (in /lenya/xslt, either under your pub's
directory, or /webapps) add a space to the DIV so it does not
collapse:
<xsl:template match="nav:site">
  <div id="breadcrumb">
    <xsl:apply-templates select="nav:node"/>
&#160; <-- Space added to prevent DIV tag collapse -->
</div>
</xsl:template>

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to