> When I code this "column" tag:
> 
> <display:column property="pct" title="Percent" />
> 
> I get an error message telling me that the taglib can't find a "pct"
> property in my Java object. But there it is, there is a getPct()
getter
> function. If I change the name of that property to "xxx", and change
the
> getter to getXxx(), it works fine.

Mh, do you have a setPct() method in your java object? If there are both
getters and setters but with a different type (es String getPct(),
setPct(int)) the pct property does not respect the javabean standard and
can maybe be ignored. 
Usually, thought, the get method win (this is the reason why you can use
a setClass() method in a custom tag, because it has a different return
type than the java.lang.object getClass() method)

fabrizio


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to