Hi,

We have pages having ONE UIExtension objects of XWiki.UIExtensionClass.

Using as

$services.uix.getExtensions('dashboard.mainMenu.items',{'sortByParameter' : 
'displayorder'})


With a #foreach loop we can access all the parameters. (and other extension 
properties)

But is it possible to get the page information (Name, Title, Creator, Rights)


The use case is that we want a dynamic menu based on that information?


The following did not give the desired result:

#set($dashboardMenuItems = 
$services.uix.getExtensions('dashboard.mainMenu.items',{'sortByParameter' : 
'displayorder'}) )

#foreach($dashboardMenuItem in $dashboardMenuItems)

  #set($dashboardMenuItemDocument = $xwiki.getDocument($dashboardMenuItem))

#end


Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerrit...@cdlsworld.org>



_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to