Reusing mbMenu , I managed to have something starting to to work. In the SGLTreePresenter , when I render a node , I have at one point :
Hi,As far as I know no right-click menu is implemented in glamour-seaside.The action menus are done using the mb menu jquery plugin, which supportscontextul menus. I think this plugin uses the same html for normal and contextmenus so it will be possible to reuse the part that builds the menu.However, it may need some extending, as it doesn't support sub-menus.Regarding the implementation the question is if you would like to supportdynamic actions? If you would like this then you have to dymanically loadthe menus by using ajax. Fortunately the plugin has this feature.To bind the event to the tree look at _addMarkupAndBindingsForNode fromthe sglTree widget.AndreiOn Fri, Jul 29, 2011 at 5:29 PM, Cyrille Delaunay <cy.delaunay@gmail.com> wrote:
_______________________________________________Hello,I'm looking to have the selection right-click menu working with glamour-seaside (which is currently not implemented ?).Does somoene already woked on this or have any suggestions about how to do that ?After looking a bit, maybe it is possible to reuse the scripts used for the actions menu of a presentation (?)
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev