Hi,

Upgrading to displaytaglib 1.0xx I got some problems.

This used to work:
<display:table pagesize="20" list="<%=request.getAttribute("result")%>" decorator='decor.JndiDecorator' requestURI='advancedsearch.do?viewresult=true'>
<display:column href='<%=url%>' property='property(cn)' paramId='dn' paramProperty='property(dn) title="searchresult.name" sort='true'/>
</display:table>


This worked because I had a getProperty(String property) in my TableDecorator implementation.

Two problems
1) property='property(cn)' , LookupUtils does not resolve this. Is this intended? To be beanutils compliant mapped properties should be supported?
2) paramProperty='property(dn), even if I make this paramProperty='dn' and write a getDn() function in my JndiDecorator it wont work. I guess that the decorator is not used to retrieve paramProperty like it was for earlier versions? I humbly suggests it should.


BTW; This is the exception I get:
Exception: [.LookupUtil] Error looking up property "property(cn)" in object type "javax.naming.directory.BasicAttributes"
Cause: Unknown property 'property(cn)'
at org.displaytag.util.LookupUtil.getBeanProperty(Ljava.lang.Object;Ljava.lang.String;)Ljava.lang.Object;(LookupUtil.java:210)
at org.displaytag.model.Column.createChoppedAndLinkedValue()Ljava.lang.String;(Column.java:206)
at org.displaytag.model.Column.getOpenTag()Ljava.lang.String;(Column.java:120)
at org.displaytag.tags.TableTag.getHTMLData()Ljava.lang.String;(TableTag.java:1136)
at org.displaytag.tags.TableTag.doEndTag()I(TableTag.java:847)




Would really appreciate feedback on this.

thanks,

Joachim Gjesdal
pornstar and programmer



-------------------------------------------------------
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-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to