Xcelsius feedback form: Saving XML

Xcelsius feedback form: Saving XML

Written by: Ryan Goodman
Published: June 12th, 2008
6583 views

After doing a write-up about saving scenarios, I figured I would create a simple application with Xport Wizard showing how to save and load comments from an XML file.

The only issue with an application like this is maintaining the data that people submit. To edit or delete comments, I have to go the XML file to delete records.

This example also illustrates a few workarounds that I often use when I build applications like this.

Download Source Files

Adjusting for browser caching: A browser will cache web service connections that a SWF executes, so you have to compensate using a random variable. In my Xcelsius file, I append a “?” plus a RAND function, which ensures that each time I execute my web service, the URL is different.

Prohibiting user clicks: After you submit a comment, you will notice that the send comment button is disabled. In addition, when you view previous comments, you can not click and modify the input text area. To achieve this, I use background components with the capture mouse events feature checked. This invisible background component is layered over the components I want to display but not allow a user to click on.

If you browse through the example, you will probably find a few other interesting ways that I leverage light Excel logic with component properties to achieve the desired functionality I wanted in my dashboard.

To learn more about Xport Wizard, visit http://centigonsolutions.com/xportwizard

6 comments

Comment from: Jim McCarthy [Visitor]
Looking for BOBJ OLAP Intelligence - Voyager resources
06/20/08 @ 12:28
Comment from: deyon [Visitor]
thank you i been looking to build my own sort of app but did not know where to start..or how. thanks again (FLEX tutorials requested -=)
06/29/08 @ 21:42
Comment from: bearning [Visitor]
although get un-friendly UI in TEXT
field, it's great, looks cool
07/01/08 @ 02:39
Comment from: Jack.chen [Visitor]
Thank you . there are too little inf
about iteractive app. And Here you give me a great help.
07/27/08 @ 22:48
Comment from: 传奇私服 [Visitor] · http://www.sf9456.com
I Will have to come back again when my class load lets up - however I am taking your RSS feed so I can read your site offline. Thanks.
05/18/10 @ 04:29
Comment from: pan [Visitor]
http://www.sell-brand-bag.com
http://www.wto-sell.com
http://www.wto-store.com
http://www.2010christianlouboutin.com
06/07/10 @ 03:06

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)





©2010 by Ryan Goodman •

Contact • Credits: blog software | web hosting | monetize