Hi, I am trying to use the display:table tag along with my nested bean and am encountering the following error : Exception: [.LookupUtil] Error looking up property "name" in object type "java.lang.String" Cause: Unknown property 'name' at org.displaytag.util.LookupUtil.getBeanProperty(LookupUtil.java:218) at org.displaytag.model.Column.getValue(Column.java:96) at org.displaytag.model.Column.createChoppedAndLinkedValue(Column.java:147) at org.displaytag.model.Column.getOpenTag(Column.java:123) at org.displaytag.tags.TableTag.getTableBody(TableTag.java:1472) at org.displaytag.tags.TableTag.getHTMLData(TableTag.java:1231) at org.displaytag.tags.TableTag.doEndTag(TableTag.java:885) My .jsp page has the following code : Departments: I have 2 beans : class DepartmentBean> Collection employees; String depName; and class EmployeeDetailBean String name; --- --- Since, the error says Error looking up property "name" in object type "java.lang.String", is there anyplace where I should be mentioning that the Collection is composed to objects of type DepartmentBean ? I dont see any such specification in the display tag examples. I also tried a couple of other things, in vain. Any insight would be highly appreciated. Thanks, Sheela
Indiatimes Email now powered by APIC Advantage. Help!
My PresenceHelp
Click on the image to chat with me

Reply via email to