CQL the java bean complex

Hello

Is there a known problem with CQL not able to deal with a structure of the complex java bean? Simple java bean works fine, but when I've nested within one another bean bean, CQL is unable to treat him.

Any pointer is greatly appreciated.

Thank you

Brandon

Hello

OK, so you must have the object (for example com.event.agreement@2bd2873) implements Serializable.

The reason is that the event could be potentially "paged" on the disk, and that's why we need to know how to serialize. It improved later in the code base.

Best rgds,

Tags: Fusion Middleware

Similar Questions

  • How to create screen saver using the java bean

    Hi all

    can someone knows how to create screen saver using java beans?

    Thanks in advance.
    Sarah

    It is a strange requirement, but you can go

    A TIME-NEW-FORM-INSTANCE:

    DECLARE timer_id Timer;
     one_minute NUMBER(5) := 60000;
    BEGIN
     timer_id := CREATE_TIMER('chnage_color', one_minute, REPEAT);
    END; 
    

    WHEN-TIMER-EXPIRED:

    DECLARE
         RandomR NUMBER(10):=dbms_random.value(1,256);
         RandomG NUMBER(10):=dbms_random.value(1,256);
         RandomB NUMBER(10):=dbms_random.value(1,256);
    BEGIN
    
     SET_CANVAS_PROPERTY('CANVAS2',BACKGROUND_COLOR, 'R'||RandomR||'G'||RandomG||'B'||RandomB);
    END; 
    
  • Java beans do not work with baseHTMLjinitiator = basejini.htm! ?

    Hello

    java bean use at work are used to open a file... dialog box and it does not work well when'm with baseHTMLjinitiator = basejini.htm in file formsweb, but when I'm trying to change the jinitiator to:

    baseHTMLjinitiator = basejpi.htm

    This isn't a job. !!!

    any help for coz I want to leave the work of all operating systems on my system with different Os (vista - xp - 7)

    Thank you

    Hello

    With JInitiator, you add the name of Java Bean to the archive_jini tag.
    With the plugin from Sun, you add the Java bean name to the tag archive .

    François

  • cannot decrypt the message of the java Server

    My application receives emails which are encrypted with AES/CBC/PKCS5Padding. My problem is that I can't decipher them well, I always get weird characters and portions of the original message. Y at - it any incompatibility between PVE PKCS5Padding and PKCS5Padding of Blackberry? I tried with atheart/CBC/PKCS5Padding encryption, but you have the same problem. I even tried to import BouncyCastle in my blackberry application, but it gave rise to a more complex problem: application would not start due to a problem of verification.

    This is the encryption and decryption methods I used.

    Byte [] use = "abcdefghijklmnop".getBytes (); key used by the server and Pocket PC

    Encryption of the Java Server:

    ...

    public static ubyte [] encrypt (byte [] input) throws... {

    SecretKeySpec keySpec = new SecretKeySpec (use, "AES");
    IvParameterSpec ivSpec = new IvParameterSpec (rawKey);

    Encryption cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");

    Cipher.init (Cipher.ENCRYPT_MODE, keySpec, ivSpec);

    Return cipher.doFinal (input);

    }

    Blackberry decryption:

    ...

    public static ubyte [] decrypt (input byte) shots... {

    Key AESKey = new AESKey (rawKey);
    IV InitializationVector = new InitializationVector (rawKey);
    ByteArrayInputStream is = new ByteArrayInputStream (input);
    DecryptorInputStream stream = DecryptorFactory.getDecryptorInputStream (key,
    is "AES/CBC/PKCS5", iv);
    output Byte [] = new byte [stream.available ()];
    Stream.Read (output);
    is. Close();

    return output;

    }

    If one of you managed to decipher any type of encryption PVE or BouncyCastle, please help me.

    I finally got to work. The problem was that I have encrypted text and then sent as an email. The result of the encryption is a byte array that in order to send an email I've converted to a string. That was the main problem. I managed to solve this problem by placing the bytes encrypted in an attachment with a particular content type: application/xrimdevice-mycontent. In collaboration with the SupportedAttachmentPart I managed to get my intact encrypted bytes. Yet, there are a few problems with the padding, usually I don't get any errors if the length of the ciphertext is a multiple of 16 (using the 16-byte encryption key).

    I tested it and it worked perfectly with AES/ECB/PKCS5. When you use character mode the first CBC Article 10 or 9 not decrypted well no.

    For those who want to implement the PKCS7 I sugest using the BouncyCastle j2me version. I managed to make it work by adding to my project all necessary decryption since the source code of the Castle inflatable j2me.

  • Groovy in Java bean code

    Hello

    I want to use an expression goovy in my Java bean. adf.context.securityContext.getUserName)

    Can anyone help how can use it in my grain of java. I use that way, but he's back just a string instead of the current user.

    String currentUserName = "${adf.context.securityContext.getUserName ()};  Thank you

    Why you did not say that from the beginning. Try this code

    public String getBpmUserName()
      {
        FacesContext context = FacesContext.getCurrentInstance();
        String ctx = (String) context.getApplication().evaluateExpressionGet(context, "#{pageFlowScope.bpmWorklistContext}", String.class);
    IWorkflowServiceClient workflowSvcClient = ADFWorklistBeanUtil.getWorkflowServiceClient();
        ITaskQueryService wfQueryService = workflowSvcClient.getTaskQueryService();
        IWorkflowContext wfContext;
        String userName = "";
        try
        {
          wfContext = wfQueryService.getWorkflowContext(ctx);
          userName = wfContext.getUser();
          System.out.println("userName= " + userName);
        }
        catch (WorkflowException e)
        {
    e.printStackTrace();
        }
        return userName;
      }
    
  • Java Bean works is not on server remote weblogic

    Hi all

    Let's all start, I use oracle 11 G R2, Oracle Weblogic Server 10.5 forms.

    My requirement:

    I need a custom form in my Oracle Application with which the user selects color

    My form:

    The custom form has a button and a JavaBean (ColorPicker) Area


    I use the Fbean package to register and call colorpicker as java bean


    My problem:

    The form runs successfully on my weblogic server locally (on my laptop), but when I run the same form on remote weblogic server and click the button to choose the color, nothing happens, and the dose of java console does not display an error

    I added colorpicker.jar to check tag in formsweb.cfg and put the colorpicker.jar in the OracleHome/forms/java directory.

    I tried the jar sign, but no solution

    Please help me

    the problem is now solved, the problem was in the browser to the URL

    the file formsweb.cfg on the remote application server containing sections of configuration multi like this:

    [TEST11G]

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

    [TEST11]

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

    [webutil]

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

    etc...

    I was adding the colorpicker.jar to the tag of archive in the TEST11 section, while I am running the form using config TEST11G like this:

    http://aptest:8888/forms/frmservlet? config = test11g

    The problem is in the location of my jar file in the file formsweb.cfg

    Thank you very much.

  • Why Distributed Transaction error at the Message bean but not not Backing Bean?

    Hi guys,.

    * Update * I read the second post first.

    Using JDeveloper 12.1.2.0.0 and integrated WebLogic server of the same version.

    I have an ADF program where a draft of the application using JDBC in a message bean.  If I create an Application Module within the project and then sign in using its connection (java: comp/env/jdbc/MyAdfConnDS), then the code below works fine.  However, if I search connection JDBC (jdbc/MyJdbcDS), I have configured in WebLogic myself, then I distributed transaction errors.  How can I configure my JDBC connection to imitate the one who creates the AppModule?  This way I can run prepared explicitly stated and validation of the call?

    Here is my code JDBC

            conn.setAutoCommit(false);
            PreparedStatement statement = conn.prepareStatement(sql);
            statement.setLong(1, companyAccountId);
    // errors here
            statement.execute();
            conn.commit();
            statement.close();
    
    
    

    Which results in the error

    // prepared statement.
    DELETE BUSINESS_PARTNERS WHERE MASTER_TYPE_KEY = 'C' AND COMPANY_ACCOUNT_ID = ?
    java.sql.SQLException: Cannot call commit when using distributed transactions
                at weblogic.jdbc.wrapper.JTAConnection.commit(JTAConnection.java:373)
                at com.sample.myProduct.jms.clients.MyClient.deleteEntities(MyClient.java:211)
                at com.sample.myProduct.jms.clients.MyClient.importData(MyClient.java:155)
                at com.sample.myProduct.jms.beans.ImportMessageBean.onMessage(ImportMessageBean.java:91)
                at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:575)
                at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:477)
                at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:375)
                at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4855)
                at weblogic.jms.client.JMSSession.execute(JMSSession.java:4529)
                at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3976)
                at weblogic.jms.client.JMSSession.access$000(JMSSession.java:120)
                at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5375)
                at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:550)
                at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
                at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    
    
    

    Here is a screenshot of all the available drivers: www.williverstravels.com/JDev/Forums/Threads/3544909/drivers.png, as well as the configuration of the transaction screen www.williverstravels.com/JDev/Forums/Threads/3544909/config.png

    I've tinkered enough to feel quite strongly, it is not an error in coding, but rather something in Weblogic.  I read what I can, but I don't know how the AppModule creates connections.  I would not add an AppModule just to retrieve its data source / login information if I don't.

    Ideas?

    Obviously, your message bean is configured to participate in a global transaction (for example, a JTA transaction). It is a behavior of the default message bean, even if you have not explicitly configured. When you get and use a JDBC connection in your message bean, this connection is attached to and participates in the overall transaction message bean (because you used compatible driver Oracle XA, it is seen on the 1st screenshot in your post), so you cannot perform local validation on the JDBC connection.

    Commit / rollback in this case can only be performed on the overall transaction (if the message bean is configured with the transactions managed by container) to be automatically or manually on the UserTransaction object (if the message bean is configured with bean-managed transactions). In other words, you must remove the conn.commit () statement, which is erroneous and obsolete when it is used in your message bean. If the message bean uses transactions managed by container, the container will commit / rollback automatically at the end of the method all the resources involved in the overall transaction (including your JDBC connection). If the method completed successfully (without exception), a validation will be performed. If the method fails (i.e., it ends with an exception), a cancellation will be made. If the message bean uses bean-managed transactions, the transaction is committed/restored when you explicitly call UserTransaction.commit () or UserTransaction.rollback ().

    The code above worked in a managed bean because JSF, ADF BC or ADF Faces applications require and participate in JTA transactions, then your JDBC connection has not been attached to a global transaction and you were able to perform local validation on the JDBC connection.

    You have two options to solve the problem. It depends on if you want your operations of JDBC to be in a global transaction with the bean of the message itself and its other actions or not. If they must be in a global transaction, then just remove the conn.commit () statement from your code. If they shouldn't be in a global transaction, you must either configure the message bean not to participate in global transactions or to configure the data source to use the «of the (thin) Oracle driver...» "instead of"Oracle (XA Thin)... driver. " ». (Remember to score the DataSource DO NOT to participate in a global transaction in the 2nd page of the data source configuration dialog in the management of WLS Console).

    NB. I highly recommend that you keep the global transactions. If you choose not to use a global transaction, it can happen that you committed the JDBC operations but an exception that happens after that, so the JMS message is not removed from the queue of messages and it will be processed after that, which causes the same operations of JDBC to be played and committed twice which must be avoided.

    Dimitar

  • JDeveloper 12.1.2 has a problem with links when you use the data bean control

    Build JDEVADF_12.1.2.0.0_GENERIC_130608.2330.6668

    The problem that I am facing is:

    I used the data bean control to create our user interface. After that I dragged my jsff page data control, links have been created.

    I opened the XML pagedef to my page. On the Bindings tab and executable, I added a few links more by clicking on the Green plus sign. After I saved my changes, I noticed that some other links have been replaced by a link to the different executable files.

    This behavior occurs almost everytime I have edit links. Does anyone else see this problem?

    It looks like another instance of the bug described in https://java.net/jira/browse/ADFEMG-156

    This bug is fixed in 12.1.3. If you need the fix in 12.1.2 you should open a SR with support.oracle.com and ask a backport.

    Timo

  • Closing popup workflow throws exceptions of serialization is not the managed beans.

    JDev 11.1.1.6

    When a popup that is launched from a work stream is closed, this exception is thrown for a lot of managed beans I set:

    [< SessionBasedScopeMap > < writeScopeMap > ADFc: scope objects serialization failed (no serializable object), scope='viewScope[/WEB-INF/get-value-rules-task-flow.xml#get-value-rules-task-flow@GetValueRules]', objectKey = 'GetValueRuleBean', 'com.mtg.fwd.view.beans.GetValueRuleBean' = objectType.

    < SessionBasedScopeMap > < writeScopeMap >

    java.io.NotSerializableException: com.mtg.fwd.view.beans.GetValueRuleBean

    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)

    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)

    at oracle.adfinternal.controller.util.Utils.verifySerializable(Utils.java:341)

    at oracle.adfinternal.controller.state.SessionBasedScopeMap.writeScopeMap(SessionBasedScopeMap.java:122)

    at oracle.adfinternal.controller.state.ViewScope.writeObject(ViewScope.java:90)

    ...

    Related Posts: ADFC-0619: check failure of popup by taskflow application approval

    I tried setting the scope of control of data in the workflow for the popup shared and isolated, the behavior is the same.  I thought that the scope must be insulated for the tf of the pop-up window.  The data-control-scope on the calling workflow shared.

    No idea why?

    Thanks - Rudy

    I don't know if you can disable registration points. However, I'd go for the second option to bind components to ask the beans reach max.

    This way you don't have problems later and it is best practice not to tie UI components to the higher bean then ask. You can adopt the UIManager (https://blogs.oracle.com/groundside/entry/the_uimanager_pattern) model.

    Or use ComponentReference as shown here https://blogs.oracle.com/ATEAM_WEBCENTER/entry/rules_and_best_practices_for

    Timo

  • Support for Arabic characters - problem with the .java resource group

    Hi all
    I have a requirement to internationalize the web application from merger and support Arab characters

    I have a file of properties in the project view controller and a .java resource group in the model project.

    I followed the steps mentioned in the documentation
    Regardless of the text defined in the .properties file works fine, the problem is with the .java resource group. The characters defined in the java file is
    shown on the Web page, as follows.

    O´UŠO³O¨ O´UŠO´O¨O´UŠ

    What could be the reason. Can someone help me on this?



    Jdev version 11.1.2.0.0

    And you can also try like this,

    My locale in backing bean file is like this

    Locale bean

    public class LocaleBean {}

    language of the public channel = 'en ';

    /**
    * @return
    */

    {} public void changeLocale (language: String)
    System.out.println ("changeLocale" + language);
    This.Language = language;
    this.setLanguage (language);
    Locale newLocale = new local (this.language);
    FacesContext context = FacesContext.getCurrentInstance ();
    context.getViewRoot () .setLocale (newLocale);
    JSFUtils.storeOnSession ('LOCAL', language);
    System.out.println ("end of change of locale");
    }

    {} public void setLanguage (language: String)
    This.Language = language;
    }

    public String getLanguage() {}
    return language;
    }

    {} public void changeLocaleAction (ActionEvent actionEvent)
    changeLocale (this.language);
    Add the code in the event here...
    }
    }

    Faces - config.Xml




    Oracle.ADF.Rich

    Resorces.XX
    message


    en
    AR
    en



    localeBean
    LocaleBean
    request

    and my package of resource like this:

    xx_ar_AR. Properties
    XX. Properties

    And the project properties > compiler property > character encoding > UTF-8
    &
    Select Tools--> Preferences--> environment
    and then set the UTF-8 encoding.

    no need to change your Trinity - config.Xml

    Concerning
    PY

  • Difference between standard java bean and dynamic bean?

    Hi all
    Can does anyone of you tell me the difference between the dynamic standard java bean and bean?

    Thanks in advance...
    Sudhakar.

    DynamicBean

  • Where to put the java code - best practices

    Hello. I work with the Jdeveloper 11.2.2. I'm trying to understand the best practices for where to put the code. After reviewing the http://docs.oracle.com/cd/E26098_01/web.1112/e16182.pdf, it seemed that request module was the preferred location (although many examples in the pdf file reside in the main methods). After some time of coding, if, I noticed that there was a certain libraries imported and wondered if this would impact performance.

    I looked at the articles published on the forum, in particular Re: programmatically access the method of service (customer interface) . This link mentions for access to the code a bean of support - and the bulk of the recommendations seem to be using the data control to drag to the Joint Strike Fighter, or use the links to access code.

    My interest lies in where to put the java code in the first place; In the view object, entity object, and... other Am, backing bean object?

    I can describe several guess better know where to put the code and the advantages and disadvantages:

    1. in the application module
    Benefits: Central location for code makes development and support easier as there are not multiple access points. Kinda like a data control centralizes the services, the module of the application can act as a conduit for the different parts of the code you have in your model objects.
    Cons: Everything in one place means that the module of the application becomes bloated. I don't know how the memory works in java - if the app module has tons of different libraries are all called when even a method of re - run a simple query is called? Memory of pigs?

    2. write the code in the objects it affects. If you write code that accesses a view object, write it to a display object. Then make it visible for the customer.
    benefits: the code is accessible through ducts less (for example, I expect that if you call the module from the application of a JSF backing bean, then the module of the application calls the view object, you have three different pieces of code-)
    CONT: the code gets spread, more difficult to locate etc.

    I would greatly appreciate your thought on the issue.


    Kind regards
    Stuart

    Published by: Stuart Fleming on May 20, 2012 05:25

    Published by: Stuart Fleming on May 20, 2012 05:27

    First point here is when you say 'where to put the code of java' and you're referring to ADF BC, the point is that you put 'code of java business logic' in the ADF business components. Of course it is very good to have the Java code in the ViewController layer that covers the user interface layer. Just don't put the business logic in the user interface layer and don't put no logical user interface in the model layer. In your 2 examples you seem to consider the ADF BC layer only, so I'll assume that you're not only serious logic java code.

    Meanwhile, I'm not keen on best practices in the term that people are following best practices without thinking, usually best practices come with conditions and forget to apply. Fortunately you do not here that you have thought through the pros and cons of each (nice work).

    Anyway, back on topic and turn off my soap box, regarding where to put your code, my thoughts:

    (1) If you have only 1 or 2 methods set in the AppModuleImpl

    (2) If you have hundreds of methods, or there is that a chance #1 above will turn into #2, divide the code between the AppModuleImpl, the ViewImpl and the ViewRowImpls. Why? Because your AM will become overloaded with hundreds of methods making it unreadable. Put the code where it should logically go instead. Methods that operate on a specific line of VO Approfondissez partner ViewRowImpl, methods that work across lines in a VO enter the ViewImpl and methods that work throughout your in the associated AppModuleImpl.

    To be honest that you never the option you choose, one thing I recommend as a best practice is to be consistent and document standard so not know your other programmers.

    BTW, it is not a question about loading a lot of libraries/imports in a class, it has no performance cost. However if your methods require a lot of class variables, then yes there will be a memory of the costs.

    On a side note, if you are interested in more ideas on how to create ADF applications properly think about joining the EMG "ADF", a forum which deals with ADF architecture, best practices (cough), deployment architectures free online and more.

    Kind regards

    CM.

  • How to pass the value to the java binding to my thru ViewObject variable?

    Hello

    I have a class Impl, that can access my viewObject.

    My View object - request
    Select * from Customer_contact where OrderId =: p_OrderId;

    Here is my link p_OrderId variable.


    Now,.
    I have a method that is exposed as a Web service, from which Impl. The functionality of this method is that it will take a "var_OrderId" (integer) as a parameter.
    He must retrieve the lines of a view object, which has a query as above. Now my doubt is, how to assign this value "var_OrderId" to the link variable 'p_OrderId '.

    Kindly give me the java code that I should use to retrieve the columns of my viewObject, regarding the binding variable.


    Thank you
    Sabarisri. N
    //from VORowImpl
                  getViewObject().setNamedWhereClauseParam("p_OrderId", var_OrderId);
                  getViewObject().executeQuery();
    
    //form maanged bean
                  DCIteratorBinding dciter;
                  BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
                  dciter = (DCIteratorBinding) bindings.get("EmpView1Iterator");
                  dciter.getViewObject().setNamedWhereClauseParam("p_OrderId", var_OrderId);
                  dciter.getViewObject().executeQuery();
    

    Published by: vinod_t_krishnan on 7 Sep 2011 12:33

  • The changing scope of the managed Bean to backingBean ask causes error

    Hello:

    With jdev 11.1.2 on windows xp sp2.

    I had an application to work with a scope of backingBean support bean. I made that one change... that is, changed the scope to request in the section of the managed Bean of adfc - config.Xml.
    After you make this change only, I get the following error on execution of the application. What I am doing wrong?

    Thanks for the help.



    Error 500 - Internal server error
    javax.el.PropertyNotFoundException: //C:/Documents and dsteger/Settings/Application Data/JDeveloper/system11.1.2.0.38.60.17/o.j2ee/drs/DD1/ViewControllerWebApp.war/page1.jsf @6,65 binding = "#{backingBeanScope.backing_page1.d1}": unattainable target, 'backing_page1' returned null "
    at com.sun.faces.facelets.el.TagValueExpression.setValue(TagValueExpression.java:133)
    at com.sun.faces.application.ApplicationImpl.createComponentApplyAnnotations(ApplicationImpl.java:1897)
    at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:1109)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.createComponent(ComponentTagHandlerDelegateImpl.java:511)
    at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:157)
    at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
    at com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:167)
    at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
    at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
    at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:82)
    at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:152)
    at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:744)
    to org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ ChangeApplyingVDLWrapper.buildView (ViewDeclarationLanguageFactoryImpl.java:341)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:982)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
    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:121)
    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:111)
    at java.security.AccessController.doPrivileged (Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    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:136)
    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)

    If you change the extent of the scope of the request, then, the value should be like

    #{backing_page1.d1}

    If its scope of the bean to support, then it will be

    #{backingBeanScope.backing_page1.d1}

    If the scope of the page flow, then it will be

    #{pageFlownScope.backing_page1.d1}

    guess you got it now...

  • passage of setting of JS to Java Bean.

    We use the bing map to display data from failures.
    Requiement is now

    We have our JS
    description of the var;
    description = description + "< br br > > < ' + ' click on ' + ' < a href = 'javascript:openPopUp ()' > '+' * here *" + "< /a >" + "to see full list of incidents"; "."
    I am also getting cityname [i]

    so here, I have to spend cityname during the click on here to one of my java bean feature.
    where did I call a method that takes the city name as input and returns a complete list of incidents.

    Here is how I could do... In my javascript I prepare set param and an event and raise this event.
    On my UI... using a ServerListener... I lie this event to a bean method where I am able to access the param.

    Here's the javascript code:
    function myClientListener (event) {}
    element var = event.getSource ();
    var param = {City: "new york", country: 'US'};
    AdfCustomEvent.queue (element, "jsServerListener", param, true);
    Event.Cancel ();
    }

    JSPX:

    Method = "#{MyBean.serverEventHandler}" / >

    bean method:
    {} public void serverEventHandler (ClientEvent clientEvent)
    System.out.println (clientEvent.GetParameters () .get ("City"));
    System.out.println (clientEvent.GetParameters () .get ("Country"));

    }

    This can be useful:
    http://naive-amseth.blogspot.com/2011/02/calling-methodbindingwebservice-on.html

    Amit

Maybe you are looking for