Create switch region

Hello

I have a small requirement where I need to display data on the page under certain conditions, so I thought that Switcher would be the right approach.

To do this, I created a region to switch with 2 cases. Please provide me with details such as how to provide the status of cases in the region to switch.

Any help will be appreciated.

If your problem is solved then please close the thread by mentioning what answer is useful or appropriate.

Reference http://forums.oracle.com/forums/ann.jspa?annID=914

-Anand

Tags: Oracle Applications

Similar Questions

  • 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

  • Create new region in the page template

    Hello

    I use Apex 4.2 with enterprise DB 11, I try to create the new zone in the page template of "application > share the component > model > page > edit page" I add #REGION_POSITION_20 # #REGION_POSITION_01 # and its added successfully, the problem is when I use this page template on my page, I see the région #REGION_POSITION_20 # added to the model , but I can't select a position for the region.

    Any suggestion

    Hani says:

    I use Apex 4.2 with enterprise DB 11, I try to create the new zone in the page template of "application > share the component > model > page > edit page" I add #REGION_POSITION_20 # #REGION_POSITION_01 # and its added successfully, the problem is when I use this page template on my page, I see the région #REGION_POSITION_20 # added to the model , but I can't select a position for the region.

    Any suggestion

    You cannot create additional region position placeholders. Why do you think that you need to do?

    Several areas can be assigned to each position in the region, the existing placeholders can be moved, regions may contain subregionsand region controlled by the attributes of the region and/or CSS page layout. These options provide more flexibility for most requirements.

  • Failed to create a region of taskflow containing fragments of facelets in jspx

    Hello

    I use jdeve 11.1.2.3, wheneven, I do drag drop taskflow jspx layout get the following error

    Failed to create a region of taskflow containing fragments of facelets in jspx page. But it works with the jsf page.

    Please help me on this issue.

    I created taskflow I have page fragment, it contains list of table data. Whenever I drag drop in page jspx TF get the above error.

    Thank you
    Nitesh

    Hello

    When you create your piece, you have to choose the "Document Type": "Facelets" or "JSP XML". You should try to verify "JSP, XML.

  • Create table region programmatically

    To create the region table programmatically

    Hello

    OATableBean tb = (OATableBean) createWebBean (pageContext, TABLE_BEAN, null, "table");
    OAMessageStyledTextBean bean = (OAMessageStyledTextBean) createWebBean (pageContext, MESSAGE_STYLED_TEXT_BEAN, OAWebBeanConstants.VARCHAR2_DATATYPE, "text");
    bean.setPrompt ("column1");
    tb.addIndexedChild (bean);
    webBean.addIndexedChild (tb);

    Thank you
    Gerard

  • 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

  • How to create the region with the region

    Hello

    Y at - it opportunities for the region created in another region in the apex oracle 4.2.2.

    If so, please advise how can I achieve this.

    Thank you and best regards,

    Ibrahim Sayyed.

    SAYYED says:

    Y at - it opportunities for the region created in another region in the apex oracle 4.2.2.

    Do you this by specifying a parent region during the creation of a region: on the creation of subregions

  • How to create tabs region without Extjs

    Hello

    I have a form with a lot of attributes from a single table that is the source of the region.

    Is it possible to create a form that has all the attributes of this sort in tabs?

    Best regards, Tamas

    Published by: Tamas Szecsy, May 20, 2011 09:39

    jQuery is a part of the APEX... you don't need to include plug-ins...

    You just create

    1 region hand + X the number of regions...

    Kind regards
    Shijesh

  • Unable to create the region with tabs

    Hello
    http://www.danielmcghan.us/2009/07/jQuery-tabs-get-while-they-hot.html

    I followed the steps given above link.

    1.I download a file jquery - 1.2.3.pack [1] I copied to the location \oracle_home\oracle\product\apex\images\javascript

    I added this file in my page template.
    "< script type =" text/javascript"src="\oracle_home\oracle\product\apex\images\javascript\jquery-1[1].2.3.pack.js "> < / script >

    and I followed the same steps, but I am unable to proffer tabs.

    Please suggest some clear steps so everyone alread has worked on this example.


    Thank you
    Nr

    Hello

    In the example on page 17 app you can see region 1 of the article. Change this region, and you can see header region code

    Generates tabs.

    If change you it as

    Then change the region 3 region Footer Section to be

Then, create the new region. This place to the new header of region

and it's the footer Regin

you get extra tab of your new region Pentecost content

BR, Jari

  • Creates "shared region report" possible?

    Hello

    I have several pages, which all have the same SQL report with where different clauses. Difference in the where clauses are only differences of the value of the variable binding.

    I would like to reuse the settings of the regions a report - selected columns, column, column etc. header text sortability - for all these pages. How could I proceed, for the region, I can't Maisons a component shared.

    TIA.

    Tamas

    Published by: Tamas Szecsy on July 31, 2009 01:19

    Tamas

    You can create the page using PL/SQL once returning the SQL query, and then have an iFrame or region report AJAX on every page that displays the report he and underlying predicates.

    There is an example you can mess with on my blog and I'll explain the iFrame approach if you want to...

    See you soon

    Ben
    http://www.munkyben.WordPress.com
    Don't forget to mark the answers useful or correct ;)

  • Region of switching iTunes

    Hello

    This posted in the hardware forum, but it should be better here.

    Ive moved to the United States, the United Kingdom and I try to change regions.

    Ive followed the instructions. I had a music subscription that has been canceled (by turning off auto renew), but IE I still need to do.

    I have no credit in the account.

    It won't accept my American credit card accordingly.

    any thoughts?

    Thank you

    M

    To switch to a new store, you need a valid payment method and billing address in the new region. Switching regions can better be avoided, especially if you have all the iOS devices because it greatly complicates the process of updating your applications.

    TT2

  • How do I create region menu absolute tree?

    Hi friends,

    I created the area of the tree that works correctly,

    But how do you create absolute region of menu tree ( bit absolute region)?

    (that means that when someone scrolls the html page, the tree is always indicated on the left side of the html page)

    regrads

    Siya

    You apply some CSS for this region, the position being fixed or absolute, probably depends on other factors.

  • Need help to create lines and regions table headers

    Hi all

    My requirement is to create a region to view the details of the table header. I then in the same page display lines in another region of the Table.
    If I click on a particular header description, it should display lines in the region of table rows.

    Also based on certain conditions should I show or hide columns in Table header region.

    Please give me your ideas to achieve this.

    Thanks in advance.


    Thank you and best regards,
    Mvyizhi

    Hi Mvyizhi,

    Please follow the steps

    (1) create a new attribute in the original Version with the following and attached properties to AM

    for example: name: select, Type: String, default: is Updatable: always check - Queryable and key of the attribute

    (2) create only a single selection in the area of the table

    Make sure you enter the view instance and discovers the attribute that you created in step ins 1

    (3) define the action of fire for single selection.

    In processFormRequest of your controller to capture the event

    If (executeAttachment".equals (pageContext.getParameter (EVENT_PARAM))) {" "}
    }

    (4) its very important to seize the line current value so that you can pass header line table table ID and run the query.

    Here's the complete code:
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    The PFR controller code:

    If (executeAttachment".equals (pageContext.getParameter (EVENT_PARAM))) {" "}

    String rowRef =
    pageContext.getParameter (OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    Line OARow = (OARow) am.findRowByRef (rowRef);
    searchEmployeeVORowImpl lineRow = (searchEmployeeVORowImpl) am.findRowByRef (rowRef);
    If (lineRow! = null) {}
    If ((row.getAttribute("PersonId").toString ())! = null) {}
    String perIdValue =
    (String) row.getAttribute("PersonId").toString ();
    throw new OAException ("is" + perIdValue, OAException.INFORMATION PersonId selected);

    If (perIdValue! = null) {}
    [Serializable] parameters = {perIdValue};
    am.invokeMethod ("initAttachmentDetails", parameters);
    }

    }
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    In AmImpl.java

    {} public void initAttachmentDetails (String personid)
    If (personid! = null) {}
    System.out.println ("Id of the person has obtained and transmitted to AM is:" + personid);
    EmpAttachmentVOImpl vo = getEmpAttachmentVO1 ();
    {if(vo!=null)}
    vo.exeattachmentQuery (personid); the definition of this method will be written in VOimpl.java of VO attached to the area of the table
    }
    }
    }

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    VOimpl.java (online VO attached to the area of the table)

    public void exeattachmentQuery (String personId)
    {
    System.out.println ("-exeattachmentQuery in VoImple is called");
    If (personId! = null) {}

    Number of personIdNum = null;

    Try
    {
    personIdNum = new Number (personId);
    System.out.println ("the coveted number of transfer value is:" + personIdNum);
    }
    catch (System.Exception e)
    {
    throw new OAException ("AK", "FWK_TBX_INVALID_EMP_NUMBER");
    }
    System.out.println ("ID of the person being passed is NOT NULL");
    setWhereClause("PERSON_ID=:1");
    setWhereClauseParams (null); Always reset
    setWhereClauseParam (0, personIdNum);
    executeQuery();
    System.out.println ("the request is:" + getQuery());
    }
    }

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

    Note: Replace Pls your name VO and attribute carefully. It will work.

    Let me know if this isn't clear.

    Had

    Published by: keerthioaf on March 14, 2013 12:30 AM

  • Can't see the region list when you try to create

    Hi guys,.

    I am trying to create the list box, but it cannot access my application when I try to create a region.

    In the database Application example, easiily can I do,.

    http://i.imgur.com/26ASO.PNG

    but in my application, the option is missing.

    http://i.imgur.com/oGiJQ.PNG


    I tried to go to 21. Scarlet theme but no luck as well. Not sure what I should do to create a list box.

    APEX 4.1.1

    Hello

    First go to shared components and create a list entry. Now, go to the wizard in any page, and you should see the list item.

  • How to create a page in three or more regions

    Hi all:


    I want to create a page that will have more than three regions as a work of HTML frames that you can put in different parts

    How can I make OAFramework?

    Help, please

    Ali

    Hello

    In the region of pageLayout create a rowlayout and in rowlayout create two cell formats.

    Formats of the neo, you can create two regions on two regions in a different format from cell on the right and left.

    In order to give spaces between them use spacer point and define its width.

    It will be like

    region of pageLayout
    region5
    RowLayout region
    cell format1 spacer cellformat2
    RowLayout region rowlayout
    Region1 spacer elle3 spacer 4 region.2

    Thank you
    Gerard

  • Maybe you are looking for