Ektron CMS400.Net Reference

>>Using Other Development Frameworks > CustomJSPFunctions > XML Menu Function

XML Menu Function

The ecmGetMenuXML function wraps XML around the properties of a menu created in the Ektron CMS400.NET Workarea. Once created you can use the XML to display the menu. The ecmGetMenuXML function allows you to easily define how the menu data appears on the Web page.

<%= ecmGetMenuXML(int id) %>

This function is basically the same as the XML Menu function in ASP. See XML Menu for details.

The only difference between the JSP function and the ASP one is the syntax for implementing it. The JSP example is below.

<%= ecmGetMenuXML(1) %>


Visit the Ektron Dev Center at http://dev.ektron.com 1-866 - 4 - EKTRON

Ektron CMS400.NET Reference Version 8.02 SP1 Rev 1

Ektron Documentation,© 2011 Ektron, Inc.