voyent
The context menu does not open if I use a label for a submenu  XML
Forum Index -> Components
Author Message
Maksim_A

Joined: 27/Feb/2018 02:01:24
Messages: 18
Offline


When I try to go through my components and give them a description, the menu does not open. If I remove the label for the submenu, then everything works. But how do I put the text for the submenu?

Code:
				<ace:contextMenu id="wdContextMenu">
 					<c:forEach var="item" items="${contextMenu.items}">
 						<c:choose>
 						<c:when test="${item.childCount == 0}">
 						<ace:menuItem value="#{item.value}" actionListener="#{contextMenu.listener}">
 						</ace:menuItem>
 						</c:when>
 						<c:otherwise>
 							<ace:submenu value="#{item.value}" label="#{item.value}">
 								<c:forEach var="subMenuItem" items="${item.children}">
 									<ace:menuItem value="#{subMenuItem.value}" actionListener="#{contextMenu.listener}">
 									</ace:menuItem>
 								</c:forEach>
 							</ace:submenu>
 						</c:otherwise>
 						</c:choose>
 					</c:forEach>
 				</ace:contextMenu>
 
Forum Index -> Components
Go to:   
Powered by JForum 2.1.7ice © JForum Team