In order to avoid possible errors in returned XML format, I made a test copying an example xml returned from flashdata-ajaxprocessor.jsp and I've returned it as a constant from my JSP. The only difference is the indentation, but I don't think it could be a problem...
Thanks ________________________________________ Da: [email protected] [[email protected]] per conto di ratha [[email protected]] Inviato: martedì 23 marzo 2010 16.40 A: [email protected] Oggetto: Re: [Carbon-dev] Problem using wedgegraph.swf Cappa Roberto wrote: > Hi, > > We are trying to use BAM to show different data from default provided with > the standard installation. First, I've created a custom gadget starting by > copy from service-wedge-chart-of-server.xml. I've deployed it in an external > webapp (because the Registry in BAM is read-only from admin console). Because > of relative paths, I've changed paths of included swfobject.js, > encoder-decoder.js, retrieve-data.js, help-populator.js, gadgets.css, > help.css that are now correctly visibile from my webapp (the gadget is loaded > correctly in console). The only structural change is the dataURL variabile of > flash object, changed like this > > so.addVariable("dataURL", "test/users-ajaxprocessor.jsp"); > > where test is the root of my webapp. > > this jsp returns an XML with data in the same format of the original > flashdata-ajaxprocessor.jsp > > Have you checked is there any errors in your return xml.? > The problem is that my gadget shows an empty gray circle without any other > information This mostly occurs because of the error in the return xml.. > (but the users-ajaxprocessor.jsp code is called from the gadget, because I > log the XML content of data before "out.print(data)" in JSP). > > Questions: > > Is there any documentation about the meaning and format of parameters passed > to the flash wedgegraph.swf object? > Does wedgegraph.swf source code is available? > yes..you can find docs here.. BAM_HOME\resources\dashboard\gadgets\swfobject1-5 Thanks. -Ratha. > Is there a way to debug the swf component? > > Thanks > _______________________________________________ > Carbon-dev mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > _______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev _______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
