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">
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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>
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>
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