Flex with Xcelsius load XML problem
I have an Xcelius SWF that reads an XML.
When i load it in Flex it reads nothing.
Anyone can help me?
Thanks.
Hi,
You could try using a HTTP Watcher app to see if Xcelsius tries ot communicate ot get the XML file at all, or is could be a local Flash Player security issue (you could try making the SWF trusted).
Otherwise Adobe Flex has quite a few issues with loading in SWF files not build using exactly the same Flex SDK version (Flex SDK 2 Hotfix 3 for Xcelsius 2008.
You may want to seach the internet for for Flex Marshall Plan which tries to explain things you can try to do in Flex 3 or later to try to work around this...
Regards
Matt
Similar Messages
-
I have a php page that creates a recordset from mySQL and the exports it as XML so I can load it into dreamweaver to use with spry
this particular recordset filters the results according to a session variable, so the results are relevant to the logged in user
in dreamweaver the XML will not load though, as I assume this is because dreamweaver does not have a session with the server, so the required session variable does not exist. the page access is also restricted (needs a user to have logged in tot he site thus creating the session)
how can I set the sesssion variable in dreamweaver so when it requests the XML is will load
hope that makes senseIf you talking about seeing the SPRY XML in the Bindings panel, then Dreamweaver cannot set a Session Variable to my knowledge.
What I do is use a Default Value in my SQL statement to guarantee it returns a recordset.
Hope this helps. -
For some reason, my XML code below is loading EVERYTHING in the XML file including the tags, unicode...everything. Help?
pagesContent = new XML();
pagesContent.ignoreWhite = true;
pagesContent.load("pages.xml");
pagesContent.onLoad = function(success)
if(success)
myText.text = pagesContent;Ohhhhh... okay, thanks. After researching how to parse, I tihnk I'll stick simply with an XML file
One more question: how do I get html to render from my XML file if the text box is already set to render html? Whether I use old tags (<b></b>) or the new ones (<strong></strong>) it is still just showing the tags as text. -
How to create a menu in flex with dynamic images?
I am using mx.controls.Menu but can't seem to find a way to add dynamic images to it...is there a way fo doing this? should I me using another control?
place the images path in the xml file
when the swf is loaded pass the path of the xml file and
bind the source of menu images with the loaded xml
If this post answers your question or helps. please mark it as such -
Hi.
I have a problem this load XML data. For example: file name:
01-05-2008.xml => in this file all data have date=01.05.2008.
Once i load period 01.05.2008 to 10.05.2008 my app load 10 files.
Sometimes some row this greater date stay earlier then row this
smaller date. I don't know why this happend. Bellow part of code.
Please help.
P.S. sorry for my very bad english.Hi Lekser,
ntsii is totally right.
Calling httpservice send is a async operation, which means
you don´t know when the result event of such operation will
return.
You can also sort your grid after a xml data file was loaded.
At least it would guarantee that the entries appear in the
right order.
best regards,
kcell -
Problem w.r.t. JSF 2.0 with faces-config.xml
Hi All,
I am trying to evaluate the features of JSF2.0.
For that, I have created a very simple application with "JSF 2.0.2".
There is a page that displays a composite component and some other form related components (inputtext, commandbutton).
When I deploy my application without any faces-config.xml file, everything renders perfectly fine.
When I deploy the app with faces-config.xml (even an empty one without any configuration), none of the components get rendered.
Only the html elements get displayed.
I need to define some navigation-rules in my config file. I am not sure how to go further from here.
The app server I am using for deploying my app is GlassFish(v3).
Any help or pointers towards solving my problem are highly appreciated.
You can find the xhtml file, etc of my project below.
Thank you,
With best regards,
Praveen
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
</web-app>
faces-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config xmlns="http://java.sun.com/JSF/Configuration">
</faces-config>
resources->acicomp->namesection.xhtml
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:composite="http://java.sun.com/jsf/composite">
<composite:interface>
</composite:interface>
<composite:implementation>
<h:panelGroup>
<h:panelGrid columns="2">
<h:outputText value="Name: "/>
<h:inputText value="myName"/>
<h:outputText value="Company: "/>
<h:inputText value="myComp"/>
</h:panelGrid>
</h:panelGroup>
</composite:implementation>
</html>
index.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:aci="http://java.sun.com/jsf/composite/acicomp">
<h:head>
<title>JSF Test Program</title>
</h:head>
<h:body>
<p>My Simple Test Program</p>
<h:form id="testForm" >
<p>TEST</p>
<aci:namesection></aci:namesection>
<h:inputText id="username" value="John" />
<h:commandButton id="submit" action="response" value="Submit"/>
</h:form>
</h:body>
</html>I found the problem.
The dtd location of the faces-config.xml had to be changed. It was pointing to the schema of 1.1.
With the following faces-config.xml, my application worked perfectly fine.
<?xml version="1.0"?>
<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
version="2.0">
</faces-config> -
Problem with images in XML with excel output
Hello:
I made an XML concurrent program, with excel output, but i am having a problem:
The rtf template has a logo (bmp image), but it is not showing in the excel (if i execute the concurrent in the oracle applications). However, if i create the xml in Oracle Reports in my computer, and then load that xml in the rdf template in word, i can see the logo in the excel preview. I don't know why is it not showing when i execute the program in applications.
If someone can help me with this, i will be very grateful.
Greetings
Message was edited by:
user632438xml cP, will not give you a image in excel output,..
In RDF there is a placeholder for image, and the image is located in certain location, at runtime it picks and render the output with logo.
but xml CP, will get the data in xml type and merge with rtf to get the output you wanted..
if you have the rtf with logo embedded in it, if output is of pdf or rtf output , then it will display the logo ,.
in excel currently it is not possible to show the logo,..
excel you see could be xml-excel or csv-excel not the true binary excel.
to get the logo embedded ,for that you have to wait on tim for the excel template, which will be release in near future i guess.. -
Problem to load XML SQL Utility into other user
Hi,
I need help to load XML Utility into other user than
"scott"tiger".
I loaded both xmlparser.jar and oraclexmlsql.jar into
"scott/tiger", it works and creating functions and testing work
fine. But when change USER_PASSWORD to another user, it gave me
some errors like
creating : org/xml/sax/helpers/AttributeListImpl
Error while creating class org/xml/sax/helpers/AttributeListImpl
ORA-29506: invalid query derived from USING clause
ORA-00942: table or view does not exist
Error while accessing MD5 table
ORA-00942: table or view does not exist
Do I need create any table or view for my another oracle account?
Or did I missed any thing. From the installation instruction, I
cano not find any about creating table or view before I load the
two jar files.
Thanks
Yuping
nullHi Yuping,
Great to hear that! Thx for posting the solution to the
problem! Let us know if you have any problems with the utility
or if u need any enhancements!
Thx
Murali
Yuping Zhu (guest) wrote:
: Hi,Murali,
: The problem is fixed now. When load xmlparser into the user, it
: creates two tables automatically, my mistake is I did not grant
: "create table" privilege to the user. After I granted the
: privilege to it, it works fine.
: Thanks!
: Yuping
: Murali K (guest) wrote:
: : Hi,
: : I will check this out with the Java folks and let u know
: : Thx
: : Murali K
: : Yuping Zhu (guest) wrote:
: : : Hi, Murali
: : : I'm using Oracle8i on Solaris 2.6. When I load xmlparser
: using
: : : loadjava -resolve -verbose -user $USER_PASSWORD
xmlparser.jar
: : : I get error message and I catch part of erros
: : : PS, I can load it into scott/tiger.
: : : Thanks!
: : : Yuping
: : : loading : org/w3c/dom/html/HTMLLegendElement
: : : Error while loading org/w3c/dom/html/HTMLLegendElement
: : : ORA-04068: existing state of packages has been
discarded
: : : ORA-04063: package body "IOEXML.LOADLOBS" has errors
: : : ORA-06508: PL/SQL: could not find program unit being called
: : : ORA-06512: at line 1
: : : creating : org/w3c/dom/html/HTMLLegendElement
: : : Error while creating class
org/w3c/dom/html/HTMLLegendElement
: : : ORA-29506: invalid query derived from USING clause
: : : ORA-00942: table or view does not exist
: : : Error while accessing MD5 table
: : : ORA-00942: table or view does not exist
: : : loading : org/w3c/dom/html/HTMLImageElement
: : : Error while loading org/w3c/dom/html/HTMLImageElement
: : : ORA-04068: existing state of packages has been
discarded
: : : ORA-04063: package body "IOEXML.LOADLOBS" has errors
: : : ORA-06508: PL/SQL: could not find program unit being called
: : : ORA-06512: at line 1
: : : creating : org/w3c/dom/html/HTMLImageElement
: : : Error while creating class
org/w3c/dom/html/HTMLImageElement
: : : ORA-29506: invalid query derived from USING clause
: : : ORA-00942: table or view does not exist
: : : Error while accessing MD5 table
: : : ORA-00942: table or view does not exist
: : : loading : oracle/xml/parser/v2/XSLException
: : : Error while loading oracle/xml/parser/v2/XSLException
: : : ORA-04068: existing state of packages has been
discarded
: : : ORA-04063: package body "IOEXML.LOADLOBS" has errors
: : : ORA-06508: PL/SQL: could not find program unit being called
: : : ORA-06512: at line 1
: : : Murali K (guest) wrote:
: : : : Hi Yuping,
: : : : I tried the same on a 8i database and it seems to be
: : working
: : : : fine. (loading into two schemas). In fact I just created
: the
: : : : other user and it doesnt have any tables or anything in
it.
: : : : You do not need to create anything (table/view) extra
for
: : : these
: : : : to work.
: : : : Which database (Oracle8 or 8i) are u using?
: : : : Thanks
: : : : Murali
: : : : Yuping Zhu (guest) wrote:
: : : : : Hi,
: : : : : I need help to load XML Utility into other user than
: : : : : "scott"tiger".
: : : : : I loaded both xmlparser.jar and oraclexmlsql.jar into
: : : : : "scott/tiger", it works and creating functions and
: testing
: : : work
: : : : : fine. But when change USER_PASSWORD to another user,
it
: : gave
: : : me
: : : : : some errors like
: : : : : creating : org/xml/sax/helpers/AttributeListImpl
: : : : : Error while creating class
: : : : org/xml/sax/helpers/AttributeListImpl
: : : : : ORA-29506: invalid query derived from USING clause
: : : : : ORA-00942: table or view does not exist
: : : : : Error while accessing MD5 table
: : : : : ORA-00942: table or view does not exist
: : : : : Do I need create any table or view for my another
oracle
: : : : account?
: : : : : Or did I missed any thing. From the installation
: : instruction,
: : : I
: : : : : cano not find any about creating table or view before
I
: : load
: : : : the
: : : : : two jar files.
: : : : : Thanks
: : : : : Yuping
null -
PROBLEM IN LOADING XML SECOND TIME
HI,
Actually i m loading xml 1st time when the page is loading,then again 2nd time when i m trying to load 2nd xml based on dropdown value then it is loading xml but it is appending the 2nd xml with the 1st xml.i m also unloading xml at first then loading 2nd xml but it is cming like that.the code is for loading and unloading is........
for loading i m calling---------------load_xml(xml)
for unloading i m calling------------- unload_xml()
function unload_xml():void
trace("in unload")
this.removeChild( flashmo_item_group );
function push_array(e:Event):void
flashmo_xml = XML(e.target.data);
total = flashmo_xml.item.length();
for( i = 0; i < total; i++ )
flashmo_item_list.push( { content: flashmo_xml.item[i].content.toString() } );
load_css();
function load_xml(xml_file:String):void
var xml_loader:URLLoader = new URLLoader();
xml_loader.load( new URLRequest( xml_file ) );
xml_loader.addEventListener(Event.COMPLETE, push_array);
xml_loader.addEventListener(IOErrorEvent.IO_ERROR, io_error);
function load_css():void
css_loader.load( new URLRequest(css_file) );
css_loader.addEventListener(Event.COMPLETE, css_complete);
css_loader.addEventListener(IOErrorEvent.IO_ERROR, io_error);
function css_complete(e:Event):void
var css_format:TextFormat = new TextFormat();
flashmo_style.parseCSS(css_loader.data);
create_item_list();
flashmo_loading.visible = false;
function io_error(e:IOErrorEvent):void
flashmo_loading.xml_info.text += "\n\n" + e;
function create_item_list():void
for( i = 0; i < total; i++ )
var flashmo_item = new MovieClip();
flashmo_item.addChild( create_item_desc( flashmo_item_list[i].content ) );
flashmo_item.addChildAt( create_item_bg( flashmo_item.height, i ), 0 );
flashmo_item.y = item_height;
item_height += flashmo_item.height + item_spacing;
flashmo_item_group.addChild( flashmo_item );
this.addChild( flashmo_item_group );
flashmo_item_group.mask = flashmo_mask;
flashmo_sb.scrolling("flashmo_item_group", "flashmo_mask", 0.40); // ScrollBar Added
function create_item_bg( h:Number, item_no:Number )
var fm_rect:Shape = new Shape();
fm_rect.graphics.beginFill(0xFFFFFF, 1); // ITEM BACKGROUND COLOR
fm_rect.graphics.drawRoundRect(0, 0, item_width, h + item_padding * 2, 0);
fm_rect.graphics.endFill();
return fm_rect;
function create_item_desc( item_desc:String )
var fm_text = new TextField();
fm_text.x = item_padding;
fm_text.y = item_padding;
fm_text.width = item_width - item_padding * 2;
fm_text.styleSheet = flashmo_style;
fm_text.htmlText = item_desc;
fm_text.multiline = true;
fm_text.wordWrap = true;
fm_text.selectable = true;
fm_text.autoSize = TextFieldAutoSize.LEFT;
return fm_text;
flashmo_sb.alpha=1;
so plz give me idea to resolve this problem.function push_array(e:Event):void
flashmo_item_list = [];
flashmo_xml = XML(e.target.data);
total = flashmo_xml.item.length();
for( i = 0; i < total; i++ )
flashmo_item_list.push( { content: flashmo_xml.item[i].content.toString() } );
load_css();
that will reset your array. -
Xcelsius with XMLA or XML Query Result Set
Hi Experts,
I want a direct connection from Xcelsius to my BW-Data. Because the new connection, coming with Fix Pack 2.1 is only avaiable for EHP 1 for NW 7.0 I tried to configure with XMLA and XML Query Result Set.
This Document tells the necessary steps: How to integrate Xcelsius 2008 with SAP NetWeaver BI without Integration Kit.pdf.
When I test my XML connection over http://<host>:<port>/TXmla/srvlet/TestXmla my Cubes will display.
So I do a Webservice-Connection with WSDL-URL. At Input-Values there are some entries like CUBE_NAME, CATALOG_NAME...
Output values arent avalible. How do I use these elements to show my Data in Xcelsius?
My Problem with the XML Query Result Set Connection is, that when I Log On to VC the following error appears:
You are not authorized to view the requested resource.
So I get the authorisationobjects: S_DEVELOP and S_RS_COMP as describe in 'How To... Resolve Visual Composer Issues'.
What values have I to enter by S_RS_COMP? And how can I enter my External Service in S_SERVICE. At the type WS the service isnt't avaiable.
Regards,
JanTo use XMLA web service you need a wrapper function build to convert the XMLA output to the Xcelsius format. There are some documents available in SDN on how to do this.
You can use Live Office or Query as a Web service option to connect from Xcelsius to BW.
S_RS_COMP is the query ID which you are trying to access, S_SERVICE you can either give * or try to set up authorization log and see the expected value. -
Loading xml data to a oracle database problem in style sheet
Hi,
I Have one small Problem While loading xml data to a oracle database.
In the XML i have the Columns and Data Like this.
<Data>
<TRAN>
<Type_Trs>A</Type_Trs>
<T1>2</T1>
<T2>3</T2>
</TRAN>
<TRAN>
<Type_Trs>B</Type_Trs>
<T1>2</T1>
<T2>3</T2>
</TRAN>
</Data>
I have TRAN Table having Field Like this.
TRAN(Type_Trs,T1,F)
Note:- The XML Column T2 is Not matching with TRAN Table Column F
I want to fetch T2 data into F column.
When I am fetching the xml data into oracle table only
one row is fetching.
Can You help me
To load the the all the record of XML data into the Oracle Table
What will be my XLS Style Sheet File Please
suggest me.
Regards
MBR
Thnks in AdvanceHi MBR
You would be better posting your question to the general XML forums:
http://forums.oracle.com/forums/category.jspa?categoryID=51
This is purely for XML/BI Publisher where we get the data back out of the db :o)
Tim -
XML problems with WM 5.0 emulator
I have a FL 2.0 app that loads xml just fine. However, when I
just tried it in the WM 5.0 320x240 emulator, it wouldn't load the
xml, it gave an error, saying that the xml call was not associated
with a key event or a mouse event. It's loaded through a function
on the second frame, that shouldn't be a problem. Anyone else had
this problem or know how to help me out? I did not think that the
jump to 2.1 would be much of a challenge.
It also runs full screen in the emulator, but off center, to
the right.
Any help is very much appreciated.Have you tested this on a device? Else we have a generic
emulator for
FlashLite 2.1(
http://labs.adobe.com/wiki/index.php/Flash_Lite_2.1_Authoring)
on Flash 8 professional. Can you try on a device or on
FlashLite 2.1
emulator with Flash 8?
Regards,
Vijayan.
"bbonnet18" <[email protected]> wrote in
message
news:ej12gk$qf9$[email protected]..
>I have a FL 2.0 app that loads xml just fine. However,
when I just tried it
>in
> the WM 5.0 320x240 emulator, it wouldn't load the xml,
it gave an error,
> saying
> that the xml call was not associated with a key event or
a mouse event.
> It's
> loaded through a function on the second frame, that
shouldn't be a
> problem.
> Anyone else had this problem or know how to help me out?
I did not think
> that
> the jump to 2.1 would be much of a challenge.
>
> It also runs full screen in the emulator, but off
center, to the right.
>
> Any help is very much appreciated.
> -
Problems with reports and XML-publisher - No XML
Hi!
I'm having a problem with Apps and XML-publisher. I made a report file, which queries some views. When executing in reports, I get all the data I expect.
Now, when I upload the reportfile to Apps and let it generate XML, my xml-file is empty (well, almost empty)
<?xml version="1.0" ?>
<!-- Generated by Oracle Reports version 6.0.8.27.0 -->
<T03501684>
<LIST_G_PERSOON>
<LIST_G_PERSOON />
</T03501684>
Anyone who can shed any light upon this problem?OK, finally solved the problem... A good night's sleep always helps ;).
After just trying each queried table one after an other, I found the problem:
The difference between Oracle Apps (Dutch locale) and the reports builder (English) is the language... And our functional people have changed some names, but the Dutch ones, leaving the english names in place and one of the tables I query has language specific data, which is also appears in a where clause. -
because you this loading firefox.exe like process from the beginning of the computer with a load from 38 to 42000 kb or like I can solve this problem, atualmente when lighting the computer among the processes that are loaded when beginning the computer is a process of name firefox.exe with a load of between 30 and 50000 kb but I don't find to the registered firefox inside the programs to crgar from the beginning when entering for msconfig.exe my operating system is so far windows xp up-to-date sp3 and my firefox is 7.0.1 version in Spanish that is my native language.
That seems very suspicious. Two suggestions.
First, try Firefox's Safe Mode. This will let you work around problems with add-ons and perhaps help you identify things to remove so that Firefox goes back to normal.
I recommend making a backup of your Firefox settings before starting in Safe Mode. To back up Firefox, see [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information].
Next, try starting Firefox in Firefox
[http://support.mozilla.com/kb/Safe+Mode Safe Mode]. Be careful not to "reset" anything permanently if you didn't back up.
Does that work? If so, you may need to disable your add-ons and just bring the most essential ones back to life until you discover the problem one.
Second thought: malware. You could supplement your usual security scans with these:
Malwarebytes Anti-malware : http://www.malwarebytes.org/mbam.php
SUPERAntiSpyware : http://www.superantispyware.com/
HouseCall : http://housecall.trendmicro.com/
Hope this helps. -
Load XML with dynamic filename
Hi,
I am trying to create a load xml function where I can send
the filname to load to the function, however I get a syntax error
with the following function, can anyone see what is wrong here?
function loadXML(file){
myXML:XML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad = function(success) {
if (success) {
// Success
} else {
// fail
myXML.load(path+file);
Thanks for your adviceI was trying to do the same thing and came across this great
tutorial. I think your syntax is just a little off.
myXML=new XML();
myXML.ignoreWhite=true;
myXML.onLoad=function(ok){
if(ok){
//trace('data loaded');
allData=this.firstChild.childNodes;
for(i=0;i<allData.length;i++){
trace(allData
.attributes.text);
}else{
trace('error');
myXML.load('gridTest.xml');
<?xml version="1.0" encoding="iso-8859-1"?>
<nav>
<but text="home">
<heading>You are at Home</heading>
<content>This is the text that is displayed when click
on home</content>
</but>
<but text="About Us">
<heading>You are at the about us
section</heading>
<content>This is the text that is displayed when click
on about us</content>
</but>
<but text="Contact"></but>
<heading>You are at Contact</heading>
<content>This is the text that is displayed when click
on Contact</content>
</nav>
Maybe you are looking for
-
HP Officejet 8500A Pro Plus changes internet layout when printing
My new 8500A Pro Plus changes the layout when I print from the internet. My option is set to "preserve the layout". For example, when there are three items in a row, it will print two on one row and push the third to another row by itself, even whe
-
How does PI delivery acknowledment work in JMS adapter? Please help!
Hi Experts, In JMS receiver communication channel there is an option (check box) for "Return PI delivery acknowledgment". I want to know how does this work? In what format (email, alert) we get the acknowledgment? What all configurations are need
-
Changing iPad Touch Primary Email?
Hi - My daughter has an iPod Touch 4th gen. Sometime ago, she changed email addresses, which I thought we had updated in her Touch. When we updated the IOS this morning, it kept trying to force us to login using her old email address, which no longer
-
Retrive last inserted record from database table
Hi, some body inserting a record into table 'A' through some procedure/java program.i want to retrive the last inserted record from database table.records are not stored in order.Can any body help me.
-
os:x86_64 x86_64 x86_64 GNU/Linux oracle:9.2.0.6 running : Data guard Problem : Redo space wait is very high Init.ora paramaeters *.background_dump_dest='/u01/app/oracle/admin/PBPR01/bdump' *.compatible='9.2.0' *.control_files='/s410/oradata/PBPR01/c