cpaul
-
3/24/2005 10:20:56 PM
TreeMenu displays incorrect label
I've defined two templates, ProductCategory and Product, and am displaying a tree of the ProductCategories, but occasionally, the label displayed is pulled from another location, such as a page name, though the behavior is as though it were a product Category.
I'm placing the treemenu as so:
<cc1:cmstreemenu id="CMSTreeMenu1" runat="server" Indentation="2" MenuItemOpenImageUrl="~/images/menuitem_selected.gif" MenuItemImageUrl="~/images/menuitem.gif" SelectNodesPath="/Products/%" SelectNodesPathType="AliasPath" SelectNodesClassNames="cms.ProductCategory"></cc1:cmstreemenu>
And my document hierarchy is:
/ (Root) /Home (type = menuitem) Splash (article text for main welcome page) /Products (type = menuitem) CategoryA (type = productcategory) Category1 (type=productcategory) SomeProduct (type=product)
However the tree gets rendered as such:
Home Category1
And in other pages I've tried I've seen the same thing. Is this a known bug or a mistake in the paths I've set?
|