How to communicate template and region

Hi,
I have template which contains create and commit button and department and employee form as region.. The page extends the Template.
How can i make use of those buttons for both the regions...
M using jdev 11.1.2.3
Thanks,
Nitesh

Hi Frank,
I have followed this below doc
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/79-global-template-button-strategy-360139.pdf
It is very useful..After implementing the interface, inside the create method i have used below code to create and insert new record.
BindingContainer bindings = (BindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
OperationBinding operationBinding = (OperationBinding)bindings.getOperationBinding("CreateInsert");
Object result = operationBinding.execute();
if (!operationBinding.getErrors().isEmpty())
FacesMessage fm = new FacesMessage(operationBinding.getErrors().get(0).toString());
fm.setSeverity(FacesMessage.SEVERITY_ERROR);
FacesContext context = FacesContext.getCurrentInstance();
context.addMessage(null, fm);
operation binding instance is throwing null pointer exception.. CreateInsert action method exist in page def file... What might be the issue,..??
Thanks,
nitesh

Similar Messages

  • Page Template and regions.

    Hello,
    Is it possible to put a Messages component in a page template and then to access it from pages which are using that template and from page fragments used in those pages? If so, how?
    Thanks.
    Edited by: Deniz Gulmez on 03.Kas.2009 04:00

    We do that by:
    Having a base managed bean that we bind template component:
    i.e.
    private HtmlMessages messages;
    public void setMessages(HtmlMessages messages) {
    this.messages = messages;
    public HtmlMessages getMessages() {
    return messages;
    then for the page or fragment managed bean we extend it from base managed bean.
    then we can access messages by supper.getMessages()

  • How can set a customized search results template and all users see it

    Hi all ,,,,
    I Added new costume template search result
    And when I added this template it’s added only for the user how created this template ,And I need all users see and use this template can anyone tell how I can add template for search result and all users see it or if I can do synchronies for this template.

    I wasn't able to understand what was meant by this post. Therefore, I modified the standard template HeadLine View.
    Columns for this template are defined in the include slim_search_result_table_header_setup (in std_page.htm).
    Here is the modification of the code:
    <$if customTemplateId and not (baseTemplateId like customTemplateId)$>
              <$columnsString = utGetValue("customlisttemplates/" & strLower(customTemplateId), "columns")$>          
              <!-- Modify START by Oracle-->
         <$else$>
    <!-- here add default fields -->
              <$columnsString="dDocName,dDocTitle,dInDate,dDocAuthor"$>
    <!-- here add your custom fields -->
              <$columnsString=columnsString&",xComment"$>
              <!-- Modify END by Oracle-->
         <$endif$>

  • Line and Region quardinate with jso object

    Hi
    How to get line and region quardinates from PDF document with jso object in vb.net, like jso.getPageNthWordQuads(pagenumber, wordindex) which returns the words quardinates.
    Please Help !!!!!!!!!!

    The Acrobat SDK is where we provide documentation, sample code and headers for writing plugins, JavaScript and COM/IAC applications to drive Adobe Acrobat and/or Reader.  There is nothing "functional" about the SDK - it supports Acrobat/Reader.
    So you need the headers to write a plugin and those come from the SDK.
    The Plugin APIs provide font, size, etc.

  • How to Create a Page LOV Template and a Region LOV Report Template in APEX

    Hi All,
    Thanks in advance ..
    I am new to APEX , Currently working in APEX 3.2
    Can any one please guide me How to Create a Page LOV Template and a Region LOV Report Template in APEX
    So that I can create dynamic Multi column LOV in APEX
    Cheers
    Sachin

    Sachin,
    I think you are en-quiring about 'Custom pop-up page'. See this link. You will get all required info there.
    Regards,
    Hari

  • I have an Editable Region in a template and want to remove it

    When I have an Editable Region in a template and want to
    remove it, and from all child-pages, what to do[mx 2004] ? The
    below code if is in logout.php how is get included in a file ?
    I use:
    <!--#include file="../customeradmin/logout_links.php"
    -->
    but isset($_SESSION["email"] does not working .... well ?
    [code]<?php
    if (isset($_SESSION["email"])) {
    ?>
    <link href="/css-styles.css" rel="stylesheet"
    type="text/css"><body class="text_normal">
    <span class="text_normal">LOGGED IN(<a
    class="text_normal"
    href="/php_files/logout.php">Customer-LogOut</a>)</span>  
    <?php
    ?><br />
    <?php
    if (isset($_SESSION["email-affiliates"])) {
    ?>
    LOGGED IN(<a class="text_normal"
    href="/php_files/affout.php">Affiliate-LogOut</a>)
    <?php
    ?>
    [/code]

    Click in the editable region in the Template file. Right
    click on the
    mmeditable tag you see on the tag selection and choose Remove
    Tag from the
    menu. Save the Template.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "123polis123" <[email protected]> wrote in
    message
    news:gf7pu8$p69$[email protected]..
    > When I have an Editable Region in a template and want to
    remove it, and
    > from
    > all child-pages, what to do[mx 2004] ? The below code if
    is in logout.php
    > how
    > is get included in a file ?
    >
    > I use:
    > <!--#include file="../customeradmin/logout_links.php"
    -->
    > but isset($_SESSION["email"] does not working .... well
    >
    > [code]<?php
    > if (isset($_SESSION["email"])) {
    > ?>
    > <link href="/css-styles.css" rel="stylesheet"
    type="text/css"><body
    > class="text_normal">
    > <span class="text_normal">LOGGED IN(<a
    class="text_normal"
    >
    href="/php_files/logout.php">Customer-LogOut</a>)</span>  
    > <?php
    > }
    > ?><br />
    > <?php
    > if (isset($_SESSION["email-affiliates"])) {
    > ?>
    > LOGGED IN(<a class="text_normal"
    >
    href="/php_files/affout.php">Affiliate-LogOut</a>)
    > <?php
    > }
    > ?>
    > [/code]
    >
    >
    >

  • How can I make a navbar in my template and have it editable so It can have an image in the down state on each page?

    I want to make a navbar in my template to base all my webpages on,
    but when I looked in Dreamweaver CS4 help the comments said navbars were obselete and that I should use swap image behavior.
    There was a tutorial linked about how to make the button stay in down position on each page but there was nothing written about how to do this when each page will be based on the template.
    I read somewhere that if i were to make the navbar in my template and set it as an editable region some of the stuff that would need to be changed to make the buttons in the down position on the pages made from the template would be outside of the editable region.

    Get DIVA GPS.   The Free version may be all you need.
    http://www.divahtml.com/products/divaGPS/current_menu_location.php
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • Region Attributes and Region Header on Tab Template. Apex 5

    All,
    In order to have my pages not scroll, but instead have a region scroll I would do an overflow on the region header and attributes in apex 4.
    When using this same method on a tab template, all of the reports within the tab templates get shown one after another.
    eg;
    region attribute......style="width:350px;height:758px;"
    region header..... <div style="overflow: auto; width: 350; height: 700px;">
    it does make the region scrollable, but the tabs stop working and instead are displayed one after another.
    Does anyone know of a fix / workaround?

    Hi gianpagi,
    gianpagi wrote:
    i would like to know how to have an horizontal scrollbar for an interactive report (5.0) after making a pivot from the user interface; i have a lot of columns and without the pivot the horizontal scrollbar appears . After it doesn't appear.
    I tried with the Region Header <div style="overflow:auto;"> and Region Footer </div>  but without success.
         Please mention the theme and template you are using for the Interactive Report.
         Can you re-produce the issue on apex.oracle.com and share the workspace credentials, so that can have closer look at the issue?
    Regards,
    Kiran

  • Tabs and Regions to match the Login, Alternative 1 template in Theme 2.

    All,
    In Theme 2 - Blue and Tan, there is a Template called 'Login, Alternative 2'. I would like to use this Template. I was wondering are there any Report Region and Tab Templates that have this same look to them. In particular the blue background with the white lettering. I used the Report Region templates but they have a different color background and blue letters. I would also like to have the tabs have this same look. Is this available anywhere?
    Thanks,
    Kim

    Earl,
    To answer your question, I was wondering if there was a theme built around this template. It has square corners with white writing on a blue title for the region. What I did was copy that template and rename it so I was able to reuse my new template for other regions. But now the region template that I created does not look right with the tabs that went with Theme 2. I looked at the style sheets but could not figure out what needed changing.
    For instance, I use Theme 2 which has blue and tan tabs and labels for the text items being tan also. It also has curved edges to the tabs as opposed to the straight edges that were on the Login, Alternative 2 region. Would I have to know how to design my own tabs to create tabs that have that same look to them. I was wondering if there is a Theme that someone may have created to go with that Login Region that I used?
    I think this really has more to do with the images that were used to make the tabs than with the style sheets. But thanks for giving it a try. It reassures me that I was on the right track by looking at the style sheets.
    Kim

  • Newsletter created and how to communicate it?

    Hello,
    I have created a Newsletter and have made a pdf to communicate with. Trouble is the photo quality is not too great even when using export.
    What are the best methods to communicate pages files? I would also like to include the Newsletter into an easily read e mail so would appriciate comments on both of this issues

    Carl
    I've attached my translations for the abracadabra website .pdf filters. The original French version may be more useful to you, but I edited the English translation to make it much clearer what it does and how to use it.
    Just follow the instructions. Basically what it does is add another option under the *Save as PDF* in your Print Dialog box.
    It is using ColorSync filters to then convert your file to a.pdf optimised for the particular application from as small as possible to as high a quality as possible.
    Whilst this will help create pdf files, these are not the ideal way to send Newsletters to a wide range of users.
    The reason is that you have no control over how the users open and view their email.
    In most cases they view only a small part of the email in a listed set of emails.
    Whilst Mac users happily see a pdf embedded in the body of an email, PC users typically will only see it as an attachment that they have to click on and open separately. So they have to make much more effort just to even see what it is all about.
    The solution is to use HTML newsletters which are much more widely viewable by users.
    This is not perfect because it requires users to check an option in their email client to use HTML and many clients block the images used in the email.
    So as per usual it is a bit of a mess and you will need to do considerably more work to try and cover all bases.
    This is a good site to look at how to create HTML newsletters which includes good quality free templates:
    http://www.campaignmonitor.com/
    Peter Breis
    THE ABRACADABRA TRANSLATION - THEY MAY HAVE USED THE ENGLISH I SUPPLIED
    [abracadabraPDF.net|http://abracadabraPDF.net>
    Automator Workflows
    Mac OS X PDF-Services pdf export settings
    Download the disk image:
    [ParamExportPDFosx.dmg|http://abracadabrapdf.net/download/ParamExportPDFosx.dmg?]
    (ParamPredefinisExportPDF_osx - 2.5 Mb .zip file)
    The .pdf export settings included in this file are:
    AbracadabraPDF-web.qfilter
    For use on the Internet or as email attachments (where smallest size is important)
    AbracadabraPDF-BAT.qfilter
    For general communication (high quality, medium size)
    +AbracadabraPDFX3-ISO.qfilter & AbracadabraPDF-prépresse CMJN.qfilter+
    For commercial offset or digital printing (where quality is more important than size).
    Installation:
    Copy the enclosed ~.qfilter files into the PDF Services folder (User / Library / PDF Services).
    If you do not know what the PDF Services are, read:
    http://abracadabrapdf.net/articles.php?lng=fr&pg=32
    The .qfilter files can be changed with Applications / Utilities / Colorsync Utility
    [Find other .pdf conversion settings for Adobe Creative Suite here.|http://abracadabrapdf.net/articles.php?lng=fr&pg=335]
    These .pdf export settings for PDF Services in Mac OSX 10.4, 10.5 & 10.6 are distributed by abracadabraPDF.net and freely customizable.

  • I want to download an invoice template. How can I then fill in the template and place in a file?

    I want to download a template of an invoice. How can I then fill in the template and create a separate file?

    template in Word format? Excel? PDF? a little more information please.

  • I have Pages 09.  I have created custom templates and want to delete them.  How do I delete a template I have created in Pages 09?

    I have Pages 09.  I have created custom templates and want to delete them.  How do I delete a template I have created in Pages 09?

    Pages stores those you created & saved as templates in (your account) > Library > Application Support > iWork > Pages > Templates > My Templates. The door to the user's Library is hidden in Lion but it is easy to open. In Finder, hold down the Option key while clicking on the Go menu & your users Library will appear about halfway down the list.

  • How to modify a template and use both old/new in the same library without interference

    OK first Thank you for reading this and hopefully being able to help me out. I got dumped this project on my desk to update two different templates already published in
    share point(2010) years ago. The original developer left the company 4 years ago. Since then anyone that tried to do anything with them made a big mess. I have done some heavy reading and am stuck on few issues.
    Please note the templates were created IP 2007 and I will be using IP 2007 to modify them. The temples have a small amount of C# that does not have to be changed. There is also a digital signature linked to them.
    After some heavy reading this week. I figured that I need to edit the template from Share point(2010)/IP(2007) and not copy the templates to a different location laptop/desktop
    because that will ruin the digital signature. There is also a large volume of submitted forms from these temples. The new version of the temples will be heavily modified deleting rolls columns changing names. My understanding is that since I want to keep the
    old submitted forms the way they are and still use the old template to open them. I would need a second version of the original template with all the visual modification to still use the original template's C# digital signatures and any other file that runs
    in the background.
    The plan:
    1)Turn off the automatic update to forms/template when a new version of the template is created.
    2) Copy the existing template (.xsn) file to a new document folder in share point(same network).
    3) Change the name of the .XSN file that I copied and modify it??????????? Will keeping the same name interfere with the old template/C# digital signature ect? I would like to change to something like SameName_version_2015 for example. or will changing the
    name cut the link to the old C# digital signature? or will it get modify the background files and break the old template/submitted files.
    4) Publish the new template in share point.
    5) Change the data connection to a new directory that I wish to submit all files.
    Please advice am I missing anything? and help me understand my step 3 better. Also I would love to get a better understanding of how i can backup and recover everything. Do I simple copy unmodified .XSN files somewhere and publish them if things goes wrong?
    Do I need to backup anything else?
    I am open to options if I can create a test folder in the share point for safety.
    Once again THANK YOU for trying to help.

    Hi, thanks for the reply!
    Just to follow up for what we did to disable the delete function for maintaining table records. We hided the Delete button by adding a "MODULE disable_delete" code in Screen Painter. So now only adding records to the table is allowed.
    Thanks,
    Jenny

  • How to create a template and child pages using mockup designed in Fireworks

    I have created a website in Fireworks, and exported it to use in Dreamweaver.  How do I use the Master page in Fireworks as my template page in Dreamweaver?  When I bring in the .htm files from fireworks, it tries to bring in the entire page.  I have taken 25 hours of online training for Fireworks and Dreamweaver through Lynda.com, but there is not a specific video that tells you how to get your website from Fireworks into Dreamweaver if you want to utilize the Template and child page features.

    Use Fireworks to crop, slice and optimize images only.  DO NOT allow any graphics app to generate your HTML code for you.  This results in poorly formed code and rigid layouts that invariably fall apart when you attempt to edit them in DW.  Fireworks / Photoshop generated pages are for quick prototypes or design comps to show the client.  They do not work well on production sites.
    Taking a Fireworks comp to a CSS Layout in DW
    Part 1 - Initial Design
    http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt1.html
    Part 2 - Markup preparation
    http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt2.html
    Part 3 - Layout and CSS
    http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt3.html
    DWT Template Basics -
    http://forums.adobe.com/message/2926278#2926278
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • I no longer have access to system folders that allow me to remove old or incorrect PAGES templates. Need to find out how to do that. The only way I can do it now is to blank the template and replace the bad template with a blank.

    I no longer have access to system folders that allow me to remove old or incorrect PAGES templates. Need to find out how to do that. The only way I can do it now is to blank the template and replace the unwanted template with a blank. It was previously possible to go to MY TEMPLATES and remove the unwanted templates. I don't if this issue is before or since installation of 10.8 (a nightmare in my case, which led to significant failure issues).  And because I haven't tried to remove templates since finally managing to install 10.8 (now at 10.8.4), I don't know if this is typical of the newer OS or a problem. I've been a Mac user for more than 25 years, but I think I'm nearing the end of the road. By the way, I've never needed to do this before because the manuals always offered an answer... they don't seem to do that anymore. In any case, I don't know how this works... I'd prefer an email reply if that's possible. But that would probably be too easy, and I don't know how to get a reply.

    Thanks, I appreciate the help.  I think this is one of the problems Apple is creating by changing the OS so often. I had fomer colleagues at [a major aerospace contractor] who told me that so many original files were ultimately lost because of the deadly change in the "Save As" operation that they are now afraid of every OS update. Apple has badly damaged their support base with that very prominent company (they won't update now until they've fully examined and understand changes in the pre-conditioned nature of OS computer functions), and they are a whole lot less enthaled with Mac-related equipment/software. Can't blame them, I too used orginal files that way (as easy-to-use templates), and lost some important files before I realized what was happening (to late to revert). Companies should not have to retrain employees each time an OS gets an update, it's can be very expensive several different ways. They learned a painful lesson with that one. And because I'm now retired and don't use multiple devices, I need iCloud like I need a hole in the head... but I'm told there's no way to keep Apple out of my computer. Fortunately, because of major problems when initially installing Mountain Lion, one hold-over of the hardware/software damage I experienced was that iCloud can no longer access my computer even though everything else is working fine again. That was the only "good luck" I had as a result of that expensive nightmare.

Maybe you are looking for

  • How to sync the N900 calendars with the computer?

    Good evening everyone, I am a user of the N900 since February 2010 and it's my favorite phone of all the phones that i ever had. I really enjoy every second when i use it However, I have a "little" trouble now. The touchscreen doesn't respond normall

  • Max Authorization Rules in ISE

    Just curious if anyone knew the max number of authorization rules you can have in an ISE deployment? Sent from Cisco Technical Support iPad App

  • Is there a MiniDisplayPort to ThunderBolt connecter?

    I have two older Apple LCD displays that I had connected to a MacMini 2009 (by MiniDisplayPorts). I now have a brand new MacBook Pro with two 2nd generation Thunderbolt ports. Is there such a thing as MiniDisplayport to Thunderbolt connecter?

  • Transfering iPhone movies to iTunes on my PC

    I bought a movie through iTunes via my iPhone. Now, I want to put the movie onto my computer and into iTunes. When I have my iPhone connected to my PC and hit the "Sync Movies" check box in the movies tab, a box appears and says, "Are you sure you wa

  • WM: Pick HU (=SU) during TO confirmation

    Hello, I have a question regarding TO confirmation. The requirement is to allow the fork lift driver to pick any HU(=SU) in the storage bin during TO confirmation. The storage BINs have put away strategy Bulk Storage. The system is Full WM u2013 HU m