Menu

Single Colum - Multiple properties

Praburaj
2005-07-19
2012-10-09
  • Praburaj

    Praburaj - 2005-07-19

    Hi,
    I would like to diplay multiple properties from bean in a display tag single column. C:OUT within display tag did not help me. Any help would be appreciated . Here is the code
    <display:table name="InvoiceDetail.invoiceLineItem" id="InvoiceDetail" cellspacing="2" cellpadding="0"
    requestURI="/oms/invoice/invoiceDetail.do" defaultsort="1" pagesize="20" styleClass="list userList" export="false">

    <display:column title="DESCRIPTION" sort="true" headerClass="sortable" width="45%">
    <c:out value="InvoiceDetail.invoiceLineItem.desc"/>
    <c:out value="InvoiceDetail.invoiceLineItem.value"/>
    </display:column>

     
    • Matt Raible

      Matt Raible - 2005-07-19

      Try this:

      <display:table name="InvoiceDetail.invoiceLineItem" id="invoiceDetail" cellspacing="2" cellpadding="0"
      requestURI="/oms/invoice/invoiceDetail.do" defaultsort="1" pagesize="20" styleClass="list userList" export="false">

      <display:column title="DESCRIPTION" sort="true" headerClass="sortable" width="45%">
      <c:out value="${invoiceDetail.invoiceLineItem.desc}"/>
      <c:out value="${invoiceDetail.invoiceLineItem.value}"/>
      </display:column>

       
    • Praburaj

      Praburaj - 2005-07-20

      Sorry I was typo in my original note,,,i've exactly what you have given,,,but <c:out brings nothing on the screen. In the example to be more specific,,,InvoiceDetail is bean in which invoiceLineItem is a list of beans. <c:out is not able to identify display tag objects. no error msgs. but screen is blank. plz advise

       

Log in to post a comment.

MongoDB Logo MongoDB