Title: Casting not working to avoid "Changes to property, length...will not be detected" warning

I have a custom object, and in the example line below, an instance is returned by a function The object has a property, valuesarray, which is typed as an Array.

This is a case where I would like binding to correctly, but I am getting the binding warning.

I tried casting the length to a Number:

        visible="{Number(app.p('DrawingData').valuesarray.length) == 0}"

but I still get the same warning:

Changes to property, length, from built-in object, Array, will not be detected

I can code around this but I have it in several places, and would like to be able to make this solution work.

I know Matts actually working, but does anyone else have any ideas?

Tracy



Yahoo! Groups Links

Reply via email to