Sorry, guys for posting display tag issue here. Had to do this as I was not getting any response from it's user forum today atleast.

Have an object Account. Which is having attributes accountNum, accountType....etc.


In PrepareSummaryAction
ArrayList accounts = new ArrayList();

Account account1 = new Account();
acocunt1.setAccountNum("123");
account1.setAccountType("checking");

......

accounts.add(account1);
accounts.ad(account2);

request.set("accountsList", accounts);

In JSP
<display:table name="accountsList" requestURI="PrepareSummaryAction.do">
<display:caption class="bold_1"><br><bean:message key="lbl.summary"/></display:caption>
    <display:column property="accountNum" titleKey="lbl.accountnumber" />
    <display:column property="accountType" titleKey="lbl.acocunttype"/>
              ...........................
</display:table>

When I debug I can see that the all 5 rows are created.

Then, when after the 5th row is done when trying to execute the </display:table> line getting an exception.

Error looking up property "accountNum" in object type "com.Account". Cause: Unknown property 'accountNum'

Not sure what the issue is here.

Thanks.

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to