Has anyone tried to create a menu dynamically using datasets (menu and menuitems)?

I am trying to associate a menu, and menuitem with a dataset, in a similar way as shown with trees in the chapter 34 paragraph 8.3 of the Developer's Guide.  This way I hope in changing the content of the dataset, dynamically change the options in the menu and menuitem.

How would be possible to generate the same menubar/menu/menuitem shown below from a dataset?

<menubar>
    <menu text="Menu 1">
        <menuitem text="Item 1.1"/>
        <menuitem text="Item 1.2"/>
        <menuitem text="Item 1.3"/>
    </menu>
    <menu text="Menu 2">
        <menuitem text="Item 2.1"/>
        <menuitem text="Item 2.2"/>
    </menu>
</menubar>

Thank you

Dalmo

_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to