incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Cooper" <matt.fa...@gmail.com>
Subject Re: Array attribute in af:region
Date Wed, 31 May 2006 16:32:00 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message