Need help configuring BlazeDS dashboard demo


hi, getting started blazeds, trying rebuild collaborative 'dashboard' demo provided ant build.xml i've had trouble getting run correctly mxmlc. instead i've imported eclipse , added:
-services d:/dev/tomcat/webapps/dash/dashboard-debug/web-inf/flex/services-config.xml
to flexbuilder compiler options line. allows app run. comes , displays components, events (such clicking on pie slice or changing month) sent producer never received consumers.

private function initapp():void {
consumer.subscribe(); // ....
}

// send messages when user's selection changes
// (event handler of slider)
private function monthchange():void {
var message:imessage = new asyncmessage();
message.body = {month: timeline.selectedmonth};
producer.send(message);
}

<mx:producer id="producer" destination="dashboard"/>
<mx:consumer id="consumer" destination="dashboard" message="messagehandler(event)"/>

so, snippet, produer.send() being called consumer's messagehandler(event) not. missing running backend service or endpoint configuration messages flow thru server? code simple, configuration brick wall. appreciated!
thanks,
michael

hey,

for reason own build file (i had hard time myself going).

so if want nice buildfile checkout link : http://www.vantwisk.nl/riesvantwisk/entry/adobe_flex_and_blaze_ds

i going update better build file , method compile modules within application aswell.

the zip has been designed 'just run' , contains goodies should work.

ries


More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support