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 f
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 t
n error.
>
> Now I've also tried to add the to the tld definition (I
> have to admit I don't yet understand what this property does), but that
> hasn't helped.
>
> You're assistance is greatly appreciated as I've already wracked my brain
> enough
s@myfaces.apache.org
Subject: How to create a custom component with a non-string data model
Hi all,
I'm trying to create a custom component and I've got it working when the
input value is a String type parameter from my backend bean. However my
problem is that it's not working w
Hi all,
I'm trying to create a custom component and I've got it working when the
input value is a String type parameter from my backend bean. However my
problem is that it's not working when the parameter is anything but a String
object, say a data model object. I've tried a number of options,
5 matches
Mail list logo