SUBMIT ONLY IN A REGION

Hi everyone!
I have 2 regions in one page
One of them is a form for update,create and delete one table , the other region is only for create to another table.
The second region has a button which try to call a process for creating a new element in the table. I said try because the action of the button do nothing.
The first region works good updates, creates and deletes. The problem is the second region. when I click in the button do nothing.
The button is a simple submit, the process that must creates the element is a simple insert for a table.
In the conditional processing of the process has set the ADD (button name) in the part of When Button Pressed (Process After Submit When this Button is Pressed).
I want to know how to do submit for a region?
If I separete the second region in other page it works good.
Could you help me with this problem?
How and what do I must do?
Regards

Not sure if this is will work but make sure the request for the button is different from the other buttons.

Similar Messages

  • Region Submit Only

    How can i only submit the region on a page but not the page.
    Thanks in advace.
    Mazahir Abbas

    You could make any computations, validations and processes associated with processing the form conditional on a button/request value that is specific to the form region, i.e. create a form-specific submit button.
    This stops any processing occurring on the form, e.g. any DML that inserts or updates into a database table will not occur, but any changed form values will be saved to session state when the report parameters are submitted. If this is not what you want then the alternative approach is to create a dynamic action that only refreshes the report region.

  • Client side validation with submit button in another region

    Hi,
    I have two regions, one containing a form with input texts for the user to fill in, and another region with a command button. A few of the input fields use the ADF "required" validator.
    My problem is that when I click the submit button, and it does some logic to commit the form to a data base, even if the validator triggers and says that one of the required fields is empty, all the other fields get committed, except the ones that are empty. They get the last valid value.
    What I want is the button to trigger the ADF message that doesn't allow the user to continue with the update. This doesn't happen though.
    Anyone have any ideas? If you need a more thorough explanation, please let me know.

    Regions work as indipendent pages.
    Yet if submit buttons are partialSubmit="false" then both regions (pages are submited).
    Still there is a bug when commiting data:
    [http://adfbugs.blogspot.com/2009/08/page-with-region-validations-bug.html]

  • [ER] Partial submit (PPR) propagation from Region to Parent

    Hi!
    I would suggest to enable propagation of partial submits (PPR trigers) from Regions to parent page. New Parent Action element in taskflows enables propagation of navigation actions so similar propagation of PPR should be very neat feature.
    Regards,
    PaKo

    Frank,
    thank you for info. The blog is very helpful.
    Still, I would encourage devs to rethink on some more declarative support for PPR propagation. With ADFc powerful region and taskflow management, the PPR isolation is very limiting or, better to say, introduces additional programming (thus lowering productivity) in order to achieve cross-region UI logic interaction.
    Thanks for consideration!
    Regards,
    Pavle

  • Can you have different versions of an app that you develop and submit, based on geographic region?

    For instance an app in Europe having slightly different functionality than in America or the rest of the world? The reason being that parts of my app if used in Europe would require consent from the user (sending emails and such), whereas the same rules do not apply elsewhere. I do not eant to prompt for consent in regions where it is not necessary.

    Apps & content are country-specific. So the developers do have a right to change the functionality if they wish.
    But you may wish to check with the developer for support as the issue may be someting else.

  • A region with borders only no title or title bar

    Hello Expert,
    I am trying to create just a border around the region, In essence a region with just border and no title or title bar. There is no simple approach available for this option. Can anybody shed some light on this matter.
    APEX Version : 4.1.0.00.32
    Theme : Builder Blue 2 (I guess it is theme 2 in the APEX)
    I tried various option utilizing border-less region template, report region, report region without title, No Template etc. along with following CSS style code, which I added into header section of the Page.
    This option creates border on top of the region elements but do not cover the region elements like items, that also only in template with no button or titles
    <style type="text/css">
    #CRR {border-style:solid; -- CRR is a static ID for the region
    border-width:1px;}
    </style>
    I also tried creating a template with new region and removed the title class and button class, which created a region without border but there is no line on the top only on the sides, which looked so weird. I am not sure what is the right solution, but a solution with new region template which only creates border and no title and title bar is good.
    Kindly please let me know an approach if anybody is aware.
    Thanks,
    CP

    Hi,
    That is certainly helpful as it does create the border, however the border is created for two regions.
    I have total four regions. At the top is breadcrumb region, below that is Report region displaying basic details. The third region is a list region waith navigation tab only and it is borderless region. The fourth regions has all the form items for which I wan the border only. With your suggestion, I am able get the border but it is now covering both region 3 and 4. I just want only on 4th region. The foruth region template I modified to "Region without button and titles" the way you suggested.
    The Region 3 and Region 4 has same class .bl-body, hjowever I didn't put any static id to region 3. I tried with naming the static id in region 3 with different name, but that didn't change anything.
    Ideally I would prefer a new region template so I can use it for multiple pages.
    Here is what I did,
    Opened shared components in the application, selected templates link. Copied a specific template (Report Region) as a new template and in the definition where there is a code, I removed few lines of code. which is follwowing
    Removed Code
    <div class="rc-blue-top"><div class="rc-blue-top-r">
    <div class="rc-title">#TITLE#</div>
    <div class="rc-buttons">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</div>
    </div></div>
    this removed the title and those buttons, but the border was only to left , right and bottom and there was gray backgroud.
    Full Code
    <div class="rounded-corner-region" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>
    <div class="rc-blue-top"><div class="rc-blue-top-r">
    <div class="rc-title">#TITLE#</div>
    <!-- <div class="rc-buttons">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</div>
    </div></div>
    <div class="rc-body"><div class="rc-body-r"><div class="rc-content-main">#BODY#</div></div></div>
    <div class="rc-bottom"><div class="rc-bottom-r"></div></div>
    </div>
    Thanks for the previous input.
    Further help is highly appreciated.
    Thanks,
    --CP                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Fussy DVD Player; will play Region 0 but plays Region 1 only occasionally.

    DVD player has been freezing more of late but I have blamed that on library usage and mishandling of DVDs up to now. Now the problem has worsened to the point that most of the time commercial mainstream movies DVDs (region 1) will not play.
    The flat 17" iMac has always been set on Region 1 and never been changed. I used a Region 2 disc just to see if it was recognized like my Region 0, which it was. I have not switched the 17' iMac from Region 1. Apparently commercially produced Region 1 DVDs are more demanding. I upgraded to OS 10.4.11 and the problem remains. However sometimes a Region 1 DVD will play after frequent tries. My thinking is that this may be a hardware issue, like the laser is dirty or faulty, maybe firmware, but not a software one. The 17 " iMac is now five years old and the DVD player has been in use everyday.
    Why the difference in playback between Region 0 and Region 1? How come it will recognize a Region 2 disc but only rarely a Region 1? Has anyone else had a similar problem and resolved it? Any suggestions on how to fix a dirty or faulty laser? Is there a firmware fix?
    C.J. Beck

    You don't say where you are, but I suspect it is the USA?
    Your DVD Player is set for the region where you purchased your Mac. Region 1 is the USA, Region 2 is Europe. (Region 0 is non-regional, for the DVDs you make yourself, and has no effect on the following).
    You can only change that setting up to five times, after which it is carved in stone for all eternity, as it is embedded in the firmware of your Superdrive. There is no hack for making a Mac multi-regional like there is for stand-alone DVD players.
    If you want to play DVDs from a different region to your own, use your stand-alone DVD player and TV, not the Mac!

  • Export only specific data in XML with Submit by Email button

    I have created a form with multiple subforms that includes user input and calculations. One of these subforms contains fields that are bound to a MS Access database to retrieve data for calculations. All of the fields on this subform are bound to the data connection. The data connection, calculations, and submit by email button all work perfectly. My only problem is that the XML data that is being exported includes the data I bound to the MS Access database. I only want the data that the user inputs. I have changed the binding to "none" on all of the calculated fields to restrict them from exporting.
    I have attached a copy of the XML file that is generated when the "Submit by Email" button is clicked. I only want the data from the "YTDIncStmt" subform to be included in this file. The "MasterData10K1", "MasterData10K2", and "MasterData10K3" are the actual data connections to the MS Access database.
    How do I limit the export to only the data the user input?

    I have the very same problem! I am importing data from MS Access and trying to export XML data that I can sync with Quickbooks. But the XML file contains some of my binded MS Access fields, which Quickbooks doesn't know what to do with, and rejects my xml files. I am also looking for a way to submit only selected XML data.  You ever find a solution/work around?

  • Can only change dvd player region 5 times? (idvd player)

    me my dad both got computers. I put a dvd in it said it was the wrong region code. then i looked it up on help and it says you can only change the region 5 times. We (the united states) are in region 1 but my dad has some japanese (region 2) discs he wants to play. why can you only change the region 5 times?????????????????

    Region encoding is what the motion picture studios use to control the worldwide release of their movies. Apple limits the region change / settings to 5 times. The only way around this is to install a new motherboard....sorry.
    http://docs.info.apple.com/article.html?artnum=60183
    Hope this info is Helpful.

  • How to refresh only relevant region on apex

    I have a page on apex which includes 3 chart region.
    Only one region can take parameter from select list and after run button clicked,whole page is resubmitted.
    I need to refresh only relevant chart region not the whole page,because other two region does not need to be refreshed.

    Hi,
    You should read some article about "using AJAX in APEX". (search the forum)
    With AJAX you will be able to do what you want.
    Louis-Guillaume
    Homepage : http://www.insum.ca
    InSum Solutions' blog : http://insum-apex.blogspot.com

  • Only Change the DVD Player regions 5 times!?

    Really, is Apple so cheap that it thinks that is relevant?  I travel, I am an NGO, so I could change regions continuously but I am restricted on my Apple to five region changes.  Five!  I have now moved to Europe and cannot use the DVD player because I have changed it five times previously, yet i can buy a PC or a travel DVD player that will play any and all DVDs.  I now have a useless piece of software on my computer and a have to carry another DVD player because Apple are ******* ******.  I actually like Apple but this is ******* me off.  Maybe its time to look at the competition...

    neilfromwashington wrote:
    I have changed it five times previously
    And each time you were warned that, "You can change the region code of a DVD drive only five times (including the original setting); the fifth setting is permanent", weren't you?
    Maybe its time to look at the competition
    Definitely. And please do share the results.
    Below is an excerpt from my Fujitsu Lifebook user guide (capitalisation and stress is theirs):
    • ALL LIFEBOOK DVD PLAYERS ARE SET TO PLAY DVD TITLES WITH REGION CODE NUMBER 1 WHICH IS SPECIFIED FOR THE NORTH AMERICAN MARKET. THE REGION NUMBER IS A REGIONAL RESTRICTION CODE DEFINED BY THE DVD FORUM ACTING ON HOLLYWOOD REQUIREMENTS. DIFFERENT REGION CODES ARE RECORDED ON VIDEO DVD TITLES FOR PUBLICATION IN DIFFERENT AREAS OF THE WORLD. IF THE REGIONAL CODE OF THE DVD PLAYER DOES NOT MATCH THE REGIONAL CODES ON THE TITLES, THEN PLAYBACK IS IMPOSSIBLE.
    • YOU CAN CHANGE THE REGION CODE ON THE DVD PLAYER USING THE PROPERTIES MENU OF THE DVD SOFTWARE. NOTE, HOWEVER, THAT YOU CAN ONLY CHANGE THE REGION CODE UP TO FOUR TIMES. AFTER THE 4TH CHANGE, THE LAST CODE ENTERED BECOMES PERMANENT, AND CANNOT BE CHANGED.

  • Region Shaded in the Structure Viewer

    Hi all,
    I am starting with the OA framework and I am confused as the way to proceed to do some modifications. I am working on the application EAM on the specific page EAM_EW_START_PAGE. On that page, a button was added using personilization its use is to launch a custom report. Now i am trying to add the button from here and attach it a custom logic so we can save some steps in the production of the report.
    My questions are the main region of the page is shaded like it is in a read only state (the region is WOSearchResultsRG) I am wondering is it due to the fact that a personalization was done on it or another reason which i don't know?
    And where are the modification saved in personalization saved?
    Best Regards,
    Carl

    So you want a button, the click of which would complete all the seven steps and submit the report.
    Frankly you need a submitButton and not a button because you need to handle the event and invoke the methods in the AM. So I would suggest to create a submit button dynamically in your processRequest. Thereafter you can handle this button click in the processFormRequest.
    Please find the following snippet to get some idea:
    ProcessRequest:
    //Get the handle of the region where you want to create the submit button first
    OAFlowLayoutBean tableFlowBean = (OAFlowLayoutBean) webBean.findChildRecursive("<BeanName>");
    if(tableFlowBean!=null)
    //Create the button now
    OASubmitButtonBean subBtnBean = (OASubmitButtonBean)createWebBean(pageContext,OAWebBeanConstants.BUTTON_SUBMIT_BEAN,null,null);
    if(subBtnBean!=null)
    //Set the Properties now
    subBtnBean.setText("<Prompt>");
    subBtnBean.setFireActionForSubmit("<someEventName>",null,null,true);
    ProcessFormRequest:
    if("<someEventName>".equals(pageContext.getParameter("event")))
    ///Logic to invoke all the seven steps.
    }

  • Best practice for conditional region display

    I feel like I'm missing something here...
    What's the easiest way to control display of a region only if the user has submitted that same page via a button?
    For example, I only want to display a search results region if the user has entered search criteria and pressed a "Search" button.
    Currently, I'm setting a hidden item value on page submission, and only displaying the region if the hidden item value = "SEARCH".
    Is there a better way?

    After click the Search button (Item Name = SEARCH),
    debug mode shows the following at the start of the SHOW:When you submit the page by clicking the button, the REQUEST will be set to the button name during accept procesing, not during the subsequent show processing (the request value for the latter can be passed in via the same-page branch you have defined)
    To verify this, create a dummy after-submit PL/SQL process with NULL; and a Success Message of "Fired", make it conditional upon REQUEST=SEARCH and make sure your branch has the 'Show process success message' checkbox checked.
    Now when you click the Search button, the page should re-display with the Fired success message.

  • How do I keep Hide / Show Region open

    Hi,
    I have a page with one region based on a hide/show template. The current behaviour on a page submit is that the region always hides.
    I'd like it so that if the user opens the region that it will remain open after the page refreshes.
    Thanks,
    Brian

    This is a hack so I wouldn't count on it, but it worked for me (in variation, I needed a bit different thing). And, remind you, it only holds one of them open for a page (my logic is, that when they are hidden no more than one should be open at once).
    1) the page should have an item that holds the information - I'll call it OPEN_REGION. I am knowingly ignoring the usual Pn_ naming convention so all pages with Hide / Show regions could have their own OPEN_REGION but the name could still be uniquely referenced in javascript. It should be a hidden variable in the topmost region in the template (which must not be one of those enhanced HIde/Show regions).
    2) make a new javascript function to set the item and submit page. Be careful to make sure you use valid variables or javascript errors display when no OPEN_REGION item is on the page (for example).
    function myHideShow ( region )
    if (document.getElementById('OPEN_REGION'))
    if ( document.getElementById('OPEN_REGION').value != region )
    document.getElementById('OPEN_REGION').value = region;
    }else{
    document.getElementById('OPEN_REGION').value = '';
    doSubmit();
    2) edit the region template. Set it to call your own function.
    Where it sais:
    href="javascript:hideShow('region#REGION_SEQUENCE_ID#','shIMG#REGION_SEQUENCE_ID#','#IMAGE_PREFIX#jtfuhide.gif','#IMAGE_PREFIX#jtfushow.gif');"
    make it (set the page item to the region sequence number):
    href="javascript:myHideShow('#REGION_SEQUENCE_ID#');"
    3) edit your page template, in the footer add the opening of the region. Be careful to make sure you use valid variables or javascript errors display when no OPEN_REGION item is on the page (for example).
    <script>
    if (document.getElementById('OPEN_REGION'))
    if (document.getElementById('OPEN_REGION').value != '')
    theRegion = document.getElementById('OPEN_REGION').value;
    hideShow('region'+theRegion, 'shIMG'+theRegion, '#IMAGE_PREFIX#jtfuhide.gif', '#IMAGE_PREFIX#jtfushow.gif');
    </script>
    That should do it, but be aware, that I am not in Oracle team, just a simple programmer trying to find my own solutions and Javascript has helped me here sometimes.
    For example, try to use #TITLE# substitution string in BODY part of the Page Template...

  • Partial page submit

    Hi,
    I have 2 HTML regions in my page. Region1 has its set of buttons like while region2 but when submit button in region 1 is clicked i want it to only refresh/submit that particular region not the entrire page, also when button in region2 is clicked it should submit only that region2.
    Any idea?
    thanks.

    Gor_Mahia wrote:
    Hi,
    I have 2 HTML regions in my page. Region1 has its set of buttons like while region2 but when submit button in region 1 is clicked i want it to only refresh/submit that particular region not the entrire page, also when button in region2 is clicked it should submit only that region2.
    Any idea?
    thanks.What version of Apex are you using? Not sure if you can partially submit a HTML region. I could think of 3 possible options:
    1. AJAX region pull as described here:
    http://apex.oracle.com/pls/otn/f?p=11933:48
    and here:
    Partial refreshing of pages in 2.0 ?
    So, in your case, you can have the Region 2 in a different page and use the technique described above to pull the region's HTML into your current page.
    2. Use the Skillbuilder's modal window plugin - http://apex-plugin.com/oracle-apex-plugins/dynamic-action-plugin/skillbuilders-modal-page_138.html
    You can have the Region 2 developed in a different page. You can then invoke it from your current page using a DA.
    3. Call a Javascript function from the "submit" button. Let the JS function call a AJAX on-demand application process to do the computation. Later, you can refresh the page items in the JS function, as described here:
    Set item value using AJAX
    Hope the above helps.
    Thanks,
    Rohit

Maybe you are looking for

  • How to disable html for whole swing application.

    Hi, As we can disable html for individual swing components , for example JLabel label.putClientProperty("html.disable",Boolean.TRUE); BasicHTML.updateRenderer(label,"html.disable"); is there any way to disable html rendering in swing components for s

  • Credit area reorganisation

    Dear Gurus, We have a problem were the billing data of an old credit control area is not updating in the new credit control area. We had two credit control areas " A" and "B" in two different sales area in same company code. Now business need only on

  • System Error:ADS :com.adobe processingException:XMLFM Exception during render Exception

    Dear All, We have configured ADS in DEV and QAS it is working fine. We have done the same configuration in PRD but it is giving the following error when we execute the program FP_CHECK_DESTINATION_SERVICE: SYSTEM ERROR: ADS: com.adobe.ProcessingExcep

  • Sub string from a word to another word

    I want to find word "cat" from the sentence: My cat is missing. Please provide a generic solution which works for ant set of statements for finding a word.

  • Can we setup whitelist on WLC

    We have enabled web Auth for our public access on Cisco WLC 2504. It works fine. However, if a wireless user opens his email with download pictures website, he can't get the picture download until he accept the web policy. Our users complaint about t