XML URL:

Hello friends,

I have created the xml file. I create this xml file for the data store on the database (server). I want to create URLs. and pass to the server. no such a me how to create the url and how pass us this url to the database (server). my code is below. help me pls.

FileConnection fconn = (FileConnection)Connector.open("xml_file_name",Connector.READ_WRITE);                                                                                             DataOutputStream dos = fconn.openDataOutputStream();

String _output = "\n";
_output += "\n";
_output += " "+lbl.getText()+"\n";
_output += " "+edf[3].getText()+"\n";
_output += " "+edf[4].getText()+"\n";
_output += " "+edf[5].getText()+"\n";
_output += " "+edf[6].getText()+"\n";
_output += " "+edf[7].getText()+"\n";
_output += " "+edf[8].getText()+"\n";
_output += " "+edf[9].getText()+"\n";
_output += " "+edf[10].getText()+"\n";
_output += " "+edf[11].getText()+"\n";
_output += " "+edf[12].getText()+"\n";
_output += " "+edf[13].getText()+"\n";
_output += " "+edf[14].getText()+"\n";
_output += " "+edf[15].getText()+"\n";
_output += " "+edf[16].getText()+"\n";
_output += " "+edf[17].getText()+"\n";
_output += " "+edf[18].getText()+"\n";
_output += " \n";
_output += " \n";
dos.writeChars(_output);

I created xml like this. Tel me please how crate url? and how to pass this url to the server?

Thank you

cool_d

You can pass xml in the url as above, just pass DataSet xml as a string, then server-side you retrieve the xml file and analyze it tag by tag.

Tags: BlackBerry Developers

Similar Questions

  • Loading XML URL?

    I have a clip rectangle shaped and need to add the link to that of XML.

    How can I do?

    This my code


    AS Code:

    var xmlLoader:URLLoader = new URLLoader();

    xmlLoader.load (new URLRequest ("linkNewD2.xml"));

    xmlLoader.addEventListener (Event.COMPLETE, displayHTML);

    function displayHTML(e:Event):void {}

    var xmlData:XML = new XML (e.target.data);

    var tURL:String = xmlData.Header1.option;

    targetURL (tURL);

    }

    function targetURL(event:String):void

    {

    var valURL:String = event;

    myMc1.addEventListener (MouseEvent.CLICK, gotoHome);

    function gotoHome(evt:MouseEvent):void

    {

    var myURL:URLRequest = new URLRequest (URL (valURL));

    navigateToURL (myURL);

    }

    }

    ------------------------------------------------------------------------------------------ ------------------

    XML code:

    < data >

    < Header1 >
    < option >
    http://www.google.com < / option >
    < / Header1 >

    < / data >

    ------------------------------------------------------------------------------------------ -------------------

    Please help me!

    Thank you

    jafy

    This is not a mistake but warning. Warnings do not affect anything.

  • XML URL request

    Hi all

    I send you the data XML via HTTP Service.  Apparently the url that I built was too long.  Is there another way to send data xml other than through the URL?

    httpService.url = url + OIFunction +.

    "?" + cmd + '& sessionID =' + eSessionID

    You can send the information by MAIL.

    See these linens for examples of how to send it to PHP. Examples send JSON (which you may want to consider), but it would be similar to send XML, including the Flex HTTPService part data.

    http://www.switchonthecode.com/tutorials/Flex-PHP-tutorial-transmitting-data-using-JSON

    e http://www.switchonthecode.com/tutorials/using-Flex-php-and-JSON-to-Modify-a-MySQL-databas

    http://www.switchonthecode.com/tutorials/Flex-PHP-JSON-MySQL-Advanced-updating

    If this post answers your question or assistance, please mark it as such.

  • Dynamic XML URL via HTML Param (does not work)

    The idea is to use PHP variables and it is returned from a form to change the URL path of the XML feed for Flash...

    The output HTML PHP is simple and works...

    Here's the catch PHP:

    < object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase =" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7, 0,19,0 ' width ="1000"height ="800"title ="Gatherer">" "
    < param name = "movie" value = "flash/gatherer.swf" >
    < param name = "quality" value = "high" >
    < param name = 'Continent' value = "Continent = <?" PHP echo ("$Continent");? > ">"
    < param name = 'Zone' value = "area = <?" PHP echo ("$Zone");? > ">"
    < embed src = "flash/gatherer.swf" quality = "high" pluginspage ="" http://www.macromedia.com/go/getflashplayer ' type = "application/x-shockwave-flash" width = "1000" height = "800" > < / embed > "
    < / object >

    So I would get for example:

    < param name = 'Continent' value = "Continent = 1" >
    < param name = 'Zone' value = "Area = 5" >

    But it doesn't seem to work...

    Augh... forget it... Problem solved... :-D

    http://download.Macromedia.com/pub/Shockwave/cabs/Flash/Swflash.cab#version=7, 0,19,0 "width ="1000"height ="800"title ="Gatherer">


    http://www.Macromedia.com/go/getflashplayer"type =" application/x-shockwave-flash"width ="1000"height ="800">

    What it should be!

  • &amp; lt; MX:HTTPService &amp; gt; problem with SSRS XML URL

    I use flex to create a dashboard application form, a Microsoft Reporting Service. The problem is that the URL to generate the xml file contains rs: Command = Render & rs: Format = xml. I get an error using the URL in the < mx:HTTPService > tags. «The reference to entity "rs: Command" must end with the separator «;»» »

    How do you get around this issue.

    solution...

    var params: Object = new Object();
    params ["rs: Command '] = 'show ';
    params ["rs: Format '] = 'xml ';

  • Setting ActionScript 2.0 get URL... (Skip HTML my swf)

    Hello!

    I'm trying to get a URL parameter in my flash...
    The parameter is an xml url...

         testXML = new XML();
         testXML.load(xmlurl);

    I tried all the codes I can find on the web and couldn't find a solution to get xmlurl

    I tried var xmlurl:String = String(_root.loaderInfo.parameters.xmlurl) ; but it didn't work...

    _Global.XMLURL does not work either

    Here is my HTML code:

    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="590" height="300" id="test" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="test.swf?xmlurl=data.xml" />
    <param name="menu" value="false" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#ffffff" />
    <param name="Flashvars" value="xmlurl=data.xml">
    <embed src="test.swf?xmlurl=data.xml" menu="false" quality="high" bgcolor="#000000" width="590" height="300" name="test" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>

    I'm new to Flash so any help would be greatly appreciated!

    Thank you!!!

    ~ Sea4Me

    XmlUrl on the main timeline will contain the string you assign to the html file.

  • Connection of the GigE Vision camera

    Hello

    I develop a GigE Vision camera.

    I want to connect GigE Vision Camera to NIMAX.

    When you first connect GigE Vision camera, I can see the NOR-IMAQdx list devices. ("cam0:mycamera")

    When I click on "cam0:mycamera", a the IMAQ error has occurred.

    Error message is "cannot load the XML of the camera.

    Attached file is the package that was the problem.

    MAX OR send command "Read memory" to retrieve the device XML configuration file.

    (Package no. 11, 13: address 0x200, 0 x 400 memory read command)

    GigE Vision camera send response.

    (No. 12, 14 package: XML URL first choice, second choice of URL)

    I think the number of package 12 and 14 are erroneous data, but I can't find the point of evil.

    Advice me please on this issue.

    I would be greateful to receive the sample package.

    Thank you.

    Hi hkgige,

    These questions can be better adapted to the Committee mailing list GigE Vision standard, I suppose that your company would be a member to develop a device with the GigE Vision standard.

    However, I take a look at your track of package and I don't see anything that looks obviously incorrect. One of the reasons why the software could stop after reading the two URLS, is that he thinks he has already downloaded the file previously. These are cached in a directory on your local system (usually C:\Users\Public\Documents\National Instruments\NI-IMAQdx\Data\XML on Vista and Windows 7). Check if you have the XML file for your camera.

    The error you get usually indicates GenICam has some difficulty in parsing the XML of your camera. If you join the XML itself, I could see if this is the problem.

    Eric

  • Set the path to the jar file

    Sorry for the noob question, but could you tell me please what I did wrong when I try to set the path to the file in my application jar.

    I have app that works with the xml file. I have the following project structure:

    /project_root_directory

    | / lib _

    | /resources/file.XML _

    | / SRC _

    So, I need set my jar file, because when I correctly by running the IDE, it works well.

    By default, it seems:

    private File file;
    private StreamResult streamResult;
    file = new File("resources/file.xml");
    streamResult = new StreamResult(file);
    
    
    
    

    And methods where I can change the DOM structure via transformer end methods:

    transformer.transform(source, streamResult);
    
    
    
    

    So, I tried sets the path to the file:

    private URL url;
    ...
    
    file = new File(url.getPath());
    streamResult = new StreamResult(file);
    
    
    
    

    But it does not, because when I try to get resources by the following condition

    url = getClass().getResource("resources/file.xml");
    
    
    
    

    (" url = getClass().getResource("resources/file.xml "); URL = getClass () .getResource ("url = getClass().getResource("resources/file.xml "); (" resources/file.xml ');

    URL - is null

    OK...

    I tried the following solution

    InputStream input = getClass().getResourceAsStream("resources/file.xml");

    Here, I myself also null...

    This solution I found here

    Also, I tried in absolute path

    filePath = file.getAbsolutePath();
    file = new File(filePath);
    streamResult = new StreamResult(file);
    
    
    
    

    But he also didn't work. There I got message seems to be: "Cannot find the /User/user1/Desktop/program1/resources/file.xml resource" - but it really is absoulte path to a file.

    Also, I tried using System.getProperty

    String filename = "file.xml";
    String workingDir = System.getProperty("user.dir");
    finalfile = workingDir + File.separator + "resources" + File.separator + filename;
    file = new File(finalfile);
    
    
    

    I also did test unit that finished with the 'green light', but potted his wrong with the message "unable to find /User/user1/Desktop/program1/resources/file.xm resource.

    Could you tell me please what I did wrong?

    file:\c:\Users\user1\Desktop\myapp.jar!\psswd.XML is what getResource() book you as the URL of the entry of the pot (notice I didn't say file, but the entrance of pot).

    The meaning is: the psswd.xml of the entrance lies at the root of the C:\Users\user1\Desktop\myapp.jar pot.

    Now, without taking into account my tips, you want to turn this into a file. If Java puts in front of it in the current directory. If you use Windows Explorer, you have such a file?

    psswd.XML is not just a file. In any case, given that your StreamResult is supposed to write something, it may not be in the jar. You can not write to an entry in the pot. Jars is supposed to be read-only.

    It's like an EXE file in writing within himself. So psswd.xml should be outside the pot, a real file and forget the things of the resource. It happened to work in the IDE, because there he was jarred not yet.

    It happened to be a Windows file and a Java resource.

  • Adding rule dynamically in PART using JMX

    I'm looking for a way to dynamically add the rule to CQL processor. I tried using JMX, but I get under the exception:

    org.springframework.beans.factory.BeanCreationException: error creating bean with name 'control' defined in the [bundleentry://282.fwk934469/META-INF/spring/eventtypetest-context.xml] URL: calling the init method failed; nested exception is java.lang.ClassCastException: com.bea.core.rmi.RemoteObject cannot be cast to javax.management.remote.mx4j_rmi. RMIConnection
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    to org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$ 1.run(AbstractAutowireCapableBeanFactory.java:409)
    at java.security.AccessController.doPrivileged (Native Method)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    to org.springframework.beans.factory.support.AbstractBeanFactory$ 1.getObject(AbstractBeanFactory.java:264)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)


    I was connecting from a bean in my application PART and follow exactly the same steps listed here:

    http://docs.Oracle.com/CD/E17904_01/ doc.1111 /e14300/JMX.htm#autoId4

    Hello

    You use PS5? If this isn't the case, could you move to it?

    I think that you run into a bug when you try to do more than one action by management prior to the application being started completely. If this is the case, could you try waiting for the application to start completely and then just start adding new queries?

    Thank you
    Alex

  • ConfigurationException when deploy "CONFIGURATION IMPOSSIBLE! File not found. "

    Hi all

    My App adf deployment fails with the following error. Although until yesterday, it was a failure, but at least it was going much further than that. What is causing this error? I make changes to the file config.xml, and then restored. Any help is appreciated. This is crucial.


    # < Sep 14, 2011 1:23:36 PM CDT > < Info > < deployment J2EE SPI > < brksvw379 > < AdminServer > < ExecuteThread [ASSET]: '9' for queue: '(self-adjusting) weblogic.kernel.Default' > < u00w669 > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae49 > < 1316024616200 > < BEA-260121 > < Initiating deployment operation for application, myProject [archive: F:\Oracle\Middleware\user_projects\domains\BPEL_DEV\servers\AdminServer\upload\myProject.ear] , to AdminServer. >
    # < Sep 14, 2011 1:23:47 PM CDT > < Info > < hats > < brksvw379 > < AdminServer > < ExecuteThread [ASSET]: '9' for queue: '(self-adjusting) weblogic.kernel.Default' > < u00w669 > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae49 > < 1316024627386 > < BEA-149038 > * < initiating the task for myProject: [Deployer: 149026] deploy myProject on AdminServer. > *.
    # < Sep 14, 2011 1:23:50 PM CDT > < Info > < J2EE > < brksvw379 > < AdminServer > < [pending] ExecuteThread: '5' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c > < 1316024630053 > < BEA-160170 > < imported library Extension-name: adf.oracle.domain, Specification-Version: 1, the implementation-Version : 11.1.1.2.0 for myProject Application >
    # < Sep 14, 2011 1:23:50 PM CDT > < Info > < WorkManager > < brksvw379 > < AdminServer > < ExecuteThread [pending]: '5' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c > < 1316024630069 > < BEA-002903 > < creation WorkManager "wm/SOAWorkManager" WorkManagerMBean for application "MyProject" >
    # < Sep 14, 2011 1:23:50 PM CDT > < Info > < hats > < brksvw379 > < AdminServer > < ExecuteThread [pending]: '5' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c > < 1316024630272 > < BEA-149059 > < Module weblogic.xml.registry.XMLModule of myProject application switches from STATE_NEW to STATE_PREPARED on server AdminServer. >
    # < Sep 14, 2011 1:23:50 PM CDT > < Info > < hats > < brksvw379 > < AdminServer > < ExecuteThread [pending]: '5' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c > < 1316024630272 > < BEA-149060 > < weblogic.xml.registry.XMLModule Module of the application myProject successfully spent STATE_NEW to STATE_PREPARED on server AdminServer. >
    # < Sep 14, 2011 1:23:50 PM CDT > < Info > < hats > < brksvw379 > < AdminServer > < ExecuteThread [pending]: '5' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c > < 1316024630272 > < BEA-149059 > < Module empty.jar of myProject application switches from STATE_NEW to STATE_PREPARED on server AdminServer. >
    # < Sep 14, 2011 1:23:50 PM CDT > < Info > < hats > < brksvw379 > < AdminServer > < ExecuteThread [pending]: '5' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c > < 1316024630272 > < BEA-149060 > < empty.jar Module of the application myProject successfully spent STATE_NEW to STATE_PREPARED on server AdminServer. >
    # < Sep 14, 2011 1:23:50 PM CDT > < Info > < hats > < brksvw379 > < AdminServer > < ExecuteThread [pending]: '5' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c > < 1316024630272 > < BEA-149059 > < Module mySubProj of myProject application switches from STATE_NEW to STATE_PREPARED on server AdminServer. >
    # < Sep 14, 2011 1:23:50 PM CDT > < Info > < HTTP > < brksvw379 > < AdminServer > < ExecuteThread [pending]: '5' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c > < 1316024630771 > < BEA-101363 > < Application: myProject, WebApp: mySubProj a context root specified in application.xml : "mySubProj." The context root specified in weblogic.xml: 'mySubProj' will be ignored. >
    # < Sep 14, 2011 1:24:53 PM CDT > < Info > < hats > < brksvw379 > < AdminServer > < ExecuteThread [pending]: '5' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001ae5c > < 1316024693171 > < BEA-149060 > < mySubProj Module of the application myProject successfully spent STATE_NEW to STATE_PREPARED on server AdminServer. >
    # < Sep 14, 2011 1:24:53 PM CDT > < Info > < hats > < brksvw379 > < AdminServer > < [pending] ExecuteThread: '6' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac > < 1316024693312 > < BEA-149059 > < Module application myProject weblogic.xml.registry.XMLModule changes from STATE_PREPARED to STATE_ADMIN on server AdminServer. >
    # < Sep 14, 2011 1:24:53 PM CDT > < Info > < hats > < brksvw379 > < AdminServer > < [pending] ExecuteThread: '6' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac > < 1316024693312 > < BEA-149060 > < weblogic.xml.registry.XMLModule Module of the application myProject successfully increased from STATE_PREPARED to STATE_ADMIN on server AdminServer. >
    # < Sep 14, 2011 1:24:53 PM CDT > < Info > < hats > < brksvw379 > < AdminServer > < [pending] ExecuteThread: '6' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac > < 1316024693312 > < BEA-149059 > < Module application myProject empty.jar changes from STATE_PREPARED to STATE_ADMIN on server AdminServer. >
    # < Sep 14, 2011 1:24:53 PM CDT > < Info > < hats > < brksvw379 > < AdminServer > < [pending] ExecuteThread: '6' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac > < 1316024693312 > < BEA-149060 > < empty.jar Module of the application myProject successfully increased from STATE_PREPARED to STATE_ADMIN on server AdminServer. >
    # < Sep 14, 2011 1:24:53 PM CDT > < Info > < hats > < brksvw379 > < AdminServer > < [pending] ExecuteThread: '6' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac > < 1316024693312 > < BEA-149059 > < Module application myProject mySubProj changes from STATE_PREPARED to STATE_ADMIN on server AdminServer. >
    # < Sep 14, 2011 1:24:53 PM CDT > < Info > < hats > < brksvw379 > < AdminServer > < [pending] ExecuteThread: '6' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac > < 1316024693312 > < BEA-149060 > < mySubProj Module of the application myProject successfully increased from STATE_PREPARED to STATE_ADMIN on server AdminServer. >
    # < Sep 14, 2011 1:24:54 PM CDT > < WARNING > < HTTP > < brksvw379 > < AdminServer > < [pending] ExecuteThread: '6' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< a01b3820e693e909:-2d9cadd5:132642becba:-8000-000000000001aeac > < 1316024694451 > < BEA-101162 > * < com.sun.faces.config.ConfigureListener listener has not defined by user: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException : CONFIGURATION FAILED! File not found.*
    java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! File not found
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:294)
    to weblogic.servlet.internal.EventsManager$ FireContextListenerAction.run (EventsManager.java:481)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:427)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:427)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:637)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    in weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$ 100 (DeploymentReceiverCallbackDeliverer.java:13)
    to weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$ 2.run(DeploymentReceiverCallbackDeliverer.java:69)
    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! File not found
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:227)
    to weblogic.servlet.internal.EventsManager$ FireContextListenerAction.run (EventsManager.java:481)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485)
    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:427)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:427)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:637)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    in weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$ 100 (DeploymentReceiverCallbackDeliverer.java:13)
    to weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$ 2.run(DeploymentReceiverCallbackDeliverer.java:69)
    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.io.FileNotFoundException: file not found
    at java.util.zip.ZipFile.open (Native Method)
    in java.util.zip.ZipFile. < init > (ZipFile.java:117)
    in java.util.jar.JarFile. < init > (JarFile.java:135)
    in java.util.jar.JarFile. < init > (JarFile.java:72)
    at com.sun.faces.facelets.util.Classpath.getAlternativeJarFile(Classpath.java:262)
    at com.sun.faces.facelets.util.Classpath.search(Classpath.java:115)
    at com.sun.faces.facelets.util.Classpath.search(Classpath.java:92)
    at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.loadURLs(MetaInfFacesConfigResourceProvider.java:159)
    at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.getResources(MetaInfFacesConfigResourceProvider.java:107)
    to com.sun.faces.config.ConfigManager$ URLTask.call (ConfigManager.java:1096)
    to com.sun.faces.config.ConfigManager$ URLTask.call (ConfigManager.java:1064)
    to java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:642)
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:309)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
    to weblogic.servlet.internal.EventsManager$ FireContextListenerAction.run (EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:636)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    in weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$ 100 (DeploymentReceiverCallbackDeliverer.java:13)
    to weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$ 2.run(DeploymentReceiverCallbackDeliverer.java:68)
    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >






    I did some more research and found that loadURLs of the method of metainffacesconfigresourceprovider class. Java throws an IOException. Is this some kind of class path problem? Help, please!

    Private Collection < URL > loadURLs(ServletContext context) throws IOException {}
    154
    155 set < URL > URL = new HashSet < URL > ();
    156 for (enumeration < URL > e = Util.getCurrentLoader (this) .getResources (META_INF_RESOURCES); e.hasMoreElements ();) {
    157 urls.add (e.nextElement ());
    158}
    159 urls.addAll (Arrays.asList (Classpath.search ("META-INF /", ".faces - config.xml")));
    160 / / special case to find a taglib files in WEB-INF/classes/META-INF
    161 paths set = context.getResourcePaths (WEB_INF_CLASSES);
    162 if (path! = null) {}
    163 (path of the object: paths) {}
    164 string p = path.toString ();
    If 165 (p.endsWith(".taglib.xml")) {}
    URLs.Add (context.getResource (p)) 166;
    167}
    168}
    169}
    Return URL 170;
    171
    172}
    173

    Published by: user12054715 on Sep 14, 2011 14:13

    You have a faces - config.xml in the directory WEB - INF file?

    You probably have something like the following in your web.xml file:

    
        com.sun.faces.config.ConfigureListener
     
    

    You have this class in the classpath? The jars containing this class are presented here: http://www.findjar.com/class/com/sun/faces/config/ConfigureListener.html

  • Apex 4.0.2 manipulate graphical Flash using Javascript?

    Hi all

    Has anyone of you used the AnyChart.js successfully provided to manipulate a chart generated with Apex?

    My goal is...

    * 1.* power show/hide series on the fly.
    * 2 using two y-axis I must control if a series is displayed using the axis y main or the y axis high school. (I have a dynamic number of series (1-20) displayed at any time)


    Some of the problems I am facing...

    a. in the Flash graphic - region Source < OBJECT > tag < EMBED > creates the Chart Flash object on the page. When the flash object is created in this way the object does not appear to have the function of external Interface available.

    A temporary solution could replace the Flash graphic - region Source with this code:
     
    <script src="#IMAGE_PREFIX#flashchart/anychart_5/js/AnyChart.js"; type="text/javascript"></script> 
    <div id="my_#CHART_NAME#"></div> 
    <script type="text/javascript" language="javascript"> 
      var c_#CHART_NAME# = new AnyChart("#IMAGE_PREFIX#flashchart/anychart_5/swf/#CHART_TYPE#.swf"); 
      with(c_#CHART_NAME#) { 
        width = "#WIDTH#"; 
        height = "#HEIGHT#"; 
      } 
      with(c_#CHART_NAME#.messages) { 
        init = "#FLASH_INIT#"; 
        loadingXML = "#FLASH_LOADING#"; 
        loadingResources = "#FLASH_RESOURCES#"; 
        loadingTemplates = "#FLASH_TEMPLATES#"; 
        noData = "#FLASH_NO_DATA#"; 
        waitingForData = "#FLASH_WAITING#"; 
      } 
      c_#CHART_NAME#.setXMLFile("#HOST#apex_util.flash?p=;APP_ID.:&FLOW_PAGE_ID.:&APP_SESSION.:FLOW_FLASH_CHART5_R#REGION_ID#"); 
      c_#CHART_NAME#.write("my_#CHART_NAME#"); 
    </script> 
    Now I have access to the library of AnyChart.js, but it there a better way?


    b. the worst problem is that the absence of ID's < series > and < point >. Apex generates the series of data in the xml response, as
    <series name="SALES" type="Line" color="0x1D8BD1"> 
    <point name="01-01-2011" y="0"></point> 
    Missing persons ID must be a bug.
    <series id=”some_series_id” name="SALES" type="Line" color="0x1D8BD1"> 
    <point id=”some_point_id” name="01-01-2011" y="0"></point> 
    No idea as to the difficulty of the missing id?

    -----
    I am currently using Application Express 4.0.2.00.06 by the way

    Thank you
    Kenny

    If you generate the XML for the series yourself (for example Re: #DATA # in Chart XML you can include the ID you need.) Using your approach, it's how I got tilt series for work.

    1 replace the source of the region for a flash chart to be javascript you provided (there's a guy on the xml url -;) APP_ID. should be & APP_ID.)
    2. Add a function within the script from the source of the region tags to switch series

    function chartSetSeriesVisible(e) {
      var target = e.target ? e.target : e.srcElement;
      if (target.nodeType == 3) target = target.parentNode;
      var isVisible = target.checked;
      c_#CHART_NAME#.showSeries('MY_SERIES_ID', isVisible);
      c_#CHART_NAME#.refresh();
    }
    

    Note the line - c_ #CHART_NAME # .showSeries ('MY_SERIES_ID', isVisible); includes the name of the diagram and hard-codes the name of the series of my XML generated

    3. set an action on a checkbox or something else trigger this function by putting "onclick =" chartSetSeriesVisible (event) "" in the "form element HTML attributes" for the control

  • air update

    I'm about to cry... or break something at least.

    VerifyError: Error #1014: class air. update::ApplicationUpdaterUI is not found.

    I'm on flash pro cs5.5.

    I'm creating an update.

    The library path for:

    applicationupdater_ui.swc

    Code:

    var appUpdater:ApplicationUpdaterUI = new ApplicationUpdaterUI();

    appUpdater.configurationFile = new File("app:/updateConfig.xml");

    appUpdater.initialize ();

    appUpdater.checkNow ();

    updateConfig:

    <? XML version = "1.0" encoding = "utf-8"? >

    " < configuration xmlns =" http://ns.Adobe.com/air/framework/update/configuration/1.0 ">

    < url > http://afiadesign.com/vislaw/update.XML < / url >

    < delay > 0 < / delay >

    < / configuration >

    descriptor of the App:

    <? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >

    " < application xmlns =" http://ns.Adobe.com/air/application/2.6 ">

    < id > < /ID > HeartMonitor

    < versionNumber > 1.0 < / versionNumber >

    < file_name > HeartMonitor < / name of the file >

    < description / >

    <!-to locate the description, use the following format for the description element. < description > < text XML: lang = "fr" > App English description goes here < / text > < text XML: lang = "fr" > French App description goes here < / text > < XML text: lang = "ja" > Japanese App description goes here < / text > < / description >->

    < name > HeartMonitor < / name >

    <!-to locate the name, use the following format for the name element. < name > < text XML: lang = "fr" > insert here the name App English < / text > < text XML: lang = "fr" > insert here the French App name < / text > < XML text: lang = "ja" > insert here the Japanese App name < / text > < / name >->

    < copyright / >

    < initialWindow >

    < content > HeartMonitor.swf < / content >

    standard < systemChrome > < / systemChrome >

    < clear > false < / transparent >

    < visible > true < / visible >

    false < fullscreen > < / full screen >

    Portrait of < aspectRatio > < / aspectRatio >

    Auto < renderMode > < / renderMode >

    < / initialWindow >

    < icon / >

    < customUpdateUI > false < / customUpdateUI >

    < allowBrowserInvocation > false < / allowBrowserInvocation >

    < / application >

    Update:

    <? XML version = "1.0" encoding = "utf-8"? >

    " < day xmlns =" http://ns.Adobe.com/air/framework/update/description/2.5 ">

    < version > 1.1 < / version >

    < url > http://afiadesign.com/vislaw/HeartMonitor.air < / url >

    < description > This is the latest version of the sample application. < / description >

    < / update >

    I don't know what to do? Please save me jumping out of a window.

    Issue Resloved

    When the SWC to the library path is added to ensure that "Default connection" is on "merged into code"...

  • Repeat code or what?

    Here's my problem, I made a gallery using an on-line tutorial and it works in treating the xml file. What I want to do is to repeat this code on a different image, but referencing a different xml - so receive different images. I tried just copy - paste it but of course it did not work.

    I tried to separated variable string in which I will put the name of my xml file, then from the Gallery code, I reference just this variable. But it does not work either. It's like when the code runs once it won't run more although even its tru "spread" several images, not copied on different keyframes.

    Is there an easy way to do what im triing to do?

    The Gallery code:

    Import fl.controls.ProgressBar;

    Import fl.transitions.Tween;

    Fl.transitions.easing import. *;

    Import fl.transitions.TweenEvent;

    columns: number var;

    var my_x:Number;

    var my_y:Number;

    var my_thumb_width:Number;

    var my_thumb_height:Number;

    var my_images:XMLList;

    var my_total:Number;

    var container_mc:MovieClip;

    var preloaders_mc:MovieClip;

    var full_mc:MovieClip;

    var x_counter:Number = 0;

    var y_counter:Number = 0;

    var my_tweens:Array = [];

    var container_mc_tween:Tween;

    var full_tween:Tween;

    var myXMLLoader:URLLoader = new URLLoader();

    myXMLLoader.load (new URLRequest (xml));

    myXMLLoader.addEventListener (Event.COMPLETE, processXML);

    function processXML(e:Event):void {}

    var myXML:XML = new XML (e.target.data);

    columns = myXML.@COLUMNS;

    my_x = myXML.@XPOSITION;

    my_y = myXML.@YPOSITION;

    my_thumb_width = myXML.@WIDTH;

    my_thumb_height = myXML.@HEIGHT;

    my_images = myXML.IMAGE;

    my_total = my_images.length ();

    createContainer();

    callThumbs();

    myXMLLoader.removeEventListener (Event.COMPLETE, processXML);

    myXMLLoader = null;

    }

    function createContainer (): void {}

    container_mc = new MovieClip();

    container_mc.x = my_x;

    container_mc.y = my_y;

    addChild (container_mc);

    container_mc.addEventListener (MouseEvent.CLICK, callFull);

    container_mc.addEventListener (MouseEvent.MOUSE_OVER, onOver);

    container_mc.addEventListener (MouseEvent.MOUSE_OUT, procedure);

    container_mc.buttonMode = true;

    preloaders_mc = new MovieClip();

    preloaders_mc.x = container_mc.x;

    preloaders_mc.y = container_mc.y;

    addChild (preloaders_mc);

    }

    function callThumbs (): void {}

    for (var i: Number = 0; i < my_total; i ++) {}

    var thumb_url = my_images[i].@THUMB;

    var thumb_loader = new Loader();

    thumb_loader. Load (new URLRequest (thumb_url));

    thumb_loader.contentLoaderInfo.addEventListener (Event.COMPLETE, thumbLoaded);

    thumb_loader. Name = i;

    thumb_loader.x = (my_thumb_width + 10) * x_counter;

    thumb_loader.y = (my_thumb_height + 10) * y_counter;

    If (x_counter + 1 < columns) {}

    x_counter ++;

    } else {}

    x_counter = 0;

    y_counter ++;

    }

    var preloader_pb:ProgressBar = new ProgressBar();

    preloader_pb.source = thumb_loader.contentLoaderInfo;

    preloader_pb.x = thumb_loader.x;

    preloader_pb.y = thumb_loader.y;

    preloader_pb. Width = my_thumb_width;

    preloader_pb. Height = my_thumb_height;

    preloaders_mc. AddChild (preloader_pb);

    preloader_pb.addEventListener (Event.COMPLETE, donePb);

    }

    }

    function thumbLoaded(e:Event):void {}

    var my_thumb:Loader = Loader (e.target.loader);

    container_mc. AddChild (my_thumb);

    my_tweens [Number (my_thumb. (Name)] = new Tween (Strong.easeIn, 0,1,0.5, my_thumb, "alpha", true);

    my_thumb.contentLoaderInfo.removeEventListener (Event.COMPLETE, thumbLoaded);

    }

    function callFull(e:MouseEvent):void {}

    var full_loader:Loader = new Loader();

    var full_url = my_images[e.target.name].@FULL;

    full_loader. Load (new URLRequest (full_url));

    full_loader.contentLoaderInfo.addEventListener (Event.INIT, fullLoaded);

    var full_pb:ProgressBar = new ProgressBar();

    full_pb.source = full_loader.contentLoaderInfo;

    full_pb.x = (stage.stageWidth - full_pb.width) / 2;

    full_pb.y = (stage.stageHeight - full_pb.height) / 2;

    preloaders_mc. AddChild (full_pb);

    full_pb.addEventListener (Event.COMPLETE, donePb);

    container_mc. RemoveEventListener (MouseEvent.CLICK, callFull);

    container_mc.buttonMode = false;

    container_mc. RemoveEventListener (MouseEvent.MOUSE_OVER, onOver);

    container_mc. RemoveEventListener (MouseEvent.MOUSE_OUT, procedure);

    container_mc_tween = new Tween (container_mc, "alpha", Strong.easeIn, 1,0.5,0.5, true);

    }

    function fullLoaded(e:Event):void {}

    full_mc = new MovieClip();

    full_mc.buttonMode = true;

    addChild (full_mc);

    var my_loader:Loader = Loader (e.target.loader);

    full_mc. AddChild (my_loader);

    full_tween = new Tween (Strong.easeIn, 0,1,0.5, my_loader, "alpha", true);

    my_loader.x = (stage.stageWidth - my_loader.width) / 2;

    my_loader.y = (stage.stageHeight - my_loader.height) / 2;

    my_loader.addEventListener (MouseEvent.Click, removeFull);

    my_loader.contentLoaderInfo.removeEventListener (Event.COMPLETE, fullLoaded);

    }

    function removeFull(e:MouseEvent):void {}

    var my_loader:Loader = Loader (e.currentTarget);

    full_tween = new Tween (Strong.easeOut, 1,0,0.5, my_loader, "alpha", true);

    full_tween.addEventListener (TweenEvent.MOTION_FINISH, tweenFinished);

    container_mc_tween = new Tween (container_mc, "alpha", Strong.easeOut, 0.5,1,0.5, true);

    }

    function donePb(e:Event):void {}

    var my_pb:ProgressBar = ProgressBar (e.target);

    preloaders_mc.removeChild (my_pb);

    my_pb. RemoveEventListener (Event.COMPLETE, donePb);

    }

    function tweenFinished(e:TweenEvent):void {}

    var my_loader:Loader = Loader (e.target.obj);

    my_loader. Unload();

    full_mc.removeChild (my_loader); / / This line was removeChid (my_loader), simply add full_mc in front of him.

    removeChild (full_mc);

    full_mc = null;

    container_mc.addEventListener (MouseEvent.CLICK, callFull);

    container_mc.buttonMode = true;

    container_mc.addEventListener (MouseEvent.MOUSE_OVER, onOver);

    container_mc.addEventListener (MouseEvent.MOUSE_OUT, procedure);

    var my_tween:Tween = Tween (e.target);

    my_tween. RemoveEventListener (TweenEvent.MOTION_FINISH, tweenFinished);

    }

    function onOver(e:MouseEvent):void {}

    var my_thumb:Loader = Loader (e.target);

    my_thumb.Alpha = 0.5;

    }

    function onOut(e:MouseEvent):void {}

    var my_thumb:Loader = Loader (e.target);

    my_thumb.Alpha = 1;

    }

    Code Gallery of buttons:

    G1.addEventListener (MouseEvent.CLICK, g1g);

    function g1g(event:MouseEvent):void {}

    removeChild (container_mc)

    }

    G1.addEventListener (MouseEvent.CLICK, gg1);

    function gg1(event:MouseEvent):void {}

    gotoAndPlay (108)

    }

    G2.addEventListener (MouseEvent.CLICK, gg2);

    function gg2(event:MouseEvent):void {}

    removeChild (container_mc)

    }

    G2.addEventListener (MouseEvent.CLICK, g2g);

    function g2g(event:MouseEvent):void {}

    gotoAndPlay (109)

    }

    G3.addEventListener (MouseEvent.CLICK, gg3);

    function gg3(event:MouseEvent):void {}

    removeChild (container_mc)

    }

    G3.addEventListener (MouseEvent.CLICK, g3g);

    function g3g(event:MouseEvent):void {}

    gotoAndPlay (110)

    }

    G4.addEventListener (MouseEvent.CLICK, gg4);

    function gg4(event:MouseEvent):void {}

    removeChild (container_mc)

    }

    G4.addEventListener (MouseEvent.CLICK, g4g);

    function g4g(event:MouseEvent):void {}

    gotoAndPlay (111)

    }

    G5.addEventListener (MouseEvent.CLICK, gg5);

    function gg5(event:MouseEvent):void {}

    removeChild (container_mc)

    }

    G5.addEventListener (MouseEvent.CLICK, g5g);

    function g5g(event:MouseEvent):void {}

    gotoAndPlay (112)

    }

    Now, we just need to create an interface through which we pass the XML URL for each gallery. Look for this piece of code in your gallery:

    var myXMLLoader:URLLoader = new URLLoader();
    myXMLLoader.load(new URLRequest(xml));
    myXMLLoader.addEventListener(Event.COMPLETE, processXML);
    

    Replace it with this:

    var myXMLLoader:URLLoader;
    
    function loadGallery(xml:String):void {
         myXMLLoader = new URLLoader();
         myXMLLoader.load(new URLRequest(xml));
         myXMLLoader.addEventListener(Event.COMPLETE, processXML);
    }
    

    In the main timeline to the frame with mc_gallery1, put this code:

    mc_gallery1.loadGallery("http://www.mydomain.com/mygallery.xml"); // whatever url to your XML file
    

    I think, you good to go.

  • Stages of integration of CIS AAU 10 and 11g

    Hi all

    I want to do integration CIS between UCM 10 g / 11g and java support only Appl. I lived the documentation, but I have several questions. Pls someone knowing this problem tell me briefly the steps that I should

    go through. University Complutense of MADRID 10g. I see component CIS_helper, but can not find the folder CIS (CIS is a component or what...?) How do I make). University Complutense of MADRID 11g I see folder CIS and in a fichierJAR (cis-customer - 11.0.0.jar). University Complutense of MADRID 11g there are 3 jar

    files client-cis - 8.0.0.jar. Which one should I use. It's really fun for me. I hope someone to explain to me how do.

    Let's say I want to run this code:

    SCSActiveAPI activeApi = cisApplication.getUCPMAPI () .getActiveAPI ();
    Context ISCSContext = activeApi._createSCSContext ();
    context.setUser ("sysadmin");
    context.setAdapterName ("myAdapter");
    Query ISCSSearchQuery = cisApplication.getUCPMAPI () .createObject (ISCSSearchQuery.class) (ISCSSearchQuery);
    ISCSSearchAPI searchApi = cisApplication.getUCPMAPI () .getActiveAPI () .getSearchAPI ();

    query.setQueryText ("dDocAuthor < match > 'sysadmin'");
    query.setResultCount (10);
    query.setSortField ("dDocType");
    query.setSortOrder ("ASC");


    ISCSSearchResponse response = searchApi.search (context, request);
    The list of results of < ISCSSearchResult > = response.getResults ();


    adapterConfig.xml is:

    <? XML version = "1.0"? >
    < name of adapter = "myAdapter" type = "scs" default = "true" >
    < config >
    < property name = "Home" > xxx.xx.xxx.xxx < / property >
    < property name = "port" > 16200 < / property >
    < property name = "type" > socket < / property >
    < property name = "version" > 75 < / property >
    < / config >
    < template="classpath:/META-INF/resources/adapter/adapter-services-scs.jxml"/ beans >

    < / adapter >


    Where should I put the adapterconfig.xml?

    Hello

    With CIS all 11g, need you is adpaterconfig.xml placed in a location that can be referenced by your Java code, have the cis - jar file in this place and the cis - also logging.xml. Now, how to do is to put all these 3 files in a directory location and then put this path/location in your classpath where the java code will be executed.
    Once it is to ensure that the code has the location of adapterconfg.xml in this part. I put a snippet of code to make it clear:

    public class TestCIS {}

    Public Shared Sub main (String [] args) {}
              
    Declare the object ICISApplication
    Application of ICISApplication;
    Declare and initialize the path to the adapterconfig.xml
    String adapterURL = "";
    try {}
    Set the path to the absolute path of the file adapterconfig.xml
    URL XmlRes = new File ("path to the adpaterconfig.xml") .toURL ();
    adapterURL = xmlRes.toExternalForm ();
    } catch (MalformedURLException molt) {}
    mue.printStackTrace ();
    return;
    }
              
    Properties properties = new Properties ();
    Setting the startup type to a server
    properties.setProperty (ICISApplication.PROPERTY_CONFIG_TYPE, "Server");
    Defining the location of the adapterconfig.xml file://
    properties.setProperty (ICISApplication.PROPERTY_CONFIG_SERVER_ADAPTER_CONFIG, adapterURL);
    Affecting the type of stand-alone server so that this instance will not accept CIS customers
    properties.setProperty (ICISApplication.PROPERTY_CONFIG_SERVER_TYPE, 'stand-alone');
    Initialize the CIS server and assign it to the ICISAppplication object
    request = CISApplicationFactory.initialize (properties);
              
    Create a context for sending commands to a content server
    ISCSContext context = application.getUCPMAPI () .getActiveAPI () ._createSCSContext ();
    Affecting the Content Server sysadmin user
    context.setUser ('sysadmin');
    Setting of the adapter to which we present orders
    context.setAdapterName ("");
              
    try {}

    Initialize the ISCSSearchAPI
    ISCSSearchAPI searchAPI = application.getUCPMAPI () .getActiveAPI () .getSearchAPI ();
                   
    Run the search against the content server and record the response to the ISCSSearchResponse object
    SearchResponse ISCSSearchResponse = searchAPI.searchUniversal (context, "dDocName 'test'", 20);
    } catch (CommandException this) {}
    ce.printStackTrace ();
    return;
    }
         
    }

    }

    Now your adpater config.xml should have the following values:

    port - should be the same value, as said in intradocserverport in the config.cfg.

    This should be for you to start with the help of CIS to take actions on the server of the University Complutense of MADRID.

    I hope this helps.

    Thank you
    Srinath

  • Can I develop an application on ios that can be called by other applications?

    I am developing a service application on ios. I know that I could use custom url scheme to communicate between applications and I can get handleUrl event, using objective c. But I don't know if I can do this or how to do this in flash builder 4.5.1.

    I found an article that said I can my custom in app.xml url schema registries but I can't find anything on how I can manage the custom url call. Is there an event or what? Someone who knows?

    Thank you!

    Hi Jenny,

    I just tried a URI with iOS and I am able to receive the argument length 1, which has the full url, I've come.

    For example: if I run the url example://xyz?abc, I get the full url as 1 element in the e.arguments array.

    public void invokeHandler(e:InvokeEvent):void {}

    Label1.text = "";

    Label1.AppendText (e.arguments.length.ToString () + "" "");

    for (var i: int = 0; i<>

    {

    Label1.AppendText (e.arguments [i] + "");

    }

    Label1.AppendText (e.Reason);

    }

    Reason must always be standard, if it is not running login. Currently the Mobile it will be standard only.

    It will be useful.

    -Pahup

Maybe you are looking for