|
Steve, many thanks, now it's clear. I guess I went through similar troubles while implementing my own TreeModel to get a lazy-loading and paged tr:tree, but finally it works fine. Concerning the dropdown menu I will likely pick up components from Tomahawk. -- Renzo [EMAIL PROTECTED] wrote: There is some confusion around the MenuModel. I have tried to implement the MenuModel myself (without using the supplied wrapper) and I can tell you it is not straight forward to do. This is one part of Trinidad that needs to change because this model is too tightly coupled with Oracles database and cursor technology that I have never bother to learn. I do not think the "model" is very clean.While the MenuModel itself can be nested, the af:menuBar can only show ONE LEVEL of that model. This is where the startDepth comes into play. It starts at 0 and this would be the root. If you want to show next level down you set the depth to 1, etc. Very confusing, basically showing each leaf of the tree. So this is mis-leading. Basically there is one model and each of the component types "renders" it differently. If you want a _javascript_ed drop-down menu then you will have to go else where for that type of control. While a "nice to have" feature I think you can easily design around it. You could put a second menu bar below the first, point to the same model, but set the startLevel to 1, visible if an item is selected in top menu. Its not a drop down but has same effect, some might actually prefer. Steve Renzo Tomaselli <[EMAIL PROTECTED]> 01/31/2007 10:20 AM Please respond to adffaces-user To: [email protected] cc: Subject: Re: [Trinidad] which component for a dropdown menu Ok, but I still wonder how a nested MenuModel is rendered for all those several hints of a navigationPane. The MenuModel can be nested by definition. Furthermore ADF documentation at http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/imageIndex.html seems to deal with multilevel menus in the description of af:menuBar, which should become a tr:navigationPane. But I cannot find any example around - either for ADF or for Trinidad - dealing with such issue. -- Renzo [EMAIL PROTECTED] wrote: |
- [Trinidad] which component for a dropdown menu Renzo Tomaselli
- Re: [Trinidad] which component for a dropdown menu Steven . Murray
- Re: [Trinidad] which component for a dropdown men... Renzo Tomaselli
- Re: [Trinidad] which component for a dropdown... Steven . Murray
- Re: [Trinidad] which component for a drop... Renzo Tomaselli
