AF:poll in the ADF Model

Hi all

I use JDeveloper 11.1.2.3.0

In my application, I have a poll which, under certain conditions, shows a popup. I created a new page for test purposes and the election worked perfectly.
When I created the poll in the ADFTemplate things have changed. the listener survey have to do 2 things: 1-show popup and 2 - change an attribute in the database and validation of work.
now, the survey only change the attribute but does not display the shortcut menu.

This my polllistener code:
 
      public static void showPopup(PollEvent pollEvent )
    {
        String id = "pt_p1"; 
       
        FacesContext context = FacesContext.getCurrentInstance();
        BindingContainer bindings = getBindings();
        DCIteratorBinding iter =(DCIteratorBinding)bindings.get("CalendarView2Iterator");
        OperationBinding save = bindings.getOperationBinding("Commit"); 
        iter.executeQuery();
       
        Row[] rows = iter.getAllRowsInRange();
        if (rows.length > 0)
        {
            
               ExtendedRenderKitService extRenderKitSrvc = Service.getRenderKitService(context, ExtendedRenderKitService.class);
               extRenderKitSrvc.addScript(context, "context.getViewRoot().findComponent('" + id + "').show();");
               for (int i=0; i<rows.length;i++) {
                   rows.setAttribute("Reminder", "OFF");
save.execute();
}

}

}


private static BindingContainer getBindings()
{

return BindingContext.getCurrent().getCurrentBindingsEntry();
}


}


anyone knows why ? 
ps: the code worked perfectly when testing it in a new page but things went wrong when testing it in the template page of the application.


Regards,

FARAJ

I edited the code , but still things is not working correctly!
Edited by: Faraj on Feb 19, 2013 1:09 AM

Edited by: Faraj on Feb 19, 2013 2:37 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

Hello

Remember the ID of the popup as:

If you have a popup to id = "p1", then:

-If your page has no model then the ID of the popup is "p1".
-If your page has the template with the id "pt1" then the popup id will be: "pt1:p1".

Kind regards

Tags: Java

Similar Questions

  • Issue of the ADF Model

    Hello

    I'm doing an ADF model that should be like this: http://imageshack.us/f/826/layoutprob.png
    But I don't even know if it's possible.


    < panelStretchLayout >
    < high facet > < / facet >
    < / panelStretchLayout >

    < af:panelStretchLayout >
    < facet left / > < facet Center > < right facet >
    < / af:panelStretchLayout >


    This configuration might work? Or I have to face in a different way? (With the help of JDev 11.1.2.20)

    Published by: 962432 on 10-Oct-2012 06:04

    Published by: 962432 on 10-Oct-2012 06:30

    Published by: 962432 on 10-Oct-2012 06:32

    Hello

            
              
                
                  
                    
                  
                  
                    
                  
                
              
              
                
              
              
                
              
              
            
    

    You can also use an af:panelStretchLayout instead of the panelSplitter.
    The af:spacer and the af:commandButton are just placeholders for your content.

  • execution of a procedure in the ADF Model

    Dear all,

    I created a new fusion in the ADF web application, I created a custom entity class that overrides the doDML method.
    This is because I have to perform the Insert, update and delete stored procedure. But the problem is that I can't create a connection, because it says that it does not find the class 'FacesContext.
    I tried to import the class but the package doesnot seem to happen in the import statement.

    Here is my code
    public class mf_online_banks_plsql extends EntityImpl {}
    public mf_online_banks_plsql() {}
    Super();
    }

    /**
    * Custom here logical update/insert/delete DML.
    @param operation operation type
    @param e transaction event
    */
    protected void doDML (int operation, TransactionEvent e) {}
    super.doDML (operation, e);
    If (operation is DML_INSERT)
    callInsertProcedure (e);
    ElseIf (operation == DML_UPDATE)
    callUpdateProcedure (e);
    ElseIf (operation == DML_DELETE)
    callDeleteProcedure (e);
    }


    Class where the error occurs... I stated this class within the template, but when I use it inside ViewController it works...!
    public class {DataHandler

    String jdbcUrl = null;
    String userid = null;
    String password = null;
    Connection Conn;

    public static final String CONNECTION_STRING =
    FacesContext.getCurrentInstance () .getExternalContext () .getInitParameter ("connectionString");
    public static final String USER_NAME =
    FacesContext.getCurrentInstance () .getExternalContext () .getInitParameter ("userName");
    public static final String PASSWORD =
    FacesContext.getCurrentInstance () .getExternalContext () .getInitParameter ("password");
    .
    .
    .
    }

    Anyone can provide the solution for this...

    -Thank you

    Published by: Santosh Vaza December 27, 2010 16:57

    Published by: Santosh Vaza December 27, 2010 16:58

    FacesContext is not available in a model project because it is a class from the ViewController (e.g. from the presentation layer) project. Note that you need not create a new JDBC connection, because you must use the underlying business components JDBC connection. Just get the DBTransaction of the underlying object in the EntityImpl object and use it to prepare the necessary CallableStatement, for example:

    DBTransaction dbtrans = this.getDBTransaction();
    CallableStatement cstmt = dbtrans.createCallableStatement( "{ call MyProcedure( ?, ?, ? ) }", DBTransaction.DEFAULT );
    ...
    

    Dimitar

  • Oracle ADF Model Tester - not connected

    Hi all

    I have trouble launching the ADF Model tester to test an Application Module.

    Within a BPM Application, I added a project of ADF model. Within this project, I created all the components I need business.

    When I try to launch the application model, I got the following error:

    Taken unexpected exception: java.lang.ClassNotFoundException, msg = oracle.jbo.jbotester.jdevx.ConnectionDialog: oracle.jbo.jbotester.jdevx.ConnectionDialog

    The entire exception is:

    oracle.jbo.jbotester.app.ErrorHandler$ ExceptionWrapper: Houston-29000: Unexpected exception caught: java.lang.ClassNotFoundException, msg = oracle.jbo.jbotester.jdevx.ConnectionDialog

    at oracle.jbo.jbotester.app.ErrorHandler.displayError(ErrorHandler.java:104)

    at oracle.jbo.jbotester.app.ErrorHandler.displayError(ErrorHandler.java:90)

    at oracle.jbo.jbotester.app.IErrorHandlerImpl.displayError(IErrorHandlerImpl.java:43)

    at oracle.jbo.jbotester.MainFrame.launchConnectDialog(MainFrame.java:409)

    at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:577)

    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:538)

    Caused by: java.lang.ClassNotFoundException: oracle.jbo.jbotester.jdevx.ConnectionDialog

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:366)

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:355)

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

    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:308)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

    at java.lang.Class.forName0 (Native Method)

    at java.lang.Class.forName(Class.java:278)

    at oracle.jbo.jbotester.MainFrame.launchConnectDialog(MainFrame.java:407)

    ... 2 more

    # # 0 in detail

    java.lang.ClassNotFoundException: oracle.jbo.jbotester.jdevx.ConnectionDialog

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:366)

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:355)

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

    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:308)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

    at java.lang.Class.forName0 (Native Method)

    at java.lang.Class.forName(Class.java:278)

    at oracle.jbo.jbotester.MainFrame.launchConnectDialog(MainFrame.java:407)

    at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:577)

    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:538)

    If I instead create a merger ADF Web Application and then within the model project I create all the BC as for the Application of BPM the ADF Model Tester works very well.

    It seems that the BPM Application is missing some libraries, but I already tried to add library BC4J Tester in the ADF Model project, but nothing changes.

    Why the ADF Model Tester does not work when running it from a BPM Application?

    Information on the Jdeveloper version I am using.

    Oracle JDeveloper 12 c 12.1.3.0.0

    Studio Edition Version 12.1.3.0.0

    Build JDEVADF_12.1.3.0.0_GENERIC_140521.1008.S

    The IDE version: 12.1.3.0.41.140521.1008

    Product ID: oracle.jdeveloper

    Product version: 12.1.3.0.41.140521.1008

    Thank you

    Claudio

    Looking at the response of Sameh Nassar, I found the solution for this problem.

    I put an oracle.home variable pointing to the directory jdeveloper environment.

    Thank you

  • Run ADF model is in conflict with Axis2 with rampart customer code

    Hello

    I have a project where the model is developed using the libraries of the ADF Model Runtime11g R1 and also generated Axis2 client code with security Rampart module is used to call the Web Service method.

    When the above code is executed in JDeveloper 11 g R1, it fails with the error below:

    March 20, 2014 10:30:26 org.apache.axis2.engine.AxisEngine receive

    GRAVE: The signature or decryption is not valid; nested exception is:

    java.lang.IllegalArgumentException

    org. Apache.Axis2.AxisFault: the signature or decryption is not valid; nested exception is:

    java.lang.IllegalArgumentException

    at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:172)

    at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:95)

    at org.apache.axis2.engine.Phase.invoke(Phase.java:317)

    at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)

    at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)

    at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:363)

    at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)

    at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)

    at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)

    Caused by: org.apache.ws.security.WSSecurityException: the signature or decryption is not valid; nested exception is:

    java.lang.IllegalArgumentException

    at org.apache.ws.security.processor.ReferenceListProcessor.decryptEncryptedData(ReferenceListProcessor.java:241)

    at org.apache.ws.security.processor.EncryptedKeyProcessor.decryptDataRef(EncryptedKeyProcessor.java:443)

    at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:381)

    at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:104)

    at org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:84)

    at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:326)

    at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:243)

    at org.apache.rampart.RampartEngine.process(RampartEngine.java:146)

    at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)

    Please help me solve this problem.

    Any help is appreciated.

    Thanks in advance!

    Hi Frank,.

    Thanks for your reply.

    Yes, when I run the project without adding the model ADF runtime library he runs correctly with good security of WS and call the Service method.

    I have the problem of debugging and found that the problem is with respective of XML parsers.

    The ADF model run-time library uses the pot following 'D:\Oracle_New\Middleware_New\11117_New\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar' of XML parsing where as the Axis2 project client uses the pot of open source for "rt.jar" of XML parsing.

    Yes, by following the below steps of the project of the Axis2 client with module of rampart run successfully.

    1 unjar the filexmlparserv2.jar

    2 change the entries in the file in the META-INF/services as follows:

    • for javax.xml.parsers.DocumentBuilderFactory replace oracle.xml.jaxp.JXDocumentBuilderFactory withcom.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
    • to replace withcom.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl oracle.xml.jaxp.JXSAXParserFactory javax.xml.parsers.SAXParserFactory
    • to replace withcom.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl oracle.xml.jaxp.JXSAXTransformerFactory javax.xml.transform.TransformerFactory

    3 re the file using the jar jar command.

    4 copy this new file xmlparserv2.jar in the directory Oracle Middleware installed.

    If the problem is resolved.

    Thank you

    Farhan.

  • share the contents of the adf with WebService

    Dear all.

    For my purpose, I have to share adf context with the web service. Let's take an example:

    I managed bean class 'Main.java ':

    public class Main {}

    public Main() {}

    }

    public String AnyResult() {}

    BindingContext bindingContext = BindingContext.getCurrent ();

    DCBindingContainer dcb = bindingContext.findBindingContainer("view_page1PageDef");

    DC DCDataControl = dcb.findDataControl("AppModuleDataControl1");

    AppM AppModuleImpl = (AppModuleImpl) dc.getDataProvider ();

    ViewObjectImpl vo = appM.getVO1 ();

    vo.executeQuery ();

    Line = vo.next ();

    System.out.println (Row.GetAttribute("Data1"). ToString());

    }

    }

    and the web service class:

    @WebService

    public class {Job

    /.../

    context WebServiceContext private;

    private main cm;

    @WebMethod

    @Oneway

    public void run() {}

    cm = new Main();

    System.out.println (cm. AnyResult());

    }

    }

    Result: BindingContext bindingContext = BindingContext.getCurrent (): Returns NULL

    How to share the context of the ADF with web service for access to the ADF model.

    Kind regards.

    Something in your architecture is not supposed.

    Usually, Web Services are part of your model layer - and if they want to access a Module of application they need not go through the viewController layer.

    If you want to transfer data to your Web Service - pass it as parameters to the function - in this way your service is not dependent on a user interface layer.

  • How to deploy a BPM Application with ADF Model project in the application

    Hello

    I have request of BPM. I created a model object ADF inside the same application to interact and to data-controls the View object in the auto-generated human task. However, when I deploy I do not know how to deploy the created model project.

    Please suggest how can I deploy the model project. I use Jdeveloper to deploy the application directly.

    Thanks-Durga

    Hey Durga,

    It is deployed with the project view controller that you have created the human task.  You don't have to deploy it separately.

    Right click the mouse, your view controller project-> click-> Properties, click dependencies.  Note that the view controller has a dependency in the model project.

    Dan

  • Is it possible to use &lt; af:message &gt; to display the validation model adf instead of the default note window

    For any component input, validation that we created at the level of the entities attribute are executed and if any validation fails, the messge is displayed in a window of default note on the component of the.

    Is it possible to use < af:message > to display the validation model adf instead of the window of default note for the corresponding component in a fragemnt jsff page?

    I use JDev 11.1.1.6.0.

    Thank you

    Jean Bayard

    Michelle,

    I have good news. I was able to reproduce, locate and bypass your problem.

    The problem is the following:

    works very well in JSF pages, but it does not work in JSF fragments (which are part of a glued TaskFlow, what is included in a page parent as a ) because ADF when executing a miscalculation of the value of of 'for' - attribute when it is part of a region BTF. For example, suppose that the has id = "it1" (as it is in your JSF fragment above) and this TaskFlow defined in included as a with id = "r1" in a parent page. Then the internal ID of the input text field will be 'r1:0:it1', but at runtime, the framework will set the value of 'for' - attribute to the 'r1:it1' (which is wrong) instead of "r1:0:it1" (which is the correct value).

    You can work around this bug by specifying:

    Instead of

    in your code above. In this way the framework will make up the correct value for the 'for' - attribute at run time and will not work correctly. Don't worry the caveat against a non-existent ID in the JDev source code editor.

    You must do this trick only in fragments JSF and you should not do in JSF pages.

    Dimitar

  • Bug? The obligation to deploy ADF Model Runtime on internal WLS

    Hello, I have a strange problem. I have 2 projects in my application: a model project and a Web service generated (from WSDL). In the Web service, I have a manager that newspapers in the database so I have a dependency on the model project in my webservice project.

    My EAR deployment profile contains only the webservice project (as it should because the model is implied through the depenency, right?), but I have to deploy the library "ADF Model runtime" with her because I get an NoClassDefFound exception otherwise. It so strange because it is a runtime library and I have an ADF area in my WLS if the library is already there. I have other Web services deployed on the same server and they do not have this problem. The only difference I can see between those with the error is that the last webservice has been built with a local WSDL and others from a URL. But it would be strange if that was the problem here.

    My guess is that this is a bug in JDeveloper, and I would like to know how to correct it. Somehow my classpath does not seem right, is there an xml file, I could manually change so that I do not have to deploy the jar with my project? It made my huge EAR file and I have to wait 7 minutes before it is deployed. This is unacceptable...

    EDIT:

    I compared the two EAR files, the only difference between them are the jar files. These are the jar files in the big EAR file but not in the (broken) small:

    ADF-controller - security.jar
    adfdt_common.jar
    ADF-dt-to - rt.jar
    adflibrary.jar
    ADFM.jar
    ADF-part - security.jar
    adftransactionsdt.jar
    common - el.jar
    DB - ca.jar
    Groovy-all - 1.6.3.jar
    IdentityStore.jar
    javax.activation_1.1.0.0_1 - 1.jar
    jdev - cm.jar
    JSP - el - api .jar
    ojmisc.jar
    Oracle - el.jar
    xmlparserv2.jar

    During the deployment, JDeveloper complains of not being able to find the oracle.jbo.domain.Number, which is in adfm.jar if I'm not mistaken. Isn't it weird? It should be available on the WLS or not?

    Edit2: I compared my EAR to a webservice to work without libraries deployed with her and the weblogic - application.xml says:

    < library-ref >
    < name of the library - > adf.oracle.domain < / library name >
    < / library-ref >

    I think I want that in my weblogic application. XML as well. How do I do that? It is generated during deployment...

    I solved it. Somehow, I don't have a weblogic - application.xml in my screen of application resources. It is supposed to be where jps.config.xml and cwallet.sso are. I did a manually and added to the library-ref mentioned before him. Then I could deploy without any problem. I still wonder why JDeveloper na not create one for me in the first place, because I don't remember having to do it manually for any other project I've ever done.

    Anyway, problem solved!

  • How to consume the data model library adf for the project?

    Hello

    I use Jdev 11.1.1.6.

    I have a workspace Jdev containing the business component (entity objects, view and application module objects exposing the your). This workspace is deployed to a library of the ADF. This library is packed with DB connection details.

    I have a different workspace Jdev which needs to consume this library of ADF data model. This workspace is actually just the layer view (no business at all components).
    I added the data library ADF model to his draft opinion and it is showing application module and your sub of the data controls.

    My question is: how will this project view to connect to DB when running?
    It allows the connection of packaged data model ADF Libabry? If so, how?
    or should I create a business under this workspace view, just the purpose of connection project? If Yes, then what is the use of connections, including creating the library of the ADF?

    Thank you
    JAI

    Hello

    It uses the connection in the library of the ADF. However, I recommend that not save you the database connect information in the library of the ADF. Instead:

    -set the ADF BC model to use JDBC data sources
    -In the library of the ADF, configure it to contain only the name of data source
    -In the view project (the workspace) set up the database connection that is exposed by the library

    When the library is imported, verify the Application resources--> connections and right click on the name of the connection that is imported to configure

    Frank

  • How to implement the BC ADF model to access the external schema tables

    Hello

    I have an obligation to implement architecture MVC ADF BC, but some of my paintings are in external schema. I don't have direct access to external tables, but can read and write to the tables with API calls provided by the owner of the schema. Also, I need to implement in bulk update of tables on these tables. is it possible to do it in the ADF? I'm a newbiew to the ADF, all ideas are appreciated.

    Kind regards
    Surya

    Should what kind of API you access the other tables? PL/SQL procedures?
    If so read on access to PL/SQL in the ADF Developer's Guide:
    http://download.Oracle.com/docs/CD/E15523_01/Web.1111/b31974/bcadveo.htm#sm0328

    It could also help: http://www.avromroyfaderman.com/framework-for-database-api-based-adf-bc/

  • Main table with two tables of children as part of the ADF

    Hello

    I'm trying to implement single master with two tables in detail using oracle adf framework of Jdev 11.1.1.4.0. I am able to only master / details using the link display but unable to reach the details i.e., nested block child master with nested blocks.

    I created query view object based on the master and two poll objects of the base seen as details. Then, I created two master of first child link and another link for master of the second child. Even in this case in my data controls I see two different components which is incorrect.

    Please let me know how to create a data control for an example below:
    Fruit [MASTER]
    -Details of Fruits such as the table of the adf
    -Apples [FIRST CHILD]
    -Details of the apples as adf table
    -Orange [SECOND CHILD]
    -Details of the Oranges as adf table

    Kind regards
    Amar.

    You need two viewLinks
    Fruit-> apples
    Fruit-> Oranges

    Then, in the data model, you choose the entry of fruit that has:
    Fruit
    |---> Apples

    You stand on the fruit and you shuttle Oranges to be below left to right.

    If you use the HR schema by default, you will see this type of relationship for employees:
    https://blogs.Oracle.com/Shay/entry/master_with_two_details_on_the

  • Is there a way to scan both sides of the ADF on OfficeJet Pro 8600?

    I try to scan a document very large, double and want to place the document in the ADF and have both sides scanned to PDF.  Is it possible to make this work?  I am running Windows7.

    Thanks for any help,

    Stasi

    Hi Stasi,

    The artist supprted only scanning automatic duplex HP Officejet Pro 8600 Plus or Premium.

    The 8600 (N911a) Standard model does not provide these capabilities.

    Kind regards

    Shlomi

  • 8710: 8710 double scan from the ADF

    Please help me understand if the HP OfficeJet Pro 8710 supports the double scanning from the document feeder. In http://www8.hp.com/h20195/v2/GetPDF.aspx/4AA6-4026ENUC.pdf , is the line: "breeze through with double scanning multipage documents and an automatic C1900 of 50 pages (a single pass double scan 8730/40 models).  How is - a scan a stack of documents recto / verso on a 8710?

    For comparison, consider how the 6700 manages.   (A) on the computer, open "Scan HP."  (B) select "ADF." (C) place a check next to "Scan both sides (duplex).»  (D) place up to 20 originals in the document feeder.  (E) click on "search". (The ADF feeds the originals in the scanner.  On the computer, a pop-up scanning HP says: "prepare to analyze the other pages of your two-sided document.  To analyze the other side of pages 1. Remove the pages from the output tray.  Do not change the order of the pages.  2. without turning the pages at the wire, turn and place them in the document feeder according to the landmarks of placement on the device. 3. click OK when you are ready. ") F) after placing the originals rotated in the document feeder, click on 'OK '. (The HP scanning software stores the scan on your computer.)

    @gregspinney

    The technical data sheet information in small print:

    3 the single pass 50 sheets, ADF automatic duplex is available with only models 8730 and 8740. 8710 and 8720 models have an ADF 50 sheets of double mechanical

    While scanning two-sided "single pass" is not available on the 8710, it should provide an automatic duplex scanning.  The leaves should go through the printer, print one side, flip and scan the second side.

    Printer:

    All-in-one printer, HP OfficeJet Pro 8710 range

    Full software features:

  • 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.

Maybe you are looking for

  • iPhone 4

    Can I use an iPhone 4 on Sprint

  • Problems with the restoration of a previous session

    Hello! Earlier today, I closed my window with the option "save the tabs for the next time." I then restarted my Firefox and all I got was a blank white screen. I waited for awhile and then closed the window. When starting Firefox again once, I looked

  • Apps to optimize on reboot

    I used the Turbo for the last 2 months, the 4th phone in the Droid line that I owned. I have cam on a problem in the last two weeks I've not seen before on the Droid phones. Whenever I reboot the phone, I get the message 'Android's upgrade... "and ex

  • Charts Widget

    Hello world I am trying to display graphs generated in Javascript in a BB widget. I tried a few (ProtoChart, flood) JS library, but no one works with BB. Do you know how? Is it possible to do? Thanks a lot for your help. Michel

  • Smartphones blackBerry and sudoku Solitaire

    Having "washed" my 8520 with my sheets, it has been replaced with a 9320 - unfortunately has not been loaded with the beautiful plain soitaire/klondike I had on my other.  Anyone know how to get one? I tried the applications, but they are all loud an