Yes. In the tag class all you need is a String. However in the component class you can bind that to any Object. The string value passed in acts as the key pointing to the Object it references.
On 1/27/07, Volker Weber <[EMAIL PROTECTED]> wrote:
Hi Stephane, > > 1. In the AddressTag class the following line: > > ValueBinding binding = application.createValueBinding(address); > > Only seems to allow a String object, and not a generic Object. > I don't understand the problem. Did you mean address should be another Object than String? This is in the tag class, address is the value you wrote in the jsp file: <cpc:address address="#{backendBean.address}"/> in this case address is "#{backendBean.address}", this IS a String. Regards, Volker
-- When I tell the truth, it is not for the sake of convincing those who do not know it, but for the sake of defending those that do