incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud MERGEY <amer...@sunopsis.com>
Subject Re: Array attribute in af:region
Date Thu, 01 Jun 2006 07:06:29 GMT
Hi Matt
thanks for reply
It is what I'have done, I have wrapped my array into a Class, and it works.

Arnaud

Matt Cooper a écrit :
> Hi Arnaud,
>
> I have not tried this myself but was thinking you might want to try
> specifying just "demo.MyType" in the attribute-class and instead in your
> implementation of demo.MyType, have it extend java.util.ArrayList or some
> other type of collection to suite your needs.
>
> Regards,
> Matt
>
> On 5/31/06, Arnaud MERGEY <amergey@sunopsis.com> wrote:
>>
>> Hi,
>> Is it possible to define array attribute in region-metadata.xml ?
>>
>> I'have tried this
>> <attribute>
>>             <attribute-name>objectInstances</attribute-name>
>>             <attribute-class>demo.MyType[]</attribute-class>
>>             <attribute-extension>
>>                 <required>true</required>
>>             </attribute-extension>
>>         </attribute>
>>
>> And I have java.lang.ClassNotFoundException: demo.MyType[]
>>
>> thanks for help.
>> Arnaud
>>
>>
>


Mime
View raw message