Re: [flexcoders] Fw: Two way binding and stric mode compiler options
No, it is probably of type Object. Probably worth filing a bug if there isn’t one. Not sure how we’d fix it though. On 8/4/11 10:51 PM, "jitendra jain" wrote: Well , in data grid of spark component we have selectedItem:Object and in other spark components like List we have selectedItem:*, whenever my compiler runs in strict mode it throws the compiler error 1118: Implicit coercion of a value with static type Object to a possibly unrelated type com.objects.EventRule (while using datagrid) RuleController.as public class RuleController{ [Bindable] public var selectedRule :EventRule; } In mxml I had written some workaround and it works now.. Thanks. But i think in data grid the Flex SDK must have selectedItem:*; Thanks, with Regards, Jitendra Jain Software Engineer 91-9979960798 From: Alex Harui To: "flexcoders@yahoogroups.com" Sent: Wednesday, 3 August 2011 11:54 PM Subject: Re: [flexcoders] Fw: Two way binding and stric mode compiler options A test case and full text of the error are helpful things to post. On 8/3/11 12:58 AM, "jitendra jain" wrote: This is working for other components like list but only creating problem with datagrid of spark library. Thanks, with Regards, Jitendra Jain Software Engineer 91-9979960798 - Forwarded Message - From: jitendra jain To: flex group flex Sent: Wednesday, 3 August 2011 12:39 PM Subject: Two way binding and stric mode compiler opt! ions Hi Guys, Iam using one data grid in which in have written one inline selectedItem ="@{employee}" , it is throwing a strict mode compiler error. I dont want to change my compiler options .. Please help Thanks, with Regards, Jitendra Jain Software Engineer 91-9979960798 -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Fw: Two way binding and stric mode compiler options
Well , in data grid of spark component we have selectedItem:Object and in other spark components like List we have selectedItem:*, whenever my compiler runs in strict mode it throws the compiler error 1118: Implicit coercion of a value with static type Object to a possibly unrelated type com.objects.EventRule (while using datagrid) RuleController.as public class RuleController{ [Bindable] public var selectedRule :EventRule; } In mxml I had written some workaround and it works now.. Thanks. But i think in data grid the Flex SDK must have selectedItem:*; Thanks, with Regards, Jitendra Jain Software Engineer 91-9979960798 From: Alex Harui To: "flexcoders@yahoogroups.com" Sent: Wednesday, 3 August 2011 11:54 PM Subject: Re: [flexcoders] Fw: Two way binding and stric mode compiler options A test case and full text of the error are helpful things to post. On 8/3/11 12:58 AM, "jitendra jain" wrote: > > > > > > >This is working for other components like list but only creating problem with >datagrid of spark library. > >Thanks, > >with Regards, >Jitendra Jain >Software Engineer >91-9979960798 >- Forwarded Message - >From:jitendra jain >To: flex group flex >Sent: Wednesday, 3 August 2011 12:39 PM >Subject: Two way binding and stric mode compiler opt! ions > >Hi Guys, > > Iam using one data grid in which in have written one inline selectedItem >="@{employee}" , it is throwing a strict mode compiler error. I dont want to >change my compiler options .. Please help > >Thanks, > >with Regards, >Jitendra Jain >Software Engineer >91-9979960798 > > > > > > > > > -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Fw: Two way binding and stric mode compiler options
A test case and full text of the error are helpful things to post. On 8/3/11 12:58 AM, "jitendra jain" wrote: This is working for other components like list but only creating problem with datagrid of spark library. Thanks, with Regards, Jitendra Jain Software Engineer 91-9979960798 - Forwarded Message - From: jitendra jain To: flex group flex Sent: Wednesday, 3 August 2011 12:39 PM Subject: Two way binding and stric mode compiler opt! ions Hi Guys, Iam using one data grid in which in have written one inline selectedItem ="@{employee}" , it is throwing a strict mode compiler error. I dont want to change my compiler options .. Please help Thanks, with Regards, Jitendra Jain Software Engineer 91-9979960798 -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui