Hi All,
    Is it possible to insert a SimpleMenuItem with a tiles tag instead of using html 
tags ?

For ex.

If I have items defined as 

    <definition name="/content/menu.body"
                path="/layout/tabsLayout.jsp">
      <putList name="tabList">
        <item value="Image Upload"
              link="/content/manageContentUpload.do"
              tooltip="Click to upload Images"
              icon="/images/logo.gif"/>
        <item value="HTML Upload"
              link="/content/manageHtmlUpload.do"
              tooltip="Click to upload HTML"
              icon="/images/plus.gif"/>
      </putList>
    </definition>

Now to display these items I can use
  <c:forEach var="tab" items="${tabList}" varStatus="status">

<a href="<c:url value="${tab.link}"/>" ><html-el:img page="${tab.icon}" 
alt="${tab.tooltip}"/><c:out value="${tab.value}"/></a>

  </c:forEach>  

Is there a "tiles way" to insert this tab ?

thanks n regards

Deepak




Reply via email to