How to register custom FacesPageLifecycle?

Hi,
In 10G, to customize the way errors are presented to the users I was extending ADFPhaseListener to provide my custom FacesPageLifecycle.
However, in 11G ADFPhaseListener is marked as deprecated saying that to customize the lifecycle I must register a listener in adf-config.xml.
This does not tell me how to register a custom page lifecycle. The latest developer's guide is still referring the SRDemo way (see section 37.3.1).
What is the 11G way of achieving this?
Thanx!
Olivier

This works for me in TP2.
package test.view;
import oracle.adf.controller.v2.lifecycle.PagePhaseEvent;
import oracle.adf.controller.v2.lifecycle.PagePhaseListener;
public class MyPagePhaseListener implements PagePhaseListener
   public void afterPhase(PagePhaseEvent event)
      System.out.println("In afterPhase " + event.getPhaseId());
   public void beforePhase(PagePhaseEvent event)
      System.out.println("In beforePhase " + event.getPhaseId());
}and the adf-config.xml file entry:
<?xml version="1.0" encoding="windows-1252" ?>
<adf-config xmlns="http://xmlns.oracle.com/adf/config"
            xmlns:sec="http://xmlns.oracle.com/adf/security/config">
  <!-- etc -->
  <adfc-controller-config xmlns="http://xmlns.oracle.com/adf/controller/config">
    <lifecycle>
      <phase-listener>
        <listener-id>MyPagePhaseListener</listener-id>
        <class>test.view.MyPagePhaseListener </class>
      </phase-listener>
    </lifecycle>
  </adfc-controller-config>
</adf-config>

Similar Messages

  • How to register custom report under Custom Development Application

    Hi 2 all
    How to register custom report under the Custom Development application in R12 vision DB, and also confirm location/folder of Custom Development application in R12.
    Thanks
    Zulqarnain

    Hi,
    You may or may not need to "register" the workflow - it depends on the changes that you made and which Item Type you modified. Some applications are essentially hard-coded to use a specific item type and process, some hard-coded to use an item type but you can configure the process to use, and some allow you to specify which item type and which process to use.
    Without knowing exactly what you have done, though, there is no specific advice that anyone can give you here on what you need to do, apart from to ensure that you have saved the new definition to the database.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • How to register custom workflow in oracle apps ?

    Hello
    I am new to workflow. I have customized an oracle standard workflow and now i want to register this custom one. Please help how to register the custom workflow. What steps need to achieve this.
    Thanks

    Hi,
    You may or may not need to "register" the workflow - it depends on the changes that you made and which Item Type you modified. Some applications are essentially hard-coded to use a specific item type and process, some hard-coded to use an item type but you can configure the process to use, and some allow you to specify which item type and which process to use.
    Without knowing exactly what you have done, though, there is no specific advice that anyone can give you here on what you need to do, apart from to ensure that you have saved the new definition to the database.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • How to register custom forms & reports

    Hi,
    Please anyone help me the steps required to register custom forms & reports to e-business suite 11i.
    regards
    sva

    Hi,
    Please refer to the following document.
    Note: 216589.1 - Step By Step Guide to Creating a Custom Application in Applications 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=216589.1
    Note: 177610.1 - Oracle Forms in Applications FAQ
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=177610.1
    Note: 104697.1 - Setup & Usage (Customization)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=104697.1
    Oracle Applications Developer's Guide
    http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115devg.pdf
    Regards,
    Hussein

  • How to register custom form into Oracle Applications

    I created a custom form based on a custome table, then I registered in Oracle applications, but it is not opening properly in Oracle applications. It is running fine outside of Oracle Applications. Are there any standard packages which I need to attach while creating this custom form.
    Please help.

    1. Copy your form (test.fmb) into $AU_TOP/forms/US
    2. Compile with f60gen
    3. Copy the test.fmx file to $PRODUCT_TOP/forms/US
    4. Login to Oracle Applications with sysadmin user
    5. Select Application Developer responsibility
    6. Navigate to Application - Form -
    7. Enter the values for following parameter
    Form = test
    Application = You can select from LOV
    User Form Name = Enter as you like
    Description = Enter if any
    8. Navigate to Application - Function
    9. Enter the values in the function form
    in Description TAB - Enter the value for Function, User Function Name, Description
    in Properties TAB - Type = FORM
    Maint.Mode Support = None
    Context Dependence = Responsibility
    in Form TAB - Form = Select your form name that already registered (above one)
    Application = Will display
    Parameters = STARTUP_MODE= TEST
    10. Now you can attach the form in Menu then Responsibility
    Revert back if you have any query.
    Regards,
    S. Velusamy Raja
    Oracle Apps DBA

  • How to register Custom Escalation class or project as a part of soa installer?

    Hi,
    I have written a custom class for human task escalation which is part of project i created which contains all libraries and other files related to escalation.
    To test it i manually put in oracle.soa.ext jar inside soa module in weblogic server.
    However i want to register it using java class using some API.
    Please help.

    Take a look at the following blog article:
    http://jamesmacesp.wordpress.com/2009/12/14/provisioning-sharepoint-sites-with-feature-receivers-part-1/
    Add your custom page normally using a module entry in the feature.  But apply it as the default welcome page using the event receiver.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • How to register User custom field using PHP?

    Hi!
    I am looking for a way to share user specific data between connected users. For example, all participants should know each other IDs(our own system IDs, not LCCS).
    User's custom fields looks the best solution for this, but I can't find a way to register one using PHP, while creating room.
    How to register User's  custom field using PHP? Or may be there are better solution to make such things?

    Got it, just need to add new node to UserManager collection.
    const USER_MANAGER_COLLECTION = 'UserManager';
    static private $USER_MANAGER_CUSTOM_FIELD_CONFIGURATION = array(
       'accessModel'=>self::ROLE_VIEWER,
       'publishModel'=>self::ROLE_VIEWER,
       'persistItems'=>true,
       'modifyAnyItem'=>false,
       'userDependentItems'=>true,
       'sessionDependentItems'=>false,
       'itemStorageScheme'=>self::STORAGE_SCHEME_MANUAL,
       'allowPrivateMessages'=>true,
       'lazySubscription'=>false,
       'p2pDataMessaging'=>false
    const USER_INVITE_ID_CUSTOM_FIELD = 'inviteId';
    static private function createUserManagerCustomFields($room){
       $account = self::init();
       $collection = self::USER_MANAGER_COLLECTION;
       $account->subscribeCollection($room, $collection);
       $account->createNode($room, $collection, self::USER_INVITE_ID_CUSTOM_FIELD, self::$USER_MANAGER_CUSTOM_FIELD_CONFIGURATION);

  • How to register a custom plsql code

    Hi
    i have wrritten a custom plsql code for my Overtime entries validation for payroll processing.
    Can any body tell me how to register it in application.
    Secondly i want to get the output file generated by report submission on my desktop.i want to know where the report output files for HR and payroll are stored so that i can get them through FTP.
    Regards

    if you want to integrate your plsql into a fast formula, please download the fast formula guide from metalink. Or ask your functional payroll consultant.
    All reports and processes in Oracle Apps are handled via concurrent programs and requests. When a concurrent request is finished, click on the output button, and depending from the filetype, your browser will take action.
    All concurrent output is also stored on the concurrent server. Ask your apps dba where she mapped the concurrent output directory. But i do not see why you should need this.

  • How do you programmatically register custom tags through the adminapi?

    Hello,
    I am not able to find much documentation out on the net on how to write codes to programmatically register custom tags through the adminapi (extensions.cfc). The only examples I have been seeing involve setting up datasources. Any advice you can provide is appreciated. Thanks.
    Best regards,
    C. Lee

    Short answer:
    The problem is that the login method is a bit goofy in that it requires the password first and the username second. Assuming you are using a valid password (and not the string "password" you are showing), reversing them should solve your problem.
    Long answer:
    As background for those interested, in order to call any method in any of the Admin API CFCs, one does have to log in programmatically, providing a valid CF Admin password, or password/username combination if you have enabled multiple user logins for the CF Admin. (Multiple user logins in the Admin is an optional feature since CF 8.)
    If one does not setup multiple user names, then you only need to pass a password to the login method (just as on the login page of the CF Admin). Technically, the default username in that case is "admin", and you can specify it if you want to, but again it has to be password then username, on this login method. (The Admin API was added in CF 7, before the multiple usernames feature was added, so it looks like they just added it as a new argument.)
    You can learn more about multiple user logins in the CF Admin (and an option to change or remove the default "admin" username) an Adobe DevCenter article linked to from http://www.carehart.org/articles/#2009_1.
    Note finally that the username/password field values are case-sensitive, even on Windows, and the default username really is "admin" not "Admin".
    This discussion of needing to login is documented on the page that Adam pointed to (see the "using" and "examples" sections of the page). There's even a comment from someone pointing out the need to put them in password/username order (because it's not mentioned in the docs). I also just added a comment there about the case sensitivity, either of which could bite someone. Let's hope they update the docs in the next release to clarify both these points.
    /charlie

  • How to Register OAF Custom Page on oracle application.

    can any one help me out in how to register OAF page in oracle application.

    By using AOL u need to create a Function eg. TestFunc with type as SSWA... and attach the page path as OA.jsp?page=/compName/oracle/apps/per/ijp/webui/TestPG
    After creating the function u need to create a menu and attach this TestFunc with the menu..

  • How to create custom adapter for Products and CommerceService

    Hi guys!
    First of all I wanted to say that I did search. Only relevant material I found was this http://dev.day.com/docs/en/cq/5-5/ecommerce/eCommerce-framework.html
    Unfortunately it doesn't go in details enough...
    I'm trying to follow geometrixx-outdoors example to create my shoppingCart. I have a list of of products in /etc/commerce/products.... referenced by productPage in content.
    But I don't know how to create custom CommerceProvider and Adapter to create proper Product objects - it always picks up geoProductImpl.
    As I understand I need to specify cq:commerceProvider to myProvider and then I need to somehow register MyProvider so it gets picked up.
    Also I guess I need to add MyProductAdapter somehow  so when shoppingCart executes following it returns my implementation instead of geoProductImpl.
    Product product = productResource.adaptTo(Product.class);
    I'd really appreciate if anyone could share an example or point me in the right direction for a guide.
    Cheers
    Kostya

    Hi Kostya,
        Look at this presentation recorded at http://dev.day.com/ddc/en/gems/commerce-framework.html
    Thanks,
    Sham

  • How to register cwui.ocx in Windows 7

    Hello, 
    I'm having trouble installing cwui.ocx (from Measurement Studio) in Windows 7. The software for our product was developed with Measurement Studio for Visual Basic V. 6. When I try to run it in Windows 7, I get the message "Can't load (or register) custom control cwui.ocx".  My software, including cwui.ocx, installs and runs correctly in Windows XP.
    SETUP.LST specifies the path as follows: 
    File21+1,,cwui.oc_,cwui.ocx,$(WinSysPath),,$(Shared),8/1/2001,2301952,66.0.3.589
    Any suggestions for a fix for Windows 7 would be appreciated.  
    Thanks,
    Richard 
    Solved!
    Go to Solution.

    pBerg wrote:
    Howdy Richard,
    I copied over the cwui.ocx (and its dependencies), from MStudio 8.1.2.143 to a machine with Windows 7 installed. I then manually tried registering the ActiveX control using Regsvr32.exe cwui.ocx. It failed with errors if I did not run the command prompt as an administrator; once I ran the command prompt as an administrator and then registered the ActiveX with administrative access, it registered properly. Thus, I believe this's a permissions issue.
    Confirm that you're running all of this with Administrative privileges (Windows 7 is very particular about its permissions for each program), and I bet that's the culprit.
    Hi
    I'm having the same problem with another *.ocx file. Could you tell me how I can check the its dependencies before copy pasting it?

  • How to register a report program ins EBS?

    HI,
    I made a new report program called APVOUCHER.rdf it is developed/tested/ and running on Reports 10g windows. Then I ftp it to my EBS R12 linux server. Then I put it under the base path of $AP_TOP/reports/us.
    Then I register it in EBS using this
    a) Define the concurrent program executable with the Oracle Application Object Library. This links the execution file and the method used to execute it with a defined concurrent program. Log into Applications as the System Administrator and navigate to Concurrent > Program > Executable
    b) Define the concurrent program with the Oracle Application Object Library along with any program parameters or any incompatibilities. Log into Applications as the System Administrator and navigate to
    Concurrent > Program > Define.
    But in the 2nd define the program APVOUCHER ca not me found in LOVs provided under region
    Excutable
    Name>
    Method>
    If I click LOV for Name the report name is not in there :(
    Anything I miss in here?
    Thanks a lot

    Hi,
    Before you define the report, navigate to Concurrent > Program > Executable and fill out the form as follows:
    Executable: <REPORT SHORT NAME> --> (Similar to the report name you have uploaded but without .rdf)
    Short Name: <REPORT SHORT NAME> --> (Same as above)
    Application: Payables
    Description: <Description>
    Execution Method: Oracle Reports
    For more details, please refer to:
    Note: 133991.1 - How to Register a Custom Report
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=133991.1
    Once you are done with the above, you need to add this concurrent program to the Request Group which is attached to your responsibility.
    - Login to System Administrator responsibility
    - Navigate to Security > Responsibility > Define
    - Query the Responsibility Name
    - Write down the Request Group
    - Navigate to Security > Responsibility > Request
    - Query the Request Group
    - Add the concurrent program
    You should be able to see the concurrent program from the responsibility then.
    Regards,
    Hussein

  • How to register a Printer In Apps

    I am trying To run the Report of Oracle Finanicle But
    it Gives The error Printer Inilization error
    Please Tell how to Register a Printer and What is style and drive Relation

    In addition :
    TEMPLATE.fmb should be used for creation of custom form for APPS, the form is located in $AU_TOP/forms/US. Also you need to copy the corresponsing pll that you want to use from $AU_TOP/resource.
    For more details please take alook at Oracle Application Developer's Guide :
    http://download-east.oracle.com/docs/cd/B25516_11/current/acrobat/115devg.pdf
    Please look at chapter 1 , page 17 and chapter 27, page 8.
    HTH

  • If my ipad was stolen, how to register my ipad for the stolen goods, and lock the hardware requirements?

    If my ipad was stolen, how to register my ipad for the stolen goods, and lock the hardware requirements?

    It's really disappointing as a newly converted Apple customer who has already had his iPad stolen, that Apple just sits back and let's this happen. 
    I've viewed a number of posts regarding stolen iPads.  Yes, I did have the "find my iPad" enabled.  That's how I knew when the iPad was gone for good.  It's a useless function in the case of theft because the thieves know how to hack into your iPad.  It disappeared from my list of devices in the "find my iPad" utility that very same day. 
    Apple loves the fact that their devices get stolen all the time!  That way they sell more of them.  Theft could easily be significantly reduced if Apple chose to give users a means to report stolen devices on the Apple site.  They choose not to do this.  If the black market for Apple devices was limited to hackers who know they have a stolen device, the items wouldn't be such a hot commodity!  Apple knows this... I guess they want to get their devices into as many households as they can.... Legally or not. 
    So for all you hard working folks out there, find a way to make sure your Apple products are secure because if they get stolen, you're out of luck.  Apple refuses to help when they could easily do so. 

Maybe you are looking for