PROBLEM WITH SAMPLE POPUP

All,
IAM trying this example in the url of Denes Kubicek
http://Apex.Oracle.com/pls/OTN/f?p=31517:257:4044366874569:no:257:

Sometimes I get popup but entering and clicking on save errors and after no longer not the popup or popup if I logout to erase my session and log back in, but it still does not work. I need help with this pls?


= > I made the changes to the pop-up window but the economy does not work?
pls have a look at my sample
wkspace = proj2010
user/pwd = demo123/demo123
AppID = 760/page 17 page clicking = search


Kind regards

Published by: Gor_Mahia on February 6, 2013 20:35

Gor_Mahia wrote:
All,
IAM trying this example in the url of Denes Kubicek
http://Apex.Oracle.com/pls/OTN/f?p=31517:257:4044366874569:no:257:

Sometimes I get popup but entering and clicking on save errors and after no longer not the popup or popup if I logout to erase my session and log back in, but it still does not work. I need help with this pls?

===>, I made the changes to the pop-up window but the economy does not work?
pls have a look at my sample
wkspace = proj2010
user/pwd = demo123/demo123
AppID = 760/page 17 page clicking = search

Kind regards

Published by: Gor_Mahia on February 6, 2013 20:35

The problem was with your request application process-addEmpGarbage. You had this in pl/sql code:

BEGIN
   INSERT INTO emp
               (ename, job, mgr, hiredate, sal,
                comm, deptno
               )
        VALUES (:p257_ename, :p17_job, :p17_mgr, SYSDATE, :p17_sal,
                :p17_comm, :p17_deptno
               );
EXCEPTION
   WHEN OTHERS
   THEN
      HTP.prn ('Error adding record to the EMP_GARBAGE Table. / ' || SQLERRM);
END;

Look at the value passed for the ename column - it's p257_ename.
I changed it to p17_ename.

Thank you
Rohit

Tags: Database

Similar Questions

  • Problem with validation popup function and af bean.

    I have the following code from the model:

    View1.JSPX contains a popup with 2 text entry. the text of entry has a custom validator (is not allowing the user to enter text containing 'A'):
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
          <af:commandButton text="Show Popup" id="cb1">
            <af:showPopupBehavior popupId="p1Adauga2"/>
          </af:commandButton>
          <af:popup id="p1Adauga2">
            <af:panelWindow id="pw2" title="Adauga entitate la lista">
              <af:panelGroupLayout id="pgl7" layout="horizontal" halign="center"
                                   valign="top">
                <af:panelFormLayout id="pfl1">
                  <af:inputText label="text1:"
                                maximumLength="10"
                                id="it11" 
                                rendered="true"
                                validator="#{TestBean.validateText1}"
                                autoSubmit="true">
                  </af:inputText>
                  <af:inputText label="text2:"
                                maximumLength="10"
                                id="it9"
                                rendered="true">
                  </af:inputText>
                </af:panelFormLayout>
                <af:spacer width="10" height="30" id="s7"/>
              </af:panelGroupLayout>
              <af:panelGroupLayout id="pgl8" layout="horizontal" valign="bottom"
                                   halign="center">
                <af:commandButton text="Add" id="cb11Adauga"/>
                <af:spacer width="10" height="30" id="s9"/>
              </af:panelGroupLayout>
            </af:panelWindow>
          </af:popup>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    The validation function is contained in a bean managed with a scope of application:
    import javax.faces.application.FacesMessage;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    
    import oracle.adf.view.rich.component.rich.input.RichInputText;
    
    public class TestBean {
        public TestBean() {
        }
    
        public void validateText1(FacesContext facesContext,
                                  UIComponent uIComponent, Object object) {
            String val = (String) object;
            if (val.contains("A")) {
              FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_ERROR, 
                                                      "Eroare", "Cannot contain A");
              facesContext.addMessage(uIComponent.getClientId(facesContext), 
                                      message);
              ((RichInputText)uIComponent).setValid(false);
            }
        }
    }
    My problem:

    1. I enter invalid text
    2. an error message is displayed, saying that that text I put in place is not valid.
    3. I press the Add - button the popup is closed. Why? The component is not valid. Shouldn't the blocked popup until all text entry are valid?

    How to achieve this.

    Please see the screenshot below, it better describes my problem:


    Published by: Andrei Ciobanu on 12 Aug 2011 06:16

    Published by: Andrei Ciobanu on 12 Aug 2011 06:19

    You should read the documentation of af: popup [http://download.oracle.com/docs/cd/E16162_01/apirefs.1112/e17491/tagdoc/af_popup.html url] and understand everything about auto-licenciement

  • Problems with Testversion popup on a licensed user account / need help!

    Hi guys,.

    I use the creative cloud since over a year and I'm fine with the whole system, but I have a problem that comes up for a few days...

    Unbenannt2.jpg

    First of all to say: I have the Master Suite (maximum) on CC set.

    The problem I see is that the system asks a couple of times to concede anything, anytime - 5 times to date even without a "reboot of the PC" there are 2 weeks - CC Adobe asked to 'log in '.

    which is very penetration and boring for me... Is a fix for this either possible or maybe if an error is on my page (I can't imagine, but I am open to any suggestion).

    The big problem is that it is not really easy to use because the PC is totally secure and so I do not know why it must be so "complicated". Thanks for every help on this!

    See you soon.

    Hello

    It is a trial for Acrobat XI, probably in German dialog box. There seems to be a problem in Acrobat pick up your license. Could you please follow the solution mentioned in http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html and see if it works for you.

    Thank you

    Karan

  • Problem with attachMovie popup windows

    I'm trying to create pop up windows in my flash document using the attachMovie command. The windows are triggered by buttons text on the stage. Should be simple enough and it is until I'm trying to remove the clip to close.

    I used this code on my button to attach the pop-up window:

    on {(press)
    this.attachMovie("popup","window",1);
    Window._x = 50;
    Window._y = 50;
    }


    To remove it, I have a button within the 'popup' with this attached script MC:

    on {(press)
    this.removeMovieclip ("window");
    }

    The MC however didn't disappear. If this could have something to do with the levels? I'm confused, it seems that it should be simple.

    Any comments would be welcome.

    Try: this ._parent instead.

  • Problem with popup LOV

    Hello

    I'm having a problem with a popup lov. When I click on the icon 'popup' I can choose a provider and it is stored in the field. But when I leave the form and come back later, it shows the value of return instead of the display value. For example: you select "vendor" in the pop-up list with ID 12. "Provider has" if displayed in the text field, when you save the form, it stores the ID 12 inside. But when you go back to the form, it retrieves the ID 12 and has '12' in the field of text rather than "Provider A".

    I tried to set the 'source' from the field popup lov as a SQL query, but that has not worked for me.

    No idea why this is happening?

    Thank you!

    Dennis

    (XE 11 g R2, apex 4.1.1.00.23)

    Hi Dennis,

    I guess that the value is not in the list because where condition, but it appears because of the "Additional display values" setting is set to Yes. See the help for this setting:
    "An element can have a value of session state that does not occur in its list of values. Specify if this list of values should display this extra session state value. If you choose not to display this additional session state value and there is no matching values in the list of values, the first value will be the value selected. »

    BR,
    Marko Goricki
    ----------------
    http://apexbyg.blogspot.com/

  • Problem with 'Text input' and «Close a PopUp» required

    Hello world

    I'm having a little problem with a popup,

    I have a popup with I opened on the action of a button with this code...

    {} public void showPopup (RichPopup loPopup)
    FacesContext facesContext = FacesContext.getCurrentInstance ();
    ExtendedRenderKitService = service
    Service.getRenderKitService (facesContext,
    ExtendedRenderKitService.class);
    service.addScript (facesContext, ' AdfPage.PAGE.findComponent ('"+ loPopup.getClientId (facesContext) +"') ". show();" ');
    }

    Show pop-up, ok within the pop-up window, I have a window Panel and a presentation of form with 3 text input, this input due reg exp validation text and are true... in my layout, I have 2 buttons, one to save the changes, and another button 'Cancel' to close the popup...

    The problem I have is, if one of the text entry has an "Error Message" (for the validation of reg exp or need) and I click on the button 'Cancel', don't close my popup.

    My code to close the popup in my grain of support is:

    this.getPoPo1 (.cancel ());

    Where poPo1 is a var RichPopup

    I already try with masquer()... and nothing!

    Hope someone can help me, I want to emulate the close context menu icon feature.

    Greetings from the Mexico!

    Alberto Tapia

    A Cancel button to true immediate property?

     
    

    This setting configures if data - client-side or server-side validation - is ignored when the events are generated by this component.

    Timo

  • problems with customization select lists and popup LOVs

    Hello


    I have 2 problems on selection lists and popup LOVs.

    The first is on a list in tabular form.
    It must be created with APEX_ITEM. SELECT_LIST_FROM_LOV or similar and take its values of a named LOV.
    This worked fine, but now it should also have the possibility to enter a free value.
    I tried to accomplish this by creating an APEX_ITEM. POPUP_FROM_LOV, but there is a problem with the function which is called the icon of the right arrow to the input field (for eg. genList_f11_5()).
    If the line is added by addRow, then it works fine, but if the line is not empty
    Then the function call is as genList_f11_$ _row () and the input field becomes worthless, when an LOV is selected.


    The other problem is on a list of selection that should have the opportunity to enter a custom value and
    It should also be able to select multiple values. I tried to implement this in a text box that contains the selected values, and a multiple select list, with an event handler in each option. The user can click on options and they would be copied into the text box. The problem is that I couldn't make the event handler works in Internet Explorer.

    I would like ideas on one of these problems.



    Tiina

    Hello

    It can be created at APEX_ITEM. TEXT.
    APEX_ITEM also generates the name attribute that I use the jQuery selector in the sample.
    Use jQuery UI autocomplete just similarly as in my example with APEX_ITEM

    Kind regards
    Jari

  • I had a problem with slow, so I used "reset". The popup ran forever so I stopped it. Now I can not remove or add the program.

    I had a problem with slow, so I used "reset". The popup ran forever so I stopped it. Now I can not use, remove or add the program. How should I proceed?

    TIA,
    BWSwede

    Try to create a new profile.

    See "create a profile":

    If the new profile works then you can transfer files from a profile in the new profile, but make sure not to copy corrupted files.

    What problems do you have that you want to reset Firefox?

    Firefox creates a new folder of old data of Firefox on the desktop?

    If reset you Firefox and a new profile is created and some of your data (bookmarks, passwords, cookies, form data) is automatically imported and your current profile will be moved on the desktop (old data of Firefox).

  • I'm having a lot of problems with firefox and cannot figure out how to get help. It all started when I updated to 13. I get all kinds of advertising popups, I can't play a

    I'm having a lot of problems with firefox and cannot figure out how to get help. It all started when I updated to 13. I get all kinds of advertising popups, I can't play a game on FaceBook called Farm Town at all, and I get a popup of AVG on the cookies that I can't get rid of. These issues are causing me to use Chrome quite often, although I like Fox better. I've searched and searched how to get help and find nothing. How can I get personalized technical help? These problems will not occur in Chrome at all. Thank you.

    Do a check with some malware malware, analysis of programs on the Windows computer.

    You need to scan with all programs, because each program detects a different malicious program.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • Problems with signal followed during sampling of the signal

    Hello

    I'm relatively new to LabVIEW 8.0 and I'm having a problem with being able to monitor the signals that I am gaining two simultaneous analog signals.  I have the user to input the frequency of sampling and the length of the sample, and then I starts the scan, but when running the analysis, I don't see no result on the chart if the duration of the sample is passed, at which point all data comes.  Previously, I could see the acquisition of real-time data and I don't know what I've done since then have possibly that stop working.  I tried to introduce a kind of late for may allow the software to apply the data to the graphics, but I had no success.

    I have attached the VI of the data acquisition component.

    Thank you so much for reading this.

    Hello

    I suggest you try these two options:

    1. in each iteration of the while loop, add your data to the data of the previous iteration, IE use a shift register to create an Adrien to data that you have acquired. When you save the data in a file, read data from the table and not the current value of the waveform. You can read the data in the table by using a queue, or by using any simple method to pass data between the blocks.

    When you use a local variable of the waveform card, you only read the current value in the array, not its history.

    2. use a property of waveform graphs node to read the history of the ranking, convert the picture from picture to picture 1 d 2D using cluster of waveform ungroup functions and write to the file, click on "Save".

  • New problems with adobe muse pages (page popup)

    Hello

    I have a problem with adobe muse is written something happens to the code of garbage in the index and in some cases, when you click on a button or link with a popup page opens aliexpress advertising, I wonder if there's a way to delete it in the code or is there a widget that block the emerging pages.

    Thank you if I can help

    Thank you allpagina_emergente.jpg

    It may be contributions for html elements of third party inserted into pages that includes this add which opens on the screen, or if any element of the page is connected to the adds.

    Also try to clear your browser cookies and then check.

    Thank you

    Sanjit

  • AF:panelTabbed - problem with displaying a popup on tab switching

    Hello

    I am facing a problem with disclosureEvent using clientListener of handling. I'm going to show a popup Ok/cancel whenever a user leaves a tab in panelTabbed.


    Here's the code: (this is the same code provided on the Oracle ADF code corner)

    < af:resource type = "javascript" >

    function alertTabSwitch (disclosureEvent) {}

    tab var = disclosureEvent.getSource ();

    {if (Tab.getDisclosed () == false)}

    popup var = tab.findComponent ('p1');

    Popup.Show ();

    popup.setProperty ("tabToOpen", tab.

    disclosureEvent.cancel ();

    }

    }

    function handlePopupOkCancel (actionEvent) {}

    popupButton var = actionEvent.getSource ();

    var butPressed = popupButton.getProperty ('popupAction');

    var = popupButton.getParent () dialog box;

    popup var = dialog.getParent ();

    If (butPressed == 'OK') {}

    var tabToFindAndFocusOnString = popup.getProperty ("tabToOpen");

    If (tabToFindAndFocusOnString.length > 0) {}

    var tab = AdfPage.PAGE.findComponentByAbsoluteId (tabToFindAndFocusOnString);

    tab.setDisclosed (true);

    actionEvent.cancel ();

    Popup.Hide ();

    }

    }

    else {}

    Close the pop-up window and stay on the page

    actionEvent.cancel ();

    Popup.Hide ();

    }

    }

    < / af:resource >

    < af:panelStretchLayout id = "PSL1" >

    < f: facet name = "center" >

    < af:panelTabbed id = "pt1" >

    < af:showDetailItem text = 'TAB 1' id = 'sdi1"disclosed ="true"stretchChildren ="first ".

    clientComponent = "false" >

    First tab

    < af:clientListener method = "alertTabSwitch" type = "Disclosure" / >

    < / af:showDetailItem >

    < af:showDetailItem text = 'TAB 2' id = 'sdi2' stretchChildren = 'first' clientComponent = "false" >

    Second tab

    < af:clientListener method = "alertTabSwitch" type = "Disclosure" / >

    < / af:showDetailItem >

    < / af:panelTabbed >

    <!-id = "af_one_column_stretched"->

    < / f: facet >

    < f: facet = 'Start' name >

    < af:popup = "deferred" autoCancel childCreation = "disabled" id = 'p1' clientComponent = 'true '.

    contentDelivery = "immediate" >

    < af:dialog id = "d1" title = "Tab switch Alert" type 'none' = >

    < f: facet name = "buttonBar" >

    < af:panelGroupLayout id = "g1" >

    < af:commandButton text = "OK" id = "cb1" partialSubmit = "true" >

    < name af:clientAttribute = "popupAction" value = "OK" / >

    < af:clientListener method = "handlePopupOkCancel" type = "action" / >

    < / af:commandButton >

    < af:commandButton text = 'CANCEL' id = "cb2" partialSubmit = "true" >

    < name af:clientAttribute = "popupAction" value = "CANCEL" / >

    < af:clientListener method = "handlePopupOkCancel" type = "action" / >

    < / af:commandButton >

    < / af:panelGroupLayout >

    < / f: facet >

    < af:outputText value = "Do you really want to switch tabs?" id = "ot1.

    inlineStyle = "do-size: medium;" Color: Red; "/ >

    < / af:dialog >

    < name af:clientAttribute = "tabToOpen" value = "" / >

    < / af:popup >

    < / f: facet >

    < / af:panelStretchLayout >

    Everything is done on the client side. When I click on a tab, first the "Unselect" event is fired for the selected tab and the value disclosed in this tab becomes false. After the value is changed, the listener is called.

    So in javascript, the same tab is released again after clicking OK.

    The value was not changed before calling the af: clientListener, this problem would not have arisen.


    Can someone help me with this?


    Kind regards

    Frédéric

    Change the as follows:

    The following has been tested against JDeveloper 11.1.1.7

    
    
        var theTabToClose;
        var theTabToOpen;
        function alertTabSwitch(disclosureEvent){
            var tab = disclosureEvent.getSource();   //This is the tab to close
            if(tab.getDisclosed()==false){
               theTabToClose = tab;
               theTabToOpen = disclosureEvent.getDisclosureCounterpart();
               var popup = tab.findComponent('p1');
               disclosureEvent.cancel();
               popup.show();
            }
        }
    
        function handlePopupOkCancel(actionEvent){
            var popupButton = actionEvent.getSource();
            var butPressed = popupButton.getProperty('popupAction');
            var dialog = popupButton.getParent();
            var popup  = dialog.getParent();
    
            if(butPressed == 'OK'){
                theTabToOpen.setDisclosed(true);
            }else{
                theTabToClose.setDisclosed(true);
            }
                actionEvent.cancel();
                popup.hide();
        }
        
    
  • Problem with the audio sampling during export

    I'm having a problem with my audio sampling rate. For some reason, it is set at 8 khz by default when I export. It wasn't a problem until the last update (2 weeks ago). I'll try and give all the info I can to the front. I also tried customer support... which was a nightmare.

    OK, the question that I address is that when exporting audio sampling rate is 8 kHz by default. Which to my knowledge has NO relevant use what so ever. Even when I set the file format to the h.264 format, he insists on the reset to 8 kHz. Even if I manually set all look rendering queue and click on output module again once it back the sampling frequency to 8 khz automatically of changes that I need to set it again. Why can it not only be fixed to 48000 like all other adobe products is and as it was two weeks ago. Does anyone have an answer?

    This problem is resolved by update fixes after effects CC (12.2.1), which is now available:

    http://Adobe.LY/AE_CC_1221

    Note the part at the end of this page on a crucial update for the creative cloud desktop application, which addresses serious problems with the SOUL, first Pro and After Effects.

  • Problem with opening an af:popup

    Hello

    I create a simple project that does something like this:

    < af:form >

    < af:inputText id = "1" / >
    < af:inputText id = "Number2" / >
    < af:commandButton action = "#{mybean.makeSum}" / >

    < af:popup id = "popupResullt" >
    < af:outputText value = "is the sum: #{mybean.result}" / >
    < / af:popup >

    < / af:form >


    # In my backBean:
    public void makeSum() {}
    This.Result = this.number1 + this.number2;
    }


    Problem: How to open the context menu and run my method "makeSum.

    I tried to do this:

    Attempt 1:
    < af:commandButton action = "#{bean.makeSum}" >
    < af:showPopupBehavior popupId = "popupResult" >
    < / af:commandButton >

    Problem here: the popup is open, but the makeSum method is not called.

    Attempt 2:
    < af:commandButton action = "#{bean.makeSum}" >
    < / af:commandButton >

    Here I I invoke the popup to my grain of support with this code:

    # In my backBean:
    public void makeSum() {}
    This.Result = this.number1 + this.number2;
    ExtendedRenderKitService erks is Service.getRenderKitService (FacesContext.getCurrentInstance (), ExtendedRenderKitService.class);.
    StringBuilder strb = new StringBuilder("AdfPage.PAGE.findComponent(\"popupResult\").show ();");
    erks.addScript (FacesContext.getCurrentInstance (), strb.toString ());
    }


    Problem here: the popup is not open, but the 'makeSum' method is called.

    My Question: How to the best way to call my method and open the popup of too.

    Thank you.
    Victor Jabur.

    Hello

    If you're on JDeveloper 11.1.1.3 then you can open the pop-up window of Java. To do this, you create a binding component to a bean managed the "binding" of the af:popup component property. This creates a getter/setter for RichPopup. The RichPopup exposes a method to open and close a pop-up dialog box

    Frank

  • Problem with vacation request sample for SOA deployment

    Hi all

    I'm having some problems with deployment of vacation request sample for SOA Suite 11 g and was hoping that someone here could help me. I'm a newbie with all this stuff.

    First of all to tell you what I've done so far. I installed on my local machine Oracle XE 10g on Windows Vista.
    I have followed through all the requirements of SOA Suite 11 g installation on my local machine (UCR crossed, I ran Configuration Manager to configure WLS on the local computer, installed jDev plugin to work with SOA etc.).
    Everything went well until I tried to deploy this app on WLS.
    Generation SOA went well but I have error when you try to deploy:

    Deployment - journal:

    [15: 39:09] > > > > WARNING: unable to determine the platform target profile. Using default...
    [15: 39:09]-deployment began. ----
    [15: 39:09] the target platform's (Weblogic 10.3).
    [15: 39:09] analysis of the dependence running...
    [15: 39:09] building...
    [15:39:25] deployment of profile...
    [15:39:25] update of the review for the project SOA "VacationRequest.jpr" id to ' 1.0'...»
    [15:39:25] wrote the Archives Module to E:\Documents\JDeveloper\SOAwork\VacationRequest\VacationRequest\deploy\sca_VacationRequest_rev1.0.jar
    [15:39:25] # incomplete deployment. ####
    [15:39:25] no SOA configured server found to deploy archive file:/E:/Documents/JDeveloper/SOAwork/VacationRequest/VacationRequest/deploy/sca_VacationRequest_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

    Since Oracle Enterprise Manager I can see that AdminServer and soa_server1 are running (bam_server1 isn't). But in tab 7 deployments are increasing and 14 are declining. These stockings are:

    Name | Goal
    -Resource adapters:
    AqAdapter | soa_server1
    DbAdapter. soa_server1
    FileAdapter | soa_server1
    FtpAdapter | soa_server1
    JMSAdapter | soa_server1
    MQSeriesAdapter | soa_server1
    Application DeploymentOracleAppsAdapter | soa_server1
    OracleBamAdapter | soa_server1
    SocketAdapter | soa_server1
    ___________________________

    b2bui | soa_server1
    composer | soa_server1
    DefaultToDoTaskFlow | soa_server1

    Thanks for the help!

    For some reason your installation seems to be corrupted.

    Server SOA is looking for its mandatory application, which is not able to find. I don't know, why the server is by looking at your file jdev for these applications.

    When you set up the field, chose the model SOA of ORACLE_HOME, or JDEV_HOME?

    You can try the rest of this http://www.installationwiki.org/Installing_Oracle_SOA_Suite_11gR1?

    Nodemanager is necessary if you want to start your WLS Console/EM servers. Since you started from command line, this is not necessary in this case.

Maybe you are looking for