Hey guys, I'm getting this on MXML files referring to classes using
[ArrayElementType] rather than in the classes themselves:

[ArrayElementType](CompositeMapping)]: type CompositeMapping is unavailable.


The CompositeMapping class is definitely referenced from the MXML file
though:

    <dao:CompositeDTO id="sppAggregate">
        <dao:mappings>
            <dao:CompositeMapping name="salaryPackagePayment" dto="{ payment
}"/>
        </dao:mappings>
    </dao:CompositeDTO>

CompositeDTO.mappings is defined thus:

        [ArrayElementType("CompositeMapping")]
        public function set mappings(v : Array) : void { _mappings = v; }

Should I not be decorating the setter method? Builder seems to understand
and puts CompositeMapping at the top of the auto-complete popup when I'm
entering the MXML.

Obviously not immediately pressing, but I don't like warnings I don't
understand, as it often means something's going to bite me in the near
future ;-)

Ideas?

Cheers,

-J

-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to