Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1190

subfield in display tagx

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: WEB MVC
    • Labels:
      None

      Description

      If one refers one entry in another entity, there is no builtin way to show a particualr property of that entity (for example I would like to show SystemUser.username property when showing an entity's who last modified it)

      This can be achieved by subfield in display.tagx

      <jsp:directive.attribute name="subfield" type="java.lang.String" required="false" description="The sub field name"/>
      ..
      ..
      <c:when test="${not empty object and not empty subfield}">
      <spring:eval expression="object[field][subfield]" />
      </c:when>

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jcgarcia Juan Carlos GarcĂ­a del Canto
              Reporter:
              shahzada.hatim Shahzada Hatim
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: