Pass values JS in a Flex application in a new window

I found how to pass values to JavaScript in a swf file embedded, but now I have a different scenario. I have a container ASP application that will launch a Flex application. The ASP application manages all security and users get the roles. When you click on a link to open the Flex application in a new window, I would like to pass the user name and the roles stored in the ASP JavaScript I think I need to use ExternalInterface.addCallback("IsStatic",IsStatic) on the side of Flex, but I have to do side Javascript in my ASP page?

My JavaScript code in my ASP page looks like this:
var launchedFlexApp = window.open("/apps/Flex/flexApp.swf","winFlexApp","width=850,height=600")

Thank you
Tedd

Tracy,

Passing values in the url param is the way that I had to make it work. I was able to access it in actionscript in the following way:

tmpUserId = mx.core.Application.application.parameters.userId

where the username after the .parameters is the name of the parameter in the query string that I went through the url.

Thanks for your help

Tags: Flex

Similar Questions

  • The Firefox HELP tab keeps appearing whenever I open the application or a new window. Firefox 3.6.28, Mac OS 10.4.11

    The Firefox HELP tab keeps appearing whenever I open the application or a new window. Firefox 3.6.28, Mac OS 10.4.11

    Ah, apparently it's reading I wanted as long as home pages; When I reset my homepage it started working right.

    Thank you

  • I need 16-bit Applications on my new Windows 7 machine

    Hey, guys...  I used to have a perfectly good XP Windows machine that could run all I had to do to support the contract for my clients, but unfortunately, due to events beyond my control, that PC is dead.  In a need to replace soon, I have a new machine running Windows 7.  It's sad to say, it does not work I absolutely need to continue operating as STMAP and Borland Paradox applications 6.  Are there ways to run it through some kind of emulator?

    Otherwise, there is a saying in Information technology: your computer/software/operating system isn't obsolete if you can still do what to do with it.  Congratulations, Microsoft, which makes your new obsolete operating system on the first day.

    Michael Marcus,

    contractor Soon-to-be-out-of-Work

    What part of my story of inadequacy calculation gives you the idea that I can easily put more money I don't have on another old computer, especially after recently bought a Windows PC obsolete pre?

    I found several computers Windows XP on EBay for less than $50.00. I don't know what your hourly rate as a "soon to be out-of-work contractor" but a PC used $ 50.00 seems a very effective solution to solve your problems of compatibility.

    Of course, you can install a virtual machine Windows XP on your Windows 7 PC, if the hardware supports. To find out what it is I recommend that you use a sentence like

    Virtual PC Windows XP

    with your favorite search engine.

  • Pass parameters to flex applications

    Hello

    My question is: is it possible to pass parameters to an application flex like for example. in PHP, where it is made with the _GET and _POST arrays? For example, I want to open a simple Flex application in a new window and send this application a few key-value pairs, so that it would be possible to access it in the application.

    Thanks in advance, RP.

    Use the flashvars in the HTML wrapper file:

    http://flexdevtips.blogspot.com/2009/04/flashvars-passing-parameters-into.html

  • How to pass parameters to a Flex application?

    I'm new to Flex programming, and I need to pass to a server
    parameter generated at my test Flex application below. Can someone show
    me a MINIMUM of HTML page size that can pass the "myname" parameter to
    my Flex application?

    Thanks in advance,

    Beard

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "creationComplete ="initVars ()">
    < mx:Script > <! [CDATA]
    [Bindable]
    public var myName:String;
    private function initVars (): void {}
    myName = Application.application.parameters.myName;
    }
    []] > < / mx:Script >
    < text mx:Label = "name:"{myname}"" / >
    < / mx:Application >

    Hello

    This docs page contains different version (more short long, static and generated) on how to pass arguments to the application through vars:

    http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=passingarguments_3.html

    (you simply set variable in the object that hosts your flash animation in a page, see doc linked for more details)

    Kind regards

    Peter

  • How to pass a value of element / from one application to another application.

    I have a a request App 'Hand' with a list on Page 1. This list has two entries in the list, all pointing / linking to different applications. The purpose of the list is set to redirect to the appropriateapplication using the f? p = & APP_ID:1: & SESSION. syntax. I put the same cookie for all three, the 'main' App and the two application sub/related, and everything it works fine.

    Now I would like to pass the variables that I put in the "hand App" to two other sub/related applications.

    I want to put in place a process of "Anonymous PL/SQL block" to be run "on load - regions front" who would name an authentication package on Page 1 of the App 'hand '. Page 1 would include 10 hidden object and the values returned by the authentication package would serve to set/fill these hidden items. I am able to access these elements and values of page 2 of the App 'hand '.

    The question is how access/reference of the elements/values defined in Page 1 of the "hand App" in another application sup/related?
    Is this possible?

    Thank you
    DP

    Hello

    To pass values using URL syntax, take a look at this:

    http://download.Oracle.com/docs/CD/B32472_01/doc/AppDev.300/b32471/concept.htm#BEIFCDGF

    If the second request that you are calling from the main application is, say, number 100, and this application page is page 1, the URL will look like this:

    f? p = 100: 1: & SESSION. : P1_ITEM1, P1_ITEM2,...: ITEMVALUE1, ITEMVALUE2,...

    P1_ITEM1, P1_ITEM2, etc., are page elements that must exist in page 1 and their values will be automatically assigned.

    On the issue of the collection, I suppose that the values are specific to a session (different users will have different values). In this case, to store the values in a table is not good unless you store the username with them, but despite this they will be specific to the user, not specific to the session. Maybe that's what you need, perhaps not... No reason why you don't want to use the collections?

    Luis

  • How to pass values to external applications to guests of dashboard?

    Any idea is appreciated.

    How can I pass values of the guests dashboard from external applications to the dashboard inviting so that the dashboard is filtred based on the values sent by external applications.

    Thanks in advance!

    Kris

    Kris,

    I am able to change the session variable and able to call external application dashboard, but I identified the prompt value changes do not. but finally I am able to find a solution for you.

    Use the following URL and he explained here

    http://localhost:9704/Analytics/saw.dll?dashboard&nquser=administrator&nqpassword=administrator&PortalPath=/shared/ABCD/_portal/Dash1&options=RMF&DSN=Madan

    CheminPortail is your dashboard location. / Shared/ABCD is the folder in which I recorded dashboards. Dash1 is my dashboard name.

    internally, this dashboard includes a lot of reports that use the session variable. After above that, I am able to update the session variable to the value I have given in the URL, DSN = value.

    You can observe here called the dashboard and happening of value, but its not updated to the prompt value. so this workaround is change the prompt,

    Replace the default - SQL result and place the code sql

    SELECT CASE WHEN 1 = 0 THEN ANOTHER VALUEOF Markets.Region (NQ_SESSION. DSN) END saw_0 OF paint

    again here Market.Region is a column in the presentation layer and paint material. After you complete this step, the command prompt displays always value in the default session variable.

    Now include reports and dashboard invites in the dashboard and run this url from external applications.

    http://localhost:9704/Analytics/saw.dll?dashboard&nquser=administrator&nqpassword=administrator&PortalPath=/shared/ABCD/_portal/Dash1&options=RMF&DSN=Madan

    It worked for me and blog it soon. If it works for you question mark as answered and mark my answers as being correct.

    Thank you
    -Madan

  • Pass the .swc variable to main application...

    Hello

    I'm trying to retrieve data from a compiled .swc that is loaded into the main application. I have a generic function as follows:

    public void onSubFormFinishClick(event:MouseEvent):void

    {

    var applicationCompletedVar:int = 1;

    trace ("Full Application =" + applicationCompletedVar);

    }

    ... which is executed when the user clicks on the button in the custom .swc. I want to be able to pass this parameter to the main application. Can someone provide examples of how to achieve this? Using external swf loading in a swf Flash, I have just shipped a new event and listen for this event and take action after hearing the past event. being new Flex, I don't know how to proceed.

    Thx for any help,

    ~ Chipleh

    Set the public variable in the main application for example,

    public var Valeurdonnees: String = "Hello";

    Assign the value to the dataValue component SWC file using FlexGlobals as:

    FlexGlobals.topLevelApplication.dataValue = 'Hello friend ';

    Now draw the value in the handler in the main application that handle the event dispatched from CFC. Gets the update of dataValue.

  • How to create the validation for a composite primary key feature when I use create with operation of parameters to pass values to a page (i.e. the ADF table) to another page I get this error, how can I solve it. Please help me any one ASAP?

    Hello

    I have a page with adf faces table, I need to pass values to the table to another the inputfields page (both fields are composite primary keys), I'm passing values but I get the error while I'm passing values twice on the next page with a button command (using setPropertyListener) this error... Please help me?

    Houston-29114 ADFContext is not configured to process this exception messages. Use the code of exception stack trace and error to investigate the root cause of this exception. Root cause error code is Houston-25013. Error messages settings are {0 = oracle.jbo.Key [22 9]}

    ADF_FACES-60097: for more information, see the error log of the server for an entry beginning with: ADF_FACES - Exception during the PPR, #1 60096:Server


    The error log is...


    URL - target http://127.0.0.1:7101/Recruting-ViewController-context-root/faces/login.JSPX

    < ViewHandlerImpl > < _checkTimestamp > Apache Trinidad runs with control of activated timestamp. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml

    < UIXEditableValue > < _isBeanValidationAvailable > Validation Bean A provider is not present, so bean validation is disabled

    passing the user name: 201157

    < _LogUnhandledException > ADF_FACES - 60098:Faces life cycle receives exceptions that are unhandled in phase 5 of INVOKE_APPLICATION

    oracle.jbo.TooManyObjectsException: Houston-25013: too many objects correspond to the oracle.jbo.Key [22 primary key 9].

    at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:608)

    at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:617)

    at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1030)

    at oracle.jbo.server.EntityCache.add(EntityCache.java:541)

    at oracle.jbo.server.EntityImpl.callCreate(EntityImpl.java:1141)

    at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1140)

    at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:461)

    at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:478)

    at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:5800)

    at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1941)

    at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2504)

    at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2545)

    at oracle.jbo.server.ViewRowSetImpl.createAndInitRow(ViewRowSetImpl.java:2510)

    at oracle.jbo.server.ViewObjectImpl.createAndInitRow(ViewObjectImpl.java:11133)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1342)

    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)

    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at com.sun.el.parser.AstValue.invoke (unknown Source)

    at com.sun.el.MethodExpressionImpl.invoke (unknown Source)

    at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:173)

    at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:163)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:1091)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:982)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:880)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:553)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:158)

    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:115)

    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:84)

    at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:50)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1137)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:361)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    < RegistrationConfigurator > < handleError > ADF_FACES - 60096:Server Exception during the PPR, #1

    oracle.jbo.TooManyObjectsException: Houston-29114 ADFContext is not configured to process this exception messages. Use the code of exception stack trace and error to investigate the root cause of this exception. Root cause error code is Houston-25013. Error messages settings are {0 = oracle.jbo.Key [22 9]}

    at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:608)

    at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:617)

    at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1030)

    at oracle.jbo.server.EntityCache.add(EntityCache.java:541)

    at oracle.jbo.server.EntityImpl.callCreate(EntityImpl.java:1141)

    at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1140)

    at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:461)

    at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:478)

    at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:5800)

    at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1941)

    at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2504)

    at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2545)

    at oracle.jbo.server.ViewRowSetImpl.createAndInitRow(ViewRowSetImpl.java:2510)

    at oracle.jbo.server.ViewObjectImpl.createAndInitRow(ViewObjectImpl.java:11133)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1342)

    at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)

    at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)

    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at com.sun.el.parser.AstValue.invoke (unknown Source)

    at com.sun.el.MethodExpressionImpl.invoke (unknown Source)

    at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:173)

    at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:163)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:1091)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:982)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:880)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:553)

    at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:158)

    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:115)

    at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:84)

    at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:50)

    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)

    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)

    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1137)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:361)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:468)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Hi all, finally I found the solution to this exception.

    I did the following steps to solve the problem.

    1. create a bean and use this method

    public void tooManyObjectsMatchExceptioHandeler() {}

    Add the code in the event here...

    System.out.println ("inside the Handeler");

    FacesMessage message =

    new FacesMessage ("Type your friendly message");

    message.setSeverity (FacesMessage.SEVERITY_ERROR);

    FacesContext fc = FacesContext.getCurrentInstance ();

    fc.addMessage (null, message);

    }

    Now, drag and drop the file above java projects in data controls in the browser of the application.

    2. drag a workflow method call (where u get exception as Houston-25013) and call this method as an activity of the exception handler,

    Now, do a right click on this--> definition of the page method call create or go to definition of the page--> create a link Action method and select the above method in the select and file def page this method call in the workflow then go to properties inspector set out fixed property (here name of activities of method call) u give.

  • Pass values of interactive report


    Hello

    I'm sure this is an easy question, but I was not able to find the solution myself.

    I have an interactive report that has 6 columns, which are:

    Family name

    First name

    Day

    Start time

    End time

    Link column

    I need to assign an ID that is not displayed in the report, the date, the start time and end time to the variables P5_IDX, P5_DAY, P5_START and P5_END to use

    only display on a different page elements.  I can spend only 3 values by using the link to the column in the IR.

    Is there another way to pass values more of an interactive report 3?  Sorry if this has been asked and answered before.  I searched the forums and didn't find an answer, but maybe a search with key words evil.

    Thanks for any help,

    Bob

    Hi Bob,

    If yu changes the target of the link of "page of this application" to "URL", you can set the URL yourself and add more parameters,

    URL could look something this:

    f? p = & APP_ID.: 11: & SESSION. : & DEBUG. : P11_ID, P11_P1, P11_P2, P11_P3:, #ID #, # P1, P2 # #, #P3 #.

  • How to pass values to the page to the Page target?

    Hi all

    I want to pass values from the 10 column to a report page (page 1 of source) to a target page 2 HTML region and 10 fields.
    These 10 fields held values that are passing in the report.

    Please suggest a solution here!

    Thank you and best regards,
    Robette.

    source page IE 1, since I can navigate to page 3, and also on page 2, I can navigate to the target 3 page, when I click on the back button Go it will navigate page 1 only.
    That is why I want the Go back button must redirect the target page, hence it is called.

    Create an application called PREV_PAGE, item in the link of the page 3 col page 2 * 3 * as a parameter of the element PREV_PAGE.
    So when you're on page 2 you will know the previous page is the value of the point of application PREV_PAGE 3
    So would be the url in your Go Back button

    f?p=&APP_ID.:&PREV_PAGE.:&APP_SESSION.::NO::
    

    There is something really need it please send your comments to this requirement. It will be really useful.

  • In Flex application feature sometimes works and sometimes does not...

    Hello

    Please help me on this...

    In my flex application features works sometimes and doesn't work sometimes does not...

    In my project, I have 5 sections with 5 separate screens... Each screen is a module of different.

    After logining in the application:

    I'll go to a screen... First time each feature works in this form...

    Ex: I have a screen with datagrid. This user select name from a datagrid job click on the next button...

    According to the name of the selected user work, I display information on the next screen and customer names.customer whose name is a drop-down list box.

    Here is the code:

    public void populateAllOEMCustomers(event:ResultEvent):void
    {

    1) var object_CustomerList:CustomerList = event.result as CustomerList; the values of the object //Assigining the object reference variable result.

    (2) var allOEMCustomersCollection:ArrayCollection = new ArrayCollection(); Variable declaration ArrayColliction referance.

    (3) var i: int = 0;
    (4) var customerComboLabel:Label = new Sun;

    (5) for (i = 0; i < object_CustomerList.arryCollCustName.length; i ++)
    {
    var strCustName:String = object_CustomerList.arryCollCustName.getItemAt (i) m:System.NET.SocketAddress.ToString ();
    var strCustId:String = object_CustomerList.arryCollCustId.getItemAt (i) m:System.NET.SocketAddress.ToString ();

    customerComboLabel = new Sun; Dynamic Declaration of the label.

    customerComboLabel.name = strCustName; Assinging the customer name in the label name box.
    customerComboLabel.text = strCustId; Assingning the customer id in the text box on the Label.

    allOEMCustomersCollection.addItem (customerComboLabel); Addition of Lable in the referace ArrayCollection variable collection.
    }
    customerComboID.selectedItem = ' - ';.
    OEMCustomersComboID.dataProvider = allOEMCustomersCollection;
    OEMCustomersComboID.selectedItem = - 1;

    }

    This feature works very well when I visit the first time on the screen... If you go back to another screen and return to the same screen and click the button following this names combo box customer time has no customer Details... I get Nullpointer Exception and it shows the number of the line 5 (I gave the above code number..)

    If I change the first line of the code to the following: each time the feature above works fine. Not getting no not an error msg...

    var object_CustomerList:Object = event.result;

    If I type cast in specific class (CustomerList), the feature does not work... do null pointer exception... If I type cast to object everything works fine... In my code each time I'm typecasted for the features of the specific class is not working (gettingNullpointerExcepion).

    Please help me on this... I don't get what could be the reason...

    I am using::Flex 3, Flash player 10.1

    Thanks in advance...

    Kind regards

    Satya

    Hi Satya,

    This sometimes as in your case may not work the way you have specified the RemoteClass attribute in your AS class. Because sometimes there may be a case because before it is mapped to a server-side, you are returned to the data and so that you can not get your custom class data but as normal object type.

    So to avoid this, you can map the class server-side for as classes in the Manager PreInitialize itself as shown below:

    Specify the preinitializeHandler in your main application and write the function below. That way, too, you can map as classes on the side server. So you will have no problem referring to your application AS class types.

    You can use the same line for recording of all classes. Using this, you can remove all of the [RemoteClass] attributes on all CLASSES and attach it to the unique place.

    preinitialize = "onPreinitialize ()" "

    private function onPreinitialize (): void
    {
    registerClassAlias ("com.expeditor.ScriptAdmin.Objects.CustomerList", list of clients);
    }

    In the line above the quoted string code refer to the namespace of the class on the server side and the second is your AS class. Also, remember to import the namespace from the correspondent as a class in the file.

    Try this and let me know...

    Thank you

    Jean Claude

  • Call a html FLEX application, using parameters

    Hi guys,.

    I have this html code:

    "< form ="getTracing"method ="POST"name action ="http://syyzas400/ShipmentInquiry/ShipmentDetails.html"> ".

    QuickTrace

    < input type is "text" name = "TrackNbr" size is "14" tabindex = "1" maxlength = "11" >

    < br >

    Carrier

    < select name = "Carrier" tabindex = "2" style = "background-color: #D8E4FF;" color: black;

    do-family: Arial; make-weight: bold; do-size: 9pt; width = 114 ">

    < option > option 1

    < option > option 2

    < option > Option3

    < / select >

    As you can see, it has an input field ("TrackNbr") and a selection field (the ' carrier'), with three options... The user enters a number of follow-up.

    in the first field and choose one of the three options in the second field and hits < enter >. Now, as you can see on the 'action' box, an element html (part of a FLEX application) is called. The problem is that ('TrackNbr' and 'Carrier') parameters are not passed, and I don't know how to do this.

    This FLEX application accepts the parameters using the technique of URL fragments (because can be called from another FLEX application, too)

    but of course it does not work with the form described above.

    I read on the external Interface class, but everyone speaks to call ActionScript functions, not FLEX applications. Being a beginner in this area.

    I don't know that I'm missing something, but what?

    Any help would be much appreciated, as usual...

    Florin

    could try to use the GET method and parse the URL when loading the application

    var path:String;
    
    var URLpath:String = ExternalInterface.call("window.location.href.toString");
    var PassedData:Array = URLpath.split("?");
    
    var Parameteres:Array = PassedData[1].split("&");
    
  • Flex Application Interaction with load Flash SWF

    Hi all

    First of all, the context:

    I'm creating a Flex application with a component that displays several SWF loaded dynamically, one at a time (a bit like a kiosk). These loaded SWF files is created in the Flash IDE, Flex No. They will not be created by us (we will provide a .fla but model it is), so I am loading them in a separate SecurityDomain.

    My Questions:

    1. I want the application to be able to call methods inside the loaded SWF file. To do this, I would just call Security.allowDomain ("flex application domain") in the boot process for the loaded SWF file?

    2. I want the SWF loaded to throw events that are taken by the application. Can I achieve this through the SWFLoader.swfBridge (http://www.adobe.com/livedocs/flex/3/langref/mx/controls/SWFLoader.html#swfBridge) property?

    3. I'm defining an interface for methods inside the loaded SWF file. But I don't want to leave the implementation up to the customer. Instead, I want to provide another SWF that contains the implementation of the interface and have a constraint that the customer includes it in their SWF file. I'm not very familiar with the Flash programming environment, how would that work so that the SWF interface implementation exposes his methods so as to be accessible to the Flex? Is it possible to sign the SWF file so that the Flex application knows that it is dealing with the original, not a parody? How would the Flex code pass in arguments, since it is through SecurityDomain limit - is there marshaling involved (for example if I want to pass in a dictionary or some kind of object graph)?

    4. The Flex application can load hundreds of these small other sovereign wealth funds during his life. How can ensure me that it is not continue to use more memory? I intend using SWFLoader.unloadAndStop () and erase all references to the Flex object that refers to it. Is this enough? Will be the AppDomain for the loaded SWF file to tear down automatically so that the class definitions are no longer in memory?

    Thank you

    Knockaert

    3 sounds good, but that's all theory.

    I think that there are other ways to package code to Flash other than "components".  I think that there are some libraries of data/network, but I don't know how they are packed these days.

    4. in theory, it will try to match fields that match and ignore those that do not fit as well.  With the help of readObject/writeObject should work, but you should be able to call the IExternalizable APIs directly.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • Multiple Flex applications on a single Page

    Now that I was laid off from Adobe (with 700 other people), I would ask you Flex consulting opportunities, and one of the possibilities are web designers/developers wishing to offer their customers a value-added components.

    My question is I've heard you don't want for example three separate applications to Flex on a single web page, as it results in three instances of the generated Flash Player, or something like that.

    So is it necessary to group multiple Flex components in a Flex application to each web page? This may limit the placement of Flex components on a web page, because the web page will be completely done in Flex, that the page should be available.

    No indication in this regard, especially Alex and others on Adobe's Flex product team.

    All new Flex needs help on Flex components/applications, I am available: [email protected]

    Thank you!

    Greg

    IMHO, it's all about memory.  Many pages have several flash banner ads running drives.  This is because these ads are small.  If you go to paste a few applications really small flex on a page, I would expect that most people have enough computer resources to manage it.  Once you get more complex, your apps also probably face more screen real estate and soon you are looking for a portal and probably should have a main shell that loads of apps.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

Maybe you are looking for

  • Graphic driver does not respond when you run Firefox 4 RC1 and battery operation.

    I unplugged the adapter Board of my laptop and Firefox 4 RC1. Screen is frozen since a while and restart Windows graphic driver every 2-4 minutes. He had arrived on a page at random (facebook, twitter, a few news pages). Windows 7 32 - bit, ATI Mobil

  • iPhone 5 s hangs after ios9

    5s IiPhone is suspended after iOS 9 solve this problem

  • Trouble using NI USB-4065 with virtual machine VMWare

    Hello I'll be working with a virtual machine (windows xp) and I need to use an NI USB-4065 DMM. When I connect the USB-4065 to the PC, the virtual windows xp recognizes the new HW and also MAX display the new device on the list DAQmx. It seems ok, bu

  • Problem with the sum of the elements of cluster

    Hello I have a problem (maybe very simple to solve). I have a cluster with 3 integers inside. I'm building a table of these elements (after unbundling my cluster) and I want to make the sum of all these parts. However, my result is not satisfactory.

  • execution error Rhide development environment

    When I try to run the RHIDE development environment in MS-DOS, I get the following error. --------------------------------------- "16-bit MS-DOS subsystem" Command prompt - RHIDE C:\DJgpp\BIN\rhide.exe system does not support full screen. -----------