cancel
Showing results for 
Search instead for 
Did you mean: 

Data connection between Java Webdynpro - Flex Flash Island

Former Member
0 Kudos

Hi,

I'm developing a Java Webdynpro with connection to a Flex Flash Island. I'm using Flex 3.2.

I've already set up the connection from WDJ to Flex, by using Events and the FlashIsland.fireEvent method, this all works fine. Now I'm trying to update a value in WDJ, to be updated in Flex. This gives the following error:

Error: Error #1023: Stack overflow occurred.

at Function/http://adobe.com/AS3/2006/builtin::apply()

at mx.binding::Watcher/wrapUpdate()

at mx.binding::PropertyWatcher/eventHandler()

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at mx.core::UIComponent/dispatchEvent()

at UWLApplication/set opentask_updated()

at MethodInfo-4234()

at Function/http://adobe.com/AS3/2006/builtin::call()

at sap.core.wd.context::WDContextListener/execute()

at sap.core.wd.context::WDContext/notifyListeners()

at sap.core.wd.context::WDContext/_set()

at sap.core.wd.context::WDContext/set()

at sap.wd.island::WDIsland/storeProperty()

at sap.wd.island::WDIsland/onUpdateProperty()

at mx.binding.utils::ChangeWatcher/wrapHandler()

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at mx.core::UIComponent/dispatchEvent()

at UWLApplication/set opentask_updated()

at MethodInfo-4234()

...

This is especially strange, cause before I had a refresh button in which I updated my entire item collection. Now, I have added this field and suddenly I get this error !

Does anybody has any idea what this could mean? Any help would be much appreciated ...

My field in Flex:

\[Bindable\]

public var opentask_updated:Number;

<mx:Text id="opentask_updated_text" text="{opentask_updated.toString()}" />

My adaptions in WDJ:

public void getInbox( ) {

wdContext.currentInboxElement().setOpentask_updated(0);

...

}

public void wdDoInit() {

getInbox();

}

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Solved!

It appeared to be a "long" parameter and I was trying to put it in a "Number" parameter in Flex (because there is no long in Flex)

When I changed both to String, it worked!