I would prefer the following:
*enabled="{ myDataProvider.length > 0}"
*
It's shorter and communicates the intention better imho
Cheers,
Ralf.
On 2/6/07, rd_grimes <[EMAIL PROTECTED]> wrote:
Just curious if this type of syntax is wise or advisable? I just
completed my first major Flex project and I use this in several
places. But, now I'm wondering if anyone knows of a reason why this
might cause problems or introduce some undesired side-effect.
Thanks,
Ron
--
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany
Phone +49 (0) 221 530 15 35