Worked, thanks dude!
Stace

________________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Matt 
Chotin
Sent: Wednesday, January 25, 2006 5:27 PM
To: [email protected]
Subject: RE: [flexcoders] Can't get rid of warnings when deploying on unix

Sounds like a compiler bug.  Try wrapping with Object: 
Object(field[FieldRepeater.count-1]).selected

________________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Stacy 
Young
Sent: Wednesday, January 25, 2006 2:21 PM
To: [email protected]
Subject: RE: [flexcoders] Can't get rid of warnings when deploying on unix

p.s. the warnings ONLY show once after the application is first deployed and is 
compiling. (weblogic 8.1 on solaris) After that its fine...

________________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Stacy 
Young
Sent: Wednesday, January 25, 2006 5:00 PM
To: [email protected]
Subject: [flexcoders] Can't get rid of warnings when deploying on unix

Flex-config is set NOT to display warnings but it decides on its own to do so 
anyway. Normally it hasn't been a huge issue, we'd just fix the warning...but 
in the following case I'm not sure how to do that seeing as the binding is 
based on an expression:

The warning we're getting is:  Changes to unknown property, selected, will not 
be detected.

It's obvious why seeing as the compiler can't evaluate the expression...can 
anyone off an alternative?

Thanks!

<mx:Repeater id="fieldRepeater"
                    dataProvider="{ModelLocator.selectedListItems}">
                <util:CheckBoxData id="field"
                    label="{fieldRepeater.currentItem.description}"
                    data="{fieldRepeater.currentItem.code}"
                    click="commitSelected(event)"
                    selected="{isSelected()}"
                    tabIndex="{fieldRepeater.currentIndex}" />
</mx:Repeater>

        <mx:TextInput id="fieldText" width="100%"
                    enabled="{field[fieldRepeater.count-1].selected}" 
backgroundColor="#EFEEEF"
                    focusOut="commitSelected(event)"
                    tabIndex="{fieldRepeater.count}" />






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to