Using version 1.0-b2. It seems that displaytag cannot find the
property name even though it is correct. My DAO returns a
RowSetDynaClass. I have tested this on 2 machines and triple checked
class paths, case, etc. I had iterated over the DynaProperty[] to get
the poperty names just to be extra sure ...

Any help would be appreciated. I am missing something obvious here and
have been looking at the problem too long I think!!

Gary

PS  I  have  had  this  working fine on b1 but even going back to this
version rendered the same results.



Exception and code snippet follows:

<%

AccountsDAO acc = DAOFactory.getDAOFactory().getAccountsDAO();

RowSetDynaClass rsdc = acc.getAccount("G1");
request.setAttribute("list", rsdc);

%>


<display:table name="list">
<display:column property="user_email"/>
</display:table>

08:28:29.435 EVENT Started HttpContext[/]
10 [PoolThread-1] ERROR org.displaytag.tags.TableTag - Error looking up prope
rty "user_email" in object type "org.apache.commons.beanutils.RowSetDynaClass"
Exception: [.LookupUtil] Error looking up property "user_email" in object type "
org.apache.commons.beanutils.RowSetDynaClass"
Cause: Unknown property 'user_email'
at org.displaytag.util.LookupUtil.getBeanProperty(LookupUtil.java:210)
at org.displaytag.model.Column.getValue(Column.java:93)
at org.displaytag.model.Column.createChoppedAndLinkedValue(Column.java:1
44)
at org.displaytag.model.Column.getOpenTag(Column.java:120)
at org.displaytag.tags.TableTag.getHTMLData(TableTag.java:1136)
at org.displaytag.tags.TableTag.doEndTag(TableTag.java:847)
at org.apache.jsp.accounts_jsp._jspService(accounts_jsp.java:102) 



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to