I'm wondering if it's possible to have MenuItem's evaluate EL expressions. As 
an example, given the following:

  <definition name="customers/orders" extends="customers/base">
    <put-list-attribute name="breadcrumbs">
      <item value="${customer.id}" link="/customers/${customer.id}" />
      <item value="Orders" link="/customers/${customer.id}/salesOrders" />
      <item value="${order.id}" 
link="/customers/${customer.id}/salesOrders/${order.id}" />
    </put-list-attribute>
    <put-list-attribute name="body" cascade="true" inherit="true">
      <add-attribute value="/WEB-INF/views/customers/cust-orders.jsp" />
    </put-list-attribute>
  </definition>

It would be really cool for each of the expressions to evaluate.

I see that the MenuItem support is now in tiles-compat, is there an alternate 
(better?) way of achieving this?

Reply via email to