How to create a region of the header programmatically?

Hi all,
can someone tell me how to create a region of the header programmatically (without using the Properties window).
I used this code

OAHeaderBean assocmpnybean = (OAHeaderBean) webBean.findChildRecursive ("NameHdrRN");

After, I checked this object (assocmpnybean) it shows null...

How to create a region of the header programmatically? Someone knows it please let me know... Its urgent...

Thanks in advance

Concerning
Fabrice

Hello

Use this code...

OAHeaderBean Bean = (OAHeaderBean) createWebBean (pageContext, HEADER_BEAN);
Page OAPageLayoutBean = (OAPageLayoutBean) pageContext.getPageLayoutBean ();
page.addIndexedChild (Bean);

Thank you
Gerard

Tags: Oracle Applications

Similar Questions

  • How to create a '. '. The URL file"of a Web page I visit

    How to create a '. '. The URL file"of a Web page I visit

    Check these

    deskCut {web link}
    This extension adds desktop shortcut creation for the
    context menu for Windows, Linux and Mac.

    My CopyFixer {web link}
    Use Ctrl + C when nothing selected to copy the page title and the url in
    various (base model) format.

    Send the URL of the tab {web link}
    Send a list of URLS tab browser to email, webmail or the Clipboard

  • How to create a link on the web to use in an e-mail?

    I don't know how to create a link on the web that I can put in the e-mail addresses. Could you help me please? I know it must be very simple, because thousands of others do regularly. Thank you.

    Katy Anderson

    You can use file-> Send link or copy the web address of the address bar and paste it into an email.

    You are using an older version of Firefox (3.0.7) - you need to update as soon as possible

  • How to create a button like the one pictured here

    How to create a button in the button "print" below?

    I was actually thinking of doing it two separate buttons placed side by side. The "print" button, of course would be just updated the Boolean value, that is easy. But the drop down menu is a bit more difficult. I tell myself that I could customize a drop down, but because I was not able to play with it in LabVIEW (don't have it at home) I don't know if you can change the alignment of the drop-down box actually etc. The decline is down to the location of the box and look like something you can change in the control editor?

    I guess I could also use correct .net? But I'll try to keep it all with just control editing in LabVIEW if possible. Thank you.

    for (imstuck).

    I use a listbox multicolumn and toggle visibility is when the user clicks the button.  I've attached an example:

    ~ Simon

  • How to create an ERD for the vista sp2 x 64?

    How to create an ERD for the vista sp2 x 64?

    How to create an ERD for the vista sp2 x 64?

    If you do not have a Microsoft Vista DVD, make a repair disc to do a Startup Repair:

    Download the ISO on the link provided and make a record of repair time it starts.

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu.

    When you have changed that, insert the Bootable disk you did in the drive and reboot.

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    Link above shows what the process looks like and a manual, it load the repair options.

    NeoSmart containing the content of the Windows Vista DVD 'Recovery Centre', as we refer to him. It cannot be used to install or reinstall Windows Vista, and is just a Windows PE interface to recovering your PC. Technically, we could re-create this installation with downloadable media media freely from Microsoft (namely the Microsoft WAIK, several gigabyte download); but it is pretty darn decent of Microsoft to present Windows users who might not be able to create such a thing on their own.

    Read all the info on the website on how to create and use:

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    ISO Burner: http://www.snapfiles.com/get/active-isoburner.html

    It's a very good Vista startup repair disk.

    You can do a system restart tool, system, etc it restore.

    It is NOT a disc of resettlement.

    Make sure you get the 64 bit version.

    See you soon. Mick Murphy - Microsoft partner

  • How to create an association in the Set associations Control Panel?

    When I try to open attachments to emails that have pps file it is said, this file does not have a program associated with it for performing this action. Create an association in the Set associations Control Panel. How to create an association in the Set associations Control Panel?

    1: If you do not PowerPiont or PowerPoint Viewer, you need at least the Viewer.

    PowerPoint 2007 Viewer:
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=048DC840-14E1-467D-8DCA-19D2A8FD7485&displaylang=en

    2: create a file association.

    1. download and save the attachment to the office.
    2. right click on the saved file.
    3. Select: Open with on the shortcut menu.
    4. click on: choose [default] program.
    5 PowerPiont select: (Or PPViewer).
    6. check: always use the selected program to open this type of file.
    7. click on OK.

    3: Edit the registry here if necessary.

    Cannot open. PPS directly from Windows Mail or Windows Live Mail attachments
    http://www.Winhelponline.com/articles/149/1/Unable-to-open-PPS-attachments-directly-from-Windows-mail-in-Windows-Vista.html

    Bruce Hagen ~ MS - MVP [Mail]

  • How to create IT strategy using the BES administrator API

    Hi all

    Can tell me, how to create IT strategy using the BES administrator API.

    Please provide me with the code example.

    Thanks in advance.

    Kind regards

    Sampath

    Hi Sebastian,.

    The Administration of BlackBerry API does not support the creation of it political. This feature is currently with the development of control and review for a future version of the BlackBerry Web Services for the Administration of the company.

    Kind regards

  • How to create an autohide like the android player actionbar

    How to create an actionbar as the android player, auto-hide after a few seconds and use the gesture to bring back.

    xhotkey wrote:

    How to create an actionbar as the android player, auto-hide after a few seconds and use the gesture to bring back.

    no out-of-the-box

    I have a problem some time ago:

    https://www.BlackBerry.com/jira/browse/BBTEN-196

    You can vote

    in the meantime you can do it by yourself:

    https://github.com/EKKE/snippet-Cascades-hide-ActionBar

    and video

    http://Vimeo.com/ekkescorner/Cascades-hide-ActionBar

  • How to create a password for the user account for my child?

    How to create a password for the user account for my child?

    You can create the user with the parental control account. This will act as a protection for the child's account.

    You can take a look at the following links on setting up parental controls:

    http://Windows.Microsoft.com/en-us/Windows/set-up-family-safety#set-up-family-safety=Windows-7

    http://Windows.Microsoft.com/en-us/Windows/set-parental-controls#1TC=Windows-7

    http://www.howtogeek.com/HOWTO/10524/how-to-use-parental-controls-in-Windows-7/

  • Error when you try to create a region of the page generated by the anonymous pl/sql block

    Hi guys I tried to create a region of the page which is the source and anonymous pl/sql block and I have been making a few mistakes. Basically what I want this region to do, is to give the current user of the application one summarized data compared to there user name which is: app_user the code I used was

    declare

    ven_ret varchar2 (15);

    BEGIN

    ven_ret: = (select u.vendor of USERS4ARCHITEC u )


    where

    u.e_mail = V ('APP_USER')

    and not exists (select null from arch_tbl I where u.vendor = i.vendor and user_id = V ('APP_USER'))

    order u.vendor in ven_ret);

    END;

    /

    the structure of the table to the USERS4ARCHITEC table is

    User varchar2 (15) vendor2 (20)

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

    user@1                                                                          sap

    user@1                                                                          oracle

    user@1                                                                           IBM                                                            <---------sample data

    user@2                                                                          Oracle

    user@2                                                                          cisco

    the structure of the table to the arch_tbl table is

    user                                                     vendor

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

    user@1                                                 sap

    So if user@1 logs in the application of the region using the pl/sql code code above should display oracle and IBM, because these two sellers are always under his username that he has already used a form to insert the sap into the arch_tbl table. Please tell me what I'm doing wrong here. Thank you guys

    Why would you build a type psedu at APEX report MANUALLY when you can just build a relationship with the same selection you use now for your pl/sql dynamic region?  What is the purpose of building your own report when the tool made for you?

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • How to create a password for the pdf file

    The Adore Acrobat XI, how to create a password for the file? Aid says going to the Tools Menu and clicking on the Protection tab - but there is no option. In the security file - properties - screen, it shows the security details but doesn't allow for no change.

    I think you can be mixing two different products: (free) Adobe Reader and Acrobat ($$).

  • How to create a keyline around the perimeter of the document

    Hey guys,.

    I am trying to create a keyline around the document instead of using the brand culture. I would like to automate this task for each document for any size I create. Does anyone tried to implement an applescript for this?

    I found a bunch of script on how to create a line for the text block, but I don't know how to create a black line in the size of my work plan... Help me please!

    Thank you

    Is - it ask you?

    var doc = app.activeDocument, pages = doc.pages,
    width = doc.documentPreferences.pageWidth, height = doc.documentPreferences.pageHeight,
    oldRO = doc.viewPreferences.rulerOrigin;
    doc.viewPreferences.rulerOrigin = RulerOrigin.PAGE_ORIGIN; 
    
    for(var i=pages.length-1;i>=0;i--)
    {
            var txfm = pages[i].textFrames.add();
            txfm.strokeWeight = 1;
            txfm.strokeType = "Solid";
            txfm.geometricBounds = [0,0,height,width];
        }
    doc.viewPreferences.rulerOrigin = oldRO;
    

    Kind regards

    Cognet

  • How to create a DataControl from the Java file

    How to create a data from the Java file control

    Hello
    Try like that after the example, you will get the answer

    1. Create Page.java

    public class {Page}
    private String pageName;
    private String pageAction;
    public Page() {}
    Super();
    }

    public Page (pageName, pageAction String String) {}
    Super();
    this.pageName = name of the page;
    this.pageAction = pageAction;
    }

    {} public void setPageName (String pageName)
    this.pageName = name of the page;
    }

    public String getPageName() {}
    Returns the name of the page;
    }

    {} public void setPageAction (String pageAction)
    this.pageAction = pageAction;
    }

    public String getPageAction() {}
    pageAction return;
    }
    }

    2. create PageList.java

    import java.util.ArrayList;
    import java.util.List;

    public class PageList {}

    private pages = new() ArrayList list;

    public PageList() {}
    Super();
    pages. Add (New Page ("Page title 1", "page 1"));
    pages. Add (New Page ("Page title 1", "page 1"));
    pages. Add (New Page ("Page title 1", "page 1"));
    pages. Add (New Page ("Page title 1", "page 1"));
    pages. Add (New Page ("Page title 1", "page 1"));
    }

    public void setPages (list of pages ) {}
    This.pages = pages;
    }

    public {list getPages()
    return pages;
    }
    }

    3. right click in the PageList.java and choose CreateDataControl

    then refresh the DataControl and focus on which a DataControl as PAgeList will be created

    Kind regards
    Felix

  • How to create line breaks in the argument cftextarea, format = flash

    I use < cfform format = "flash" >, and I can't understand how to create a linebreak in the form argument cftextarea control. For example, in the following code, I would display "item1", "item2" and "item3" on separate lines. I'm new to cfform and flash tags, so any help would be greatly appreciated!

    < name of the argument cftextarea = "impacted_systems."
    label = "affected systems.
    ReadOnly = 'yes '.
    height = "24".
    Width = "300".
    Wrap = "virtual" > < cfoutput > topic 1, item2, item3 < / cfoutput > < / argument cftextarea >

    Try #chr (13) # between your objects


    label = "affected systems.
    ReadOnly = 'yes '.
    height = "48".
    Width = "300".
    Wrap = "virtual" >item 1, #chr (13) #item2, #chr #item3 (13)

  • How to create Mulitple tab in the Page

    Dear all,
    How to create Mulitple tab in the Page (UI)

    One way is to download the OA Framework Metalink Dev guide. You can also navigate to Jdevdoc (under your Jdev installation) and find the index.html file. There you have the reference to the Dev Guide. You can get the right information here too.

    Concerning
    Sumit

Maybe you are looking for

  • Do I need Internet Explorer security updates if I use Firefox?

    Hello! I can't find an answer to this question via a Google search, so I ask you here please. I use Windows 7 and see a lot of regular updates to Internet Explorer during installation. But I never use Internet Explorer, I only use Firefox. So I wante

  • Satellite C660D-155 - Windows 7 does not open

    I can't the laptop to open, as I get an error message that a USB or storage device is removed while the laptop was still running. It seems that an Internet Dongle is removed before closing. I get a message error 0xc00000e9 IO. The system suggests to

  • Why do I get error 200428 executable?

    I had a NOR-DAQ application correctly by using a project under development LabVIEW 8.6 and 8.8 NOR-DAQ.  When I use the same exact project to build the executable on the same PC, I get error 200428 - "measures: value passed to the control task/channe

  • Cannot install my HP 3050 printer in my house netwerk

    I can 't my printer HP 3060 enter my house netwerk

  • Changing colors of tabs

    Can you tell me how to change the colors on my tabs.  The color I have is very dark and I want to make them darker.  The color also appears in the bookmarks bar.