It's working now..
here's what I changed.. someone tell me what it most likely was
my headlineVO.as had 1 thing out of order
nothing was mispelled but actionuser was at the bottom of the .as and
in the middle of my CFC
The bean was set up using dates, numerics and string.. I changed it
all to be st
in Services.mxml no I'm not..
just
http://www.adobe.com/2006/mxml";
xmlns:cairngorm="com.adobe.cairngorm.business.*">
as far as I can tell it looks okay I'm even looking at another .mxml
file in the same directory that is doing the exact same thing and it
works there.. I just dont know what
if it's event.target.selectedItem as headlineVO then currVO is always null..
On Mon, Mar 16, 2009 at 10:41 AM, Greg Morphis wrote:
> I tried changing that to ResultEvent but seemed to conflict with the
> IResponder import..
> Was getting an errors highlighting the below line
> MyModel.getInstanc
I tried changing that to ResultEvent but seemed to conflict with the
IResponder import..
Was getting an errors highlighting the below line
MyModel.getInstance().adminARCHeadlines
Implicit coercion of a value with static type object to possible
unrelated tye arrsy
and
interface method result in name
Still having a problem with this..
I changed the assignment code to
currVO = headlineVO(event.target.selectedItem);
note: I also changed the name of the VO incase somewhere it was being
set to null.
Anyways I started the debugger and when I selected a row in the debugger I see
Type Coercion failed:
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Greg Morphis
Sent: Friday, March 13, 2009 5:13 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: datagrid.selectedItem to vo?
In the command result I have
public function result(event:Object) : void
In the command result I have
public function result(event:Object) : void {
MyModel.getInstance().adminARCHeadlines = new ArrayCollection (event.result);
}
adminARCHeadlines is an ArrayCollection in MyModel.as
How do I tell it that it's an ArrayCollection of VOs?
On Fri, Mar 13, 2009 at 3:21 PM,
event.target.selectedItem says it's Object (@b3063a9) but lists all of
the variables: actiondate, actionuser, effdate, endeffdate, headline,
headline_id of my VO it also has a mx_internal_id
but I check 'this.currentVO' and it shows "null" after the assignment:
currentVO = event.target.selectedIte
8 matches
Mail list logo