logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: [BlueXML-user] How to have several menu on one page ?: msg#00027

Subject: Re: [BlueXML-user] How to have several menu on one page ?
Ok, i see the stylesheet generating the menu (convert2list.xsl).

Now i need to know how i can pass the id of the selected bookmark to this stylesheet.
The href in the bookmark are generated somewhere in bx, and, i'm probably wrong, but i think i need to add something to the url to fix the selection problem.
I wonder if it wouldn't be better to use the event system from the portal block to manage the selection ?

Another thing seems a bit weird to me,
Why using id for css styling and not class attribute on div elements ?
Since there can be several menus on the page, some divs end up having the same id attribute (listamatic, menu-list...), which can leads to a lot of bugs.
By looking at the code i see that there is a generate-id.xsl stylesheet which adds id to divs, but it has been commented out on some of the menus, does someone knows what is the problem ?

Thanks,

Marc

2006/1/9, Jean-Christophe Kermagoret < jck-qkEci4++Hf1AfugRpC6u6w@xxxxxxxxxxxxxxxx>:
Marc,
Look at the data-tamer/src/blocks/data-tamer/view-type/menu-view, you
will find, according the configuration parameters provided (viewType,
viewStyle and viewOptions), the pipelines used.

You will have this one for the IndexWWW for example :

<map:resource name="listWithILink">
     <map:transform src="">             <map:parameter name="viewOption" value="{viewOption}"/>
     </map:transform>
</map:resource>

Jean-Christophe

Marc Salvetti a écrit :
> Thanks for the answer,
>
> i looked at the file and found a similar config at the coplet level in
> my project.
>
> Still, i need to know how the selection is managed between the menus,
> and what source files are implied in the (static) menu generation.
>
>
>
>     IndexWWW and IndexBlog are 2 menus, as you cna see on the BlueXML
>     welcome page.
>
>
> Well, i can't really see now, as it seems to be broken ;)
>
>
> Marc
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> User mailing list
> User-BhR0IzePIl4@xxxxxxxxxxxxxxxxxxxxxxxxx
> http://mlm.triglyphe.com/mailman/listinfo/user


--

BlueXML
Jean-Christophe Kermagoret
Directeur associé
jck-qkEci4++Hf1AfugRpC6u6w@xxxxxxxxxxxxxxxx

_______________________________________________
User mailing list
User@xxxxxxxxxxxxxxx
http://mlm.triglyphe.com/mailman/listinfo/user

_______________________________________________
User mailing list
User-E0IXfuzpajFHgg9j4ji3+w@xxxxxxxxxxxxxxxx
http://mlm.triglyphe.com/mailman/listinfo/user

Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>