Bug 35614 - [PATCH] fix current-attribute in sitetree for the BXE-edit-view
Summary: [PATCH] fix current-attribute in sitetree for the BXE-edit-view
Status: NEW
Alias: None
Product: Lenya
Classification: Unclassified
Component: Bitflux Integration (show other bugs)
Version: 1.2.4
Hardware: All All
: P3 enhancement
Target Milestone: 1.2.6
Assignee: Lenya Developers
Depends on:
Reported: 2005-07-05 15:46 UTC by Michael Wohlfart
Modified: 2007-04-23 09:12 UTC (History)
0 users

patch for navigation.xmap (954 bytes, patch)
2005-07-05 15:47 UTC, Michael Wohlfart
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Wohlfart 2005-07-05 15:46:31 UTC
First some background (as far as I understand it):
By editing a document in BXE the document is transfered to the client by using
an URL with the pattern "*.bxe.html", this URL is matched by a pipeline in 
publication-sitemap.xmap which uses the standard aggregation to assemble the page.
The navigation parts (tabs, breadcrumbs, ...) of the page are generated by a
pipeline in the navigation.xmap sitemap, the pipeline uses the sitetree2nav.xsl
stylesheet to process the sitemap and marks the current page with an attribute
The current-attribute is used in the navigation parts of the page to show or
hide parts of the navigation tree.

The problem:
The ".bxe" in the URL for the document seems to confuse the sitetree2nav.xsl
stylesheet, this means a current-attribute is never set to true when I open a
document for editing in BXE and my navigation is messed up in the editor view.
Comment 1 Michael Wohlfart 2005-07-05 15:47:42 UTC
Created attachment 15596 [details]
patch for navigation.xmap

The proposed patch adds a new pipeline to navigation.xmap which removes the
".bxe" from the URL and calls the sitetree2nav.xsl stylesheet.
Comment 2 Andreas Hartmann 2007-04-23 09:12:43 UTC
It looks good in 1.4-dev.