Try declaring a setPct(Double pct) and let me know if it works. If it still doesn't work please post a complete example on the sourceforge bugtracker. Displaytag uses Jakarta commons-beanutils to resolve bean properties and common-beanutils adhere to the javabean specification using the standard javabean introspectory machine to determine accessible properties in a bean: it should not fail with correct properties...
fabrizio -----Original Message----- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 9:06 PM To: '[EMAIL PROTECTED]' Subject: RE: [displaytag-user] Can't make displaytag work > 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) Well, yes, they are different. I have: public void setPct(double pct) and public Double getPct() Not a perfect match. But I also have: public void setCount(int count) and public Integer getCount() And the tag library has no trouble with the count property. -- Tim Slattery [EMAIL PROTECTED] ------------------------------------------------------- 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 ------------------------------------------------------- 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

