• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

ReferenceError: Error #1056: Cannot create property

New Here ,
Mar 19, 2012 Mar 19, 2012

Copy link to clipboard

Copied

Greetings.

I  have created a service and vo on my server.  I have verified they work and return data.

I have copied the vo (value ordered) class to my flashbuilder.  it is identical to my file

on the server.   I have created the TrailerVO.as file defining my class.

When I retrieve data, I can display all the data, except the field named maxwidth.

The field maxwidth was added after I had already got things working.   I can

see in the Network monitor that the maxwidth data is being returned from teh server,

but it just won't display.  Maxwidth is integer.

I examined the_Super_TrailerVO.as file and it does not contain the maxwidth.

Is there a way to get flashbuilder to regenerate this file ?

Any ideas why I am getting this error?

thanks.

TOPICS
PHP

Views

2.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 20, 2012 Mar 20, 2012

Copy link to clipboard

Copied

LATEST

The answer is:

once you change the VO, you need to go to the Data/Services tab.  Right click on the method and choose "configure return type"

which will pull in the new fields.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines