> 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

Reply via email to