Hide the region using Lov apex oracle 5.0

Created a static LOV to my report page.

Now, a selection of drop down of lov values, I need to hide the region and for another selection, I need to see the region.

Say it like...

If you are already a customer then it is useless to see the area of registration, if you are a new user, you must complete the registration form.

So I have to possibility of selection

Already a customer of 1)

(2) new customer

Click on the selection to an existing customer of LOV only registration form region must didn't show the region that I created for new client.

Ditto for the new customer.

GOT STUCK HERE.

I created LOV, but it redirects me to one page to another does not what I wanted.

Apex. Oracle.com

testdump/developer/Office

Hi Dominique,.

You can do this by creating two dynamic action

Create a static region which equip your Lov article

Now you have three regions

1 static area - container of your LOV point

2. new customer area

3. existing customer area

1. create a dynamic action to show and hide the new client area

Event: change

Selection type: point

: Item Lov that contains (new or existing value)

Condition: equals

Value: N (assuming that N is the new customer return value)

Action: show

Fire on loading the Page: Yes

Generate the opposite action of false: Yes

Selection type: region

Region: Select the new customer area

2. create a dynamic action to show and hide Existing customer area

Event: change

Selection type: point

: Item Lov that contains (new or existing value)

Condition: equals

Value: E (assuming that E is the return value of existing customers)

Action: show

Fire on loading the Page: Yes

Generate the opposite action of false: Yes

Selection type: region

Region: Select the customer existing region

Kind regards

Jitendra

Tags: Database

Similar Questions

  • How to show or hide the region of the shuttle during the click on the radio buttons?

    Hello

    I'm new to JDeveloper. Here is my requirement.

    1. create 2 radio buttons: Yes and no and default displays "" selected radio button.

    2. create a region of shuttle with select query in VO.

    Query is:

    Select 'No group' for_user, for_pkg double null

    Union

    Select "Company" for_user, for_pkg "SEGMENT1" double

    Union

    Select 'Rental' for_user, for_pkg 'SEGMENT2"double

    Union

    Select 'Cost center' for_user, 'SEGMENT4' double for_pkg

    Union

    Select 'Project' for_user, 'SEGMENT5' double for_pkg

    Union

    Select "Intercompany" for_user, "SEGMENT8" for_pkg of the double

    order by nulls first for_pkg

    3. initially hide the region of the shuttle during the loading of the page.

    4. click on the radio button 'yes', display area of the shuttle with values at the head of list of query VO and empty list leak.

    5. new click on the 'no' radio button, he must hide region and so screen shuttle shuttle dynamically according to the selected option button.

    But my problem is I am able to hide area shuttle when the page loads at the beginning and after that, when I'm clicking 'Yes' radio button, is just to display area shuttle empty without value in the main list and once when I'm clicking 'No' radio button, it should hide area shuttle but he's not hiding. I used the RPP to show or hide the area Shuttle under certain conditions. I use JDev 10.1.3.3.0 version as we Oracle EBS version 12.1.2 in our society.

    Please find the attached draft and suggest me proper with examples of sample approach.

    Monika,

    I tried to get this working in the lower version of Jdeveloper and looks like it works.

    Can you make the change below and see what happens.

    1. modify your query to VO as below: (I replaced null with SEGMENT0)

    select 'No Grouping' for_user, 'SEGMENT0' for_pkg from dual
    union
    select 'Company' for_user, 'SEGMENT1' for_pkg from dual
    union
    select 'Location' for_user, 'SEGMENT2' for_pkg from dual
    union
    select 'Cost Center' for_user, 'SEGMENT4' for_pkg from dual
    union
    select 'Project' for_user, 'SEGMENT5' for_pkg from dual
    union
    select 'Intercompany' for_user,'SEGMENT8' for_pkg from dual
    order by for_pkg
    

    2. place VO execution to the processFormRequest:

        public void processFormRequest(OAPageContext pageContext,
                                       OAWebBean webBean) {
            System.out.println("In process Form Request");
            super.processFormRequest(pageContext, webBean);
            OAApplicationModuleImpl appModule =
                (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
            String eventParam = pageContext.getParameter(EVENT_PARAM);
            System.out.println("eventParam: " + eventParam);
            if ("showHideShuttle".equals(eventParam)) {
                //  appModule.invokeMethod("deletetrailing");
                System.out.println("Inside If");
                OAMessageCheckBoxBean messageCheckBoxBean = (OAMessageCheckBoxBean)webBean.findChildRecursive("checkBoxBean");
                System.out.println("messageCheckBoxBean : " + messageCheckBoxBean);
                String messageCheckBoxBeanVal = (String)messageCheckBoxBean.getValue(pageContext);
                System.out.println("messageCheckBoxBeanVal: " + messageCheckBoxBeanVal);
    
                if ("Y".equals(messageCheckBoxBeanVal)) {
                    OAViewObjectImpl shuttleVO1 =
                        (OAViewObjectImpl)appModule.findViewObject("ShuttleVO1");
                    if (shuttleVO1 != null) {
                        shuttleVO1.setWhereClause(null);
                        shuttleVO1.setWhereClauseParams(null);
                        shuttleVO1.executeQuery();
                        System.out.println("Executed Query : " + shuttleVO1.getQuery());
                    }
                    OAViewObjectImpl shuttleVO2 =
                        (OAViewObjectImpl)appModule.findViewObject("ShuttleVO2");
                    if (shuttleVO2 != null) {
                        shuttleVO2.setWhereClause("1=2");
                        shuttleVO2.setWhereClauseParams(null);
                        shuttleVO2.executeQuery();
                        System.out.println("Executed Query1 : " + shuttleVO2.getQuery());
                    }
                }
                String[] name = { "RenderAttr1" };
                String[] val = { messageCheckBoxBeanVal };
    
                Serializable[] params = { name, val };
                Class[] paramTypes = { String[].class, String[].class };
                appModule.invokeMethod("setXXCustomPVOValues", params, paramTypes);
    
            }
    
        }
    

    3. move Spel link shuttle Bean for the region of header above.

    Some useful links for the shuttle Bean:

    Technology blog based in Java of Sushant: 13. Area of application OFA shuttle

    Framework OA Blog: control of the shuttle as part of OSTEOARTHRITIS

    See you soon

    AJ

  • How to hide the region

    Hi, I created a page region 0 in my apex application. I understand that whatever it is in page 0 apply to all pages. Anyway, my problem is that the title of region shows on any page. They is a way to hide the region?

    Hi Dave.

    You can create a new model of the region with a model code;

    Templates-> Create model-> area - from scratch-> him give a name. Custom 1 model (for example) - class create.

    Edit this new model and modify the definition of #TITLE #.
    #BODY # to the following:

    #BODY #.

    Change your region to use this model and you'll be fine.


    Edit

    I just noticed that your javascript has been in the header.  I have my case is in the source of the region as

    Kofi

  • change the port used by apex 4.0

    Hello

    How can I change the port used by apex? For example, instead of 8080 I want to use 8081

    Thank you

    If you use OC4J, or any other application server, but you do not use the EPG you must reset the EPG

    exec dbms_xdb.sethttpport( 0 );
    
  • Hide/show the region using the text in the list

    Hi all

    I created a list in a shared application component. Is it possible in the apex to hide and show the region according to the selected list text.

    Thank you.

    I have not used jQuery, but only if the region

    Kind regards
    Richard

  • Problems with the layout themed to show/hide the region 25

    Hi all, Ive hit another question that I hope someone can help with...

    APEX 4.2.4 on XE... Theme 25.

    I've reproduced this login as apex.oracle.com [email protected] password newpass 291 3 application page.    (admin/admin is also implemented as a UN/pw)

    I have a skin region see the this Im using as a region of select query. There are a number of boxes, and a couple of display only fields that have values returned in it.

    I I set out them in a row, and after 3 items, I start a new line with the other 3 articles... that is

    X X X

    X X X

    Except that with the region set to show/hide and the model of the value without tab, no sidebar I get.

    X X

    X

    X X

    X

    If I change the standard region it works OK, and if I change models, it seems ok.  Ive tried all the combinations of columns, etc, but nothing helps...  Im trying to figure out if Im missing something, or I've hit a bug any... (almost certainly the old...) ...

    Thank you very much indeed

    Richard Legge wrote:

    I have a skin region see the this Im using as a region of select query. There are a number of boxes, and a couple of display only fields that have values returned in it.

    I I set out them in a row, and after 3 items, I start a new line with the other 3 articles... that is

    X X X

    X X X

    Except that with the region set to show/hide and the model of the value without tab, no sidebar I get.

    X X

    X

    X X

    X

    If I change the standard region it works OK, and if I change models, it seems ok.  Ive tried all the combinations of columns, etc, but nothing helps...  Im trying to figure out if Im missing something, or I've hit a bug any... (almost certainly the old...) ...

    The difference between the models of the region is that the Standard region has defined Points of view and the show/hide does not work. This is the mysterious properties that Oracle has not yet bothered to document. Their omission of this model is indeed likely to be a bug.

    Create a copy of the region show/hide template and add a point of view for the body of the region (content):

    Name: Body of the region

    Substitution of template: BODY

    Grid Support: Checked

    The maximum fixed grid columns: - 1


    Use the new model to show/hide for the region of select query.

  • JavaScript to hide the region

    I want to hide an entire region based on JavaScript. I can't use the conditional display of a region because it is at the request and cannot submit the page to check the value. I can't hide specific values, but the labels remain and the border of the region remains. Here's what I have so far.


    OnChange = "Show_On_Selectlist_Value('P15_SIRT_DCSN_ID','6'); »


    < script >
    function Show_On_Selectlist_Value (CWnd, pValue)
    {
    var rv is $x (CWnd) .value;.

    If (rv is pValue)
    {
    html_ShowElement ('P15_RR_COMMENTS');
    html_ShowElement ('P15_RR_USER');
    html_ShowElement ('P15_RR_DATE');
    }
    on the other
    {
    html_HideElement ('P15_RR_COMMENTS');
    html_HideElement ('P15_RR_USER');
    html_HideElement ('P15_RR_DATE');
    }
    }
    < /script >

    For the region that you want to hide, provide a value for the static attribute "ID". You can then use the javascript functions integrated '$x_Hide (NDP) and $x_Show (NDP)' to show or hide this region.
    example of

    $x_Hide('REGION_STATIC_ID') 
    

    http://download.Oracle.com/docs/CD/E14373_01/apirefs.32/e13369/javascript_api.htm#CHDDAGFE

    CITY

  • Incorrect order in the region after upgrade Apex 4.2.2

    We have improved our applications at Apex 4.2.2.00.11 and everything works fine. With the exception of 2 pages. These pages have a parent area (in display point 'Page (1) template body') and two parts of the child, a (seq 10) HTML tag and a region (seq 20) report. But when these pages are executed, the region of report was posted first! I discovered that when I remove the HTML region of its parent, that the original display for this region, HTML has been 'Page (2) template body '. I've changed that to "Page model body (1) ', handed the region HTML to its parent. Now the regiopns appear in the correct order. However when I do an export and import on the production environment, the regions are always displayed in the right order! It seems that during the import, the point of view of a region with a parent area, is ignored.

    Any ideas how to solve this problem?

    Hello

    I think I've identified the cause of your problem. When importing an application we automatically point the value display child parts to 'Page (3) template body', because points of view are not really relevant for regions of the child, but we need for the good sort. Due to a bug, this is not done for regions of type 'Report' and 'calendar '.

    As a solution, can you please assign 'Page (3) template body' to your sub regions and try again. I will file a bug for the issue.

    Concerning

    Patrick

    Member of the APEX development team

    My Blog: http://www.inside-oracle-apex.com

    APEX Plug-Ins: http://apex.oracle.com/plugins

    Twitter: http://www.twitter.com/patrickwolf

  • Display of the conditional field of Apex Oracle

    Hello

    I created two Wizard page in Oracle Apex.

    I have a table point and item_detail. For element1, I have a record of detail and item2, I have two detail record.

    Step 1: Choose the section that will fall to the bottom of the roll of the order of the day.

    On step 2: based on the record number of detail items, I want to display the text on step 2 fields. If item1 is selected in display 1 thenl, textdisplay1, and textfield1 to step 2 step. If item2 is not selected ' will display textfield1, textfield2 to step 2, textdisplay1, textdisplay2.

    SQL/pl/sql condition will be: select count (*) in the item_detail where item_id in (select item_id station where nom_element = 'provided to the step 1 "

    I want this dynamic ability to display fields or at least to hide textdisplay2, textfield2 based on condition of sql/plsql.

    Thank you

    Fields / display items (or hidden) by the result of the 'Condition' selection on the page field specification APEX / point. (You have all the tabs at the top: Identification, UI, grid, Label,..., Condition,...) Condition determines whether the field is displayed. Defaults to '-point not conditional ' but if you click on the drop-down menu, there are different conditions of 30-50. There are, there's NO..., never, always. If you select "PL/SQL function body returning a Boolean", it will add an Expression 1 box in the GUI where you can write a "starting...". End; "block to return TRUE or FALSE for the condition. It display if TRUE is returned, skins, if FALSE is returned. (Someone other chime in here if I missed something.)

    It is a VERY characteristic slick of APEX. The only addiitons I could ask would be: positive, negative and "do what I mean".

    Howard

  • How to hide the images used in imovie 10.1.2?

    I am a new user of iMovie and use the latest version. How to hide the photos that I already added to the film? Moreover, that mean the purple and orange lines on the photos? Thank you!

    You can not hide, but the orange lines at the bottom of the clips in the media pane show what parts of clips have been used in the scenario, if you can easily avoid reuse them if that's what you want to do.  The purple lines at the top of some parts of some clips show moved excessive (which cannot be stabilized).

    Geoff.

  • Hide the Excel using LabVIEW Report Generation Toolkit or active chart legend

    Hello Eveyone:

    I'm working on tool report generation in labview and creat excle report. I create the chart in the report, but I can't hide the chart legend or change the font size using the report generation tools.

    I appriciate you guys time.

    Thank you

    Howdy!

    What version of LabVIEW Report Generation Toolkit you use? Did you take a peek at the .vi LabVIEW example column chart (Excel)

    and he looked at using the Excel insert graphical VI and Excel graphic Set do?

  • hide the region if the recordset field is empty

    Hello

    IM after a logic that will allow me to hide a code if a field in a recordset is empty. so I have a field called motion in a Recordset called rsProj_detail, now if the query contains no text so I want to hide a region of code. does anyone know how to do this? I hope that ive made myself clearly, if this no is not please tell me and I have re written the post.

    Thank you

    Have you tried something like this?

  • Customization of the OPS to hide the message entered LOV

    Hello

    Can someone ' a please guide me to hide a field type of the LOV Message on a self-service (JSP) page entry in oracle. ?

    I need where I need to hide a class that involves a LOV. I don't see "Rendering" property of this field.

    Appreciate your help

    Thank you

    KP

    I printed the XML Page and I see that the "required" to the author field of the request property is 'yes '. That's why you don't see rendering property through customization.

    Although you can meet this requirement through CO extension, you will need to factor in the implications as it apparently is a required field for downstream programs.

    Thank you

  • How to create the image button in apex oracle 3.1

    Hello

    I am new to oracle apex.

    I would like to show button called delete as an icon of image for the same thing that I saved the attributes of the button as shown below

    Button = Image Style

    Button Image #WORKSPACE_IMAGES #delete_row_64.gif

    But this isn't no image showing, as image not available.

    Please someone help me how to solve this issue

    Helpe me please where should I keep the images that I can use as an icon of the image to the page element.

    Thank you and best regards,
    Ibrahim Sayyed.

    You must download the image in for the shared components

    Gus

  • How to hide the region report?

    Hi all

    In my application, I am uisng the concept of visibility serach when I click Search link I display another report as a message, because they have not entered or selected something before clicking the serach button.
    < {font size = '7' color = "red" > no data found for the search criteria.} Please < {a href = "f? p = & APP_ID.:6: & SESSION. {": No.:" > click here < /a >} re-enter the serach criteria! < {/ make >}


    Now, when this message comes they click here uisng the above message while this region must hide and only the first region should be present. For this, I tried like this

    < {font size = '7' color = "red" > no data found for the search criteria.} Please < {a href = "f? p = & APP_ID.:6: & SESSION. {": No.: P6_HIDE:hide" > click here < /a >} re-enter the serach criteria! < {/ make >}

    But there he throws error like 'cannot find the item for the '' show' ' element ID in the application. How to solve this problem.

    Or

    They is sort of othet instead of display the report can I view in the popular message stay no data found.

    Thank you
    David...

    You use the page validation to check if the search value is not null

Maybe you are looking for

  • L10-103 WLAN is not working/update does not work!

    I tried to upgrade my intel 802.11bg WLAN but on setup you there is a message: file not found "setupWLD.ini" and the installation program is abandoned.My wifi can't find my wireless access point, I have to use a WLAN USB to get access! (SITECOM WL 11

  • macros personal

    Hey,. I would like to open a PERSONAL.xlsb macro to manipulate data to a TDMS file is imported into Excel (via import add-in for TDMS files). Everything must go automatically, but the problem with import add-in for excellent TDMS files is that it alw

  • cannot use Add and remove programs windows install not working not

    I'm trying to uninstall vzaccess Manager but I get an error cant find program that has installed the program

  • 4632 HP Officejet printer: hp officejet 4632 printer stuck printing alignment page

    Help please.  My printer is stuck trying to print an alignment page.  I can't scan or copy anything to the printer.  I tried unplugging the printer with power, has waited more than a minute, reconnected and it did not help. I tried the scan doctor an

  • Microsoft lifechat lx 300 does not work with VIA HD

    Hello guys, my last helmet played as ""(jouant alors que les orateurs option a été activée) speakers and I was able to use the improvements! "." play with the lx 3000 headphones via an option audio usb with no improvement even not of via hd! I tried