Region Selector in Apex 4

Has anyone had any luck getting this feature to work. I created a page in the early adopters and used the new Region Seletor functionality to create a Region of type Region Selector and then created some regions and which I set to selectable (see link below). All looks ok when I view the region names and the JS calls, but alas "It Don't Work". Am I missing something or is it Work in Progress.
http://tryapexnow.com/apex/f?p=2971:4
Shunt

Hey Shunt,
It works now, have a look at the next blog for instructions how to use it:
http://iadviseblog.wordpress.com/2010/06/24/apex-4-0-region-selector/
Kind regards,
Oli

Similar Messages

  • Hide the 'Show All' option in Region Selector

    Hi there,
    I just searched this forum and came to know that we can hide the show all option in region selector using jQuery as suggested by VC.
    $('ul[id$="_RDS"]').children('li').each(function(i, e){
    if ($(e).text()=='My Tab') {
    $(e).find('a').click();
    Any idea where this jQuery needs to be inserted?
    thanks.
    Sun

    Hi VC,
    <table class="tbl-body" cellspacing="0" cellpadding="0" border="0" summary="">
        <tbody>
          <tr>
            <td class="tbl-main" width="100%"><div class="apex-rds-container"><ul id="3388023453317532_RDS" class="apex-rds"><li class="apex-rds-first apex-rds-selected"><a href="#SHOW_ALL"><span>Show All</span></a></li><li><a href="#R3065313453780541"><span> MASTER DATA</span></a></li><li class="apex-rds-last"><a href="#R3375830763272358"><span>Edit  Data Dump</span></a></li></ul></div><div class="rounded-corner-region" id="R3065313453780541" >
      <div class="rc-gray-top"><div class="rc-gray-top-r">
        <div class="rc-title"> MASTER DATA<a class="eLink" title="Edit" href="javascript:popupURL('f?p=4000:374:132::::P374_ID,FB_FLOW_ID,FB_FLOW_PAGE_ID:30653,129,1');" tabindex="999"><img src="/i/e.gif" alt="Edit" class="eLink" /></a></div>
      </div></div>
      <div class="rc-body"><div class="rc-body-r">
    <div class="rc-content-buttons"><button value="Reset" onclick="apex.submit('RESET');" class="button-default" type="button"  id="B3068426845780551">
      <span>Reset</span>Anything specific that you want me to paste? Lots of content in the actual HTML source.
    thanks,
    Sun
    Edited by: sun1977 on May 29, 2012 5:50 AM

  • Blog Post: New Region Events in APEX 4 - This is exciting!

    All,
    If you're interested in learning about some new JavaScript events that will be available with APEX 4, check out this new post:
    http://www.danielmcghan.us/2010/05/new-region-events-in-apex-4-this-is.html
    Regards,
    Dan
    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/apex/

    Hey Shunt,
    It works now, have a look at the next blog for instructions how to use it:
    http://iadviseblog.wordpress.com/2010/06/24/apex-4-0-region-selector/
    Kind regards,
    Oli

  • Partially refresh the sql report region by clicking the region selector tab

    Hi,
    In my page i have a region display selector tab. This region selector tab contain show all,booking,service,.. etc. when i click the booking tab,sql report region will appear. My intention is when i click the booking tab i want to refresh that region partially to display the record according to sql query in that region source of report region.
    how to do this?
    skud.

    KevinFitz wrote:
    The report region being displayed is conditional on P2_QUERY item being NOT NULL. I assume the region not appearing is because the Action for the Select List Item is set to None and so P2_QUERY is always NULL.
    No, the region is not appearing because it is conditional on P2_QUERY being NOT NULL. This means that the report region never exists on the page shown in the browser, so it can't be dynamically refreshed. (Dynamic refresh doesn't evaluate region conditions, and it only re-renders the report content, not the entire region.)
    Remove the condition on the report region, check the refresh is working, then reconsider exactly what the requirements here are. If you want the region to appear only when P2_QUERY has a value, and you want it to be refreshed without submitting and re-rendering the page, then the region needs to be hidden rather than conditionally rendered, and shown via a dynamic action when P2_QUERY gets a value.
    I tried adding an additional Set Value True Action for the DA event but got an error as listed above,
    All irrelevant if Page Items to Submit on the region is used properly.

  • Disabling regions in the APEX interface

    Using APEX 2.2.1 we would like to create a reporting system where we (IT) create the views and users can create the report pages (selecting the columns and where clause).
    1. Is there a way to hide/disable the regions in the APEX interface (for users only) so that for instance, only the Region Report is available to the user when creating a page. So that all they have to do is enter a SQL statement and optionally change column names or order. The idea is to use the APEX interface as much as possible without us having to create a new interface.
    2. If the above is not possible how feasible/recommendable would it be to create our own interface so that using the APEX API it creates new pages/regions dynamically.
    Regards,
    /Cafetero

    Hi Dennis,
    Will Deleting the controls solve the purpose ? I tried moving the controls from the visible part of the front panel. but when the code was run the controls came back to their original position. Then I discovered that the full featured user interface has some code to set the position,size etc of the controls. This part of the code also checks the number of controls present. So I was wondering if just editing the configuration alone could disable the controls.
    Thanks 

  • Remove the "Show All" from region selector

    Hello there
    Does anyone know how you can remove the "show all" from a region selector and set a particular region as a default?
    At now I have 3 options in the region selector:
    - show all
    - region1
    - region2
    But I would like to have it as this:
    - region1 (selected)
    - region2
    Thanks in advance
    Xnni

    Well, I could not have guessed the version so had to ask.
    Now can you describe how you have created the three things called Show All, Region 1 and Region 2?
    Tabs (which level), lists, etc. If you have created then really you have two broad choices
    1. Delete Show All.
    2. Make the COndition on Show All = Never.
    Unless there is something that you have not articulated yet.
    Regards,

  • Jquery Selector in Apex 4.1

    Hi everybody,
    I've just upgraded to apex 4.1 from 4.0.1 and my dynamic actions selecting jquery class selector type (.my_class) now just selects the first element of that class instead of all the elements of class, my_class.
    It was working smoothly in 4.0. Do you have any idea how to resolve this?
    I've already tried instructions in documentation section "About jQuery and jQuery UI Support" http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21674/app_comp001.htm#BABHCBJI
    reverted my page back to include jQuery 1.4.2 but did no help.
    PS: I use Firefox 3.6.
    The most important Info that I forgot to include*: The selection fails in set value action's affected element selector. When selector seems ok.
    Edited by: oeren on Oct 4, 2011 12:29 AM

    4.1 Release Notes wrote:
    4.13 Dynamic Action Set Value with Multiple Affected Elements
    With the introduction of some built-in options to retrieve multiple values, Application Express no longer supports the ability to retrieve 1 value that could then be used to set multiple page items. This was done for simplicity and usability. If you had defined a 'Set >Value' dynamic action that set multiple Affected Elements to the same value, here is how you can fix this, according to the 'Set Value' dynamic action's 'Set Type':
    *Static Assignment - Define additional 'Actions' for each Affected Element, setting them all to the same value.
    ....Is this the reason?? Should I have to define set values for every single item?

  • Help with how to refresh one region of an APEX 4 page.

    I have tried the options I can find to refresh a single region (classic report) on an APEX 4 page. I want the refresh to happen automatically without any input from a user (no button press, no sorting on the report or anything). Just based on a 5 second interval. Can someone help me further. It seems that I need to either use javascript or jquery. I am not sure where to put this code.
    I have tried the following different methods. I put them in the Region Footer. Not sure if that is the proper place. Nothing happened when I did this.
    Using: Application Express 4.0.2.00.07
    <script type="text/javascript"> 
      <!-- 
        jQuery('#STATIC_ID_OF_REGION').trigger('apexrefresh');
      //-->
    </script>
    <script type="text/javascript"> 
      <!-- 
        setInterval( "$a_report('#REGION_ID#'.substring(1), 1, 7, 7);", 5000);
      //-->
    </script>
    <script type="text/javascript"> 
      <!-- 
        setInterval(function(){ $('#P4_LIST').trigger('apexrefresh'); }, 000);
      //-->
    </script>Thanks.
    Edited by: cjmartin on Oct 13, 2011 2:34 PM

    Hi cj,
    The following works for me. I just chucked the function in global function definition on the page definition.
    var doIt = function(){
    $('#comment_report').trigger('apexrefresh');
      setTimeout("doIt()", 5000);
    }And execute on page load:
    doIt();Edited by: trent on Oct 14, 2011 9:11 AM
    By the way, what is the function $a_report? I can't see any documentation for it: http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21676/javascript_api.htm#CDEEIGFH Is it a supported function?
    Also in your above examples, you set the interval once, but it wouldnt recurr as you're only calling setTimeout once. http://www.w3schools.com/js/js_timing.asp

  • Region Display Selector

    Does Someone know how do I use the new "Region Display Selector" Region Type in APEX 4.0... and where an I find any example ???

    I have posted a non-solid solution on the following thread. Maybe it gets you started on solving the issue:
    Setup region selector
    Edit: A working solution has been added by Vee.
    Regards,
    Tuur
    Edited by: HENDRTU on Jan 7, 2011 1:29 AM

  • How to create Page, where will be 2 regions and 2 tabs on the same page?

    Hello to everyone!
    Please help me to resolve this problem. I want to create 2 separate Report regions on 1 page. But, I want to go to them using tab or region selector.
    Something like on http://apex.oracle.com/pls/otn/f?p=65555:54:4313065956899438::NO:::
    I want that when I go to Page i see tab named TEST1 and TEST2. Automaticaly will show TEST1 Region on page, when I click on TEST2 on the tab within page, i see TEST2 region.
    APEX 4.0.
    Thank you!
    Edited by: Sabutmaster on 02-Sep-2011 04:42

    Maybe there is another variant? Without jQuery? I found something like in Region Selector, but I don't need SHOW ALL option .
    Or maybeI can somehow remove SHOW ALL tab???
    Thank you!
    Edited by: Sabutmaster on Sep 4, 2011 11:58 PM
    Edited by: Sabutmaster on 05-Sep-2011 23:42

  • SQL Report Region

    Hi,
    I am using apex 4.0.1 and I have a page with several SQL Report regions. The user can edit the data in the report regions by clicking a column that uses a href link to open a DML page in a modal window. The user can then amend some data in the modal window, press save which closes the modal window and uses the partial page refresh process to refresh the SQL report region. (Using apex.event.trigger('#SOME_REGION'),'apexrefresh')).
    If I navigate through the report to show rows 31-45 and then click on a href to edit a record. On pressing save, the report is refreshed but the rows displayed goes back to 1-15.
    How can I get the report to stay showing the rows 31-45?
    Cheers
    Paul.

    I believe this answers my question
    http://monkeyonoracle.blogspot.com/2010/11/refresh-report-region-and-pagination.html
    Edited by: pjturley on Jan 10, 2012 1:14 PM

  • Resetting a Form with Cascading LOVs (Apex 4)

    A standard reset button cannot reset cascading LOVs properly. Let's assume we have a parent LOV and a child LOV. When one changes the selection in the child LOV, reset can undo this. But when he changes the selection in the parent LOV, reset will undo only the parent LOV but not the child LOV. The child LOV remains unchanged (however the selection is lost) and therefore shows a list that does not correspond to the entry now shown in the parent LOV.
    Has anybody found a solution for this, a reset action that can reset cascading LOVs completely and properly?
    Regards
    Roland

    Roland,
    i didn't try this myself but maybe you succeed with triggering the onchange-event of your parent-select-list (this should cause the child select-list to be refreshed).
    Or you could try if a form region has a apex "refresh" event (i know that refresh works on reports).
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • How to process a form created in a pl/sql region

    Hi:
    I have a form that is generated using pl/sql and this form is displayed on a page in a 'pl/sql' region. The form displays a 'Submit' button which upon being clicked should return the user to the same page but with the contents of the form updated etc etc. What should I set the form's 'Action' attribute to for this to happen ? Is it possible for 'post-submit' processes to be specified for such a form ?
    Thanks !

    Vikas:
    The form is the product of converting a VB based application to pl/sql. The VB app. is a sort of a dynamic form generator. The form elements (what elements a form is made up of) are stored in a database. For the purpose of illustration we can assume that the application is a survey application and the VB code generates the required survey form depending on the user requesting the form, the survey being requested etc. The questions/answers and the HTML element that will be used to render the question/answer are stored in the database as mentioned previously.
    I adopted what I thought was the easiest method to convert this application into an APEX app. This method ofcourse being converting the VB to PL/SQL and then using the pl/sql Web Tool kit to generate a PL/SQL region on an APEX page.
    Now, based on your comments it appears to me that I may have started off on the wrong track !

  • How to get the class name of a page in oracle apex

    Hi All,
    Can anyone please let me know how we can get the class name of a page or region in oracle apex? I would also like to know how we get the DOM object ID for particular item.
    I appreciate any help on this.
    Regards
    Raj

    RajEndiran wrote:
    Can anyone please let me know how we can get the class name of a page or region in oracle apex?What do you mean with class name? The name of the template (e.g. the css style class name)?
    I would also like to know how we get the DOM object ID for particular item.Use firebug or inspect the source code of the rendered page to see the object IDs. Other then then, the typical ID of page items is the name of the item. For regions you can set your own ID.

  • How to create a Hyperlink  from HTML region

    How can I create a Hyperlink to another site from an html region in an apex page. It should be something simple, but I could not find it
    Please help
    George

    Have a look here:
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    There are lots of examples that may be usefull for you.
    Denes Kubicek

Maybe you are looking for