[luci] Regarding Menus in LuCI

Steven Barth steven at midlink.org
Tue Dec 15 15:15:30 CET 2009


The dispatching tree can be accessed by calling the
node() function of luci.dispatcher.

This function returns the tree on the given path.
Without paramters it returns the root.

WIth node("foo", "bar") it returns node foo/bar.
A node is a structure containing elements like .target (the dispatching 
target) or .nodes (the child nodes).


Regards,
Cyrus

Am Dienstag 15 Dezember 2009 04:29:45 schrieb Daniel Franklin:
> Hi,
> 
> I wanted to develop a different look and feel (UI Layout) for LuCI. But I
>  am not understanding the concept that the menu is built. Can anyone
>  explain me how the menu is built and what is the starting point of the
>  dispatching tree.
> 
> I am new to Luci and am struggling to find out how menus are created.
> 
> Regards,
> Daniel Frankin | Engineer | R & D Services | MindTree Ltd. | Global
>  Village, RVCE Post, Mysore Road, Bangalore, Karnataka, India, 560059 |
>  INDIA | Voice +91-080-26264000 | Fax: +91 80 2671 4000 | Mobile
>  +91-9980201985 |
>  email:daniel_franklin at mindtree.com<mailto:daniel_franklin at mindtree.com> |
>  www.mindtree.com<http://www.mindtree.com>
> 
> 
> ________________________________
> http://www.mindtree.com/email/disclaimer.html
> 


More information about the luci mailing list