#if(!$UtilMethods.isSet($request.getParameter("id")))
Nothing to fetch
#else
#set($id = $request.getParameter("id"))
#getContentMapDetail($id)
#if(!$UtilMethods.isSet($content))
No Content with id $id Found
#else
#foreach($key in $sorter.sort($content.keySet()))
| $key |
#if($key.toLowerCase().equals('contentletcategories'))
#if($content.get($key).size() > 0)
#foreach($cat in $content.get($key))
#set($catObj = $categories.getCategoryByInode($cat))
$catObj.getCategoryName()
#end
#else
No Categories
#end
#elseif($key.toLowerCase().equals('contentletcategorieskeys'))
#if($content.get($key).size() > 0)
#foreach($catKey in $content.get($key))
#set($catObj = $categories.getCategoryByKey($catKey))
$catObj.getCategoryName()
#end
#else
No Category Keys
#end
#elseif($key.toLowerCase().equals('contentletcategoriesnames'))
#if($content.get($key).size() > 0)
#foreach($cat in $content.get($key))
$cat
#end
#else
No Category Names
#end
#elseif($key.toLowerCase().equals('contentletcategoryobjects'))
#if($content.get($key).size() > 0)
#foreach($cat in $content.get($key))
$catObj.getCategoryName()
#end
#else
No Category Objects
#end
#elseif($listTool.isList($content.get($key)))
#if($content.get($key).size() > 0)
#foreach($item in $content.get($key))
- $item
#end
#else
Empty Array
#end
#else
$content.get($key)
#end
|
#end
#end
#end