myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volker Weber" <v.we...@inexso.de>
Subject Re: How to create a custom component with a non-string data model
Date Fri, 26 Jan 2007 21:41:05 GMT
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

Mime
View raw message