Skip to content

Commit

Permalink
Issue IMCMS-464: Menu tag - Leaves visible content even if empty
Browse files Browse the repository at this point in the history
- Refactor
  • Loading branch information
Victor authored and Victor committed Sep 11, 2019
1 parent 4e8e8b7 commit d595dd7
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions docs/design/tag-engine/menu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,10 @@ When we use attribute isMenuLooped - true, we mustn't use menuLooped inside tag

.. code-block:: jsp
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Template</title>
<meta charset="utf-8"/>
</head>
<body>
<imcms:menu no='1' docId="1001" pre="<div><ul>" post="</ul></div>" isMenuLooped="true" label="something" showlabel="true">
<li><imcms:menuitemlink>
${menuitem.title}
</imcms:menuitemlink></li>
</imcms:menu>
</body>
</html>
<imcms:menu no='1' docId="1001" pre="<div><ul>" post="</ul></div>" isMenuLooped="true" label="something" showlabel="true">
<li><imcms:menuitemlink>${menuitem.title}</imcms:menuitemlink></li>
</imcms:menu>

0 comments on commit d595dd7

Please sign in to comment.