EXIT button on the top level form is not working.

Hi I have 10g forms deployed on the web.
On the top level form, there is a exit button on it.
And for this form, under ALERTS I have two alerts viz. QUIT_ALERT and BANNER_ALERT.
Now when I press the EXIT button on the form, nothing is happening. Neither prompting the ALERT nor closing the FORM.
Where and What could be the problem??
I have the following code for the exit button
IF G$_DISPLAY_ALERT('QUIT_ALERT','Do you really wish to quit?') = ALERT_BUTTON1 THEN
EXIT_FORM;
END IFAnd the function G$_DISPLAY_ALERT has following code
FUNCTION G$_DISPLAY_ALERT(ALERT_NAME IN VARCHAR2,
MSG_STRING IN VARCHAR2) RETURN NUMBER IS
ALERT_ID ALERT;
AL_NAME VARCHAR2(30);
ALERT_BUT NUMBER;
BEGIN
IF ALERT_NAME IS NULL THEN
AL_NAME := 'G$_WARNING_ALERT';
ELSE
AL_NAME := ALERT_NAME;
END IF;
ALERT_ID := FIND_ALERT(AL_NAME);
IF ID_NULL(ALERT_ID) THEN
RAISE FORM_TRIGGER_FAILURE;
END IF;
SET_ALERT_PROPERTY(ALERT_ID, ALERT_BUT, MSG_STRING);
ALERT_BUT := SHOW_ALERT(ALERT_ID);
RETURN ALERT_BUT;
END;Edited by: Charan on Mar 30, 2011 2:01 PM

seems like some trigger is firing, because i'm getting a CAUTION popup now saying Please Acknowledge.Actually, the PAUSE() built-in is what brings up the "Please Acknowledge" alert. Clearly, your trigger is firing so there must be something wrong with either your WBP trigger code or your G$_DISPLAY_ALERT program unit.
Try the same technique on your program unit. I would also suggest you display a message in your Exception handler. My guess is that your function is failing but since you don't report the failure, it appears that your code runs successfully.
FUNCTION G$_DISPLAY_ALERT(ALERT_NAME IN VARCHAR2,
                      MSG_STRING IN VARCHAR2) RETURN NUMBER IS
   ALERT_ID         ALERT;
   AL_NAME          VARCHAR2(30);
   ALERT_BUT        NUMBER;
BEGIN
   Message('Alert_name: '||ALERT_NAME);
   PAUSE;
IF ALERT_NAME IS NULL THEN
   AL_NAME := 'G$_WARNING_ALERT';
ELSE
   AL_NAME := ALERT_NAME;
END IF;
ALERT_ID := FIND_ALERT(AL_NAME);
IF ID_NULL(ALERT_ID) THEN
   Message('Unable to find Alert: '||ALERT_NAME);
   Message('Unable to find Alert: '||ALERT_NAME);
   RAISE FORM_TRIGGER_FAILURE;
END IF;
SET_ALERT_PROPERTY(ALERT_ID, ALERT_BUT, MSG_STRING);
ALERT_BUT := SHOW_ALERT(ALERT_ID);
RETURN ALERT_BUT;
END;Then you can see what the value of ALERT_NAME is and verify your code is executing as expected.
Craig...
Edited by: CraigB on Mar 30, 2011 12:54 PM

Similar Messages

  • HT201412 If the on/off button at the top of my iphone stopped working, how can i shutdown the phone and rebot?

    If the on/off button at the top of my iphone stopped working, how can i shutdown the phone and rebot?

    Use Assistive Touch. Settings App > General > Accessibility > Assistive Touch > Device > Lock Screen. To turn OFF, hold down on the lock screen until slide to power off appears. To turn ON, connect iPhone to power, charger or USB port of computer.

  • The on/off button at the top of my iphone stopped working, how can i repair it? iPhone 4S

    the on/off button at the top of my iphone stopped working, how can i repair it?
    iPhone 4S, iOS 7.0.4

    Use Assistive Touch. Settings App > General > Accessibility > Assistive Touch > Device > Lock Screen. To turn OFF, hold down on the lock screen until slide to power off appears. To turn ON, connect iPhone to power, charger or USB port of computer.

  • TS2167 My pages do not come up when I try to visit them in the web browser - ie the top page links do not work.

    My pages do not come up when I try to visit them in the web browser - ie the top page links do not work.
    How do I reconnect the links to their relevant pages again (I use iWeb)

    The background photo is on top of the links. Select it and move it to the back or add the background image via the Inspector/Page/Layout pane in the Page Background section.
    OT

  • How can I Hide/ Disable the Question mark and Exit button in the Top right corner of Link Bar of Excel Documents in SharePoint 2013?

    Hi,
    How can we  Hide / Disable the Help(?) and Close(x) buttons which are located in the right corner of the Top Link Bar in the Sharepoint Document Library pages as well as Excel Web Access?
    Our requirement is : When we try to view the Excel Services Report from another web site, Help(?) and Close(x) icons are also appearing in the Excel Web Access Web Part, but we don't want to display them in our site.
    Please let us know the solution for this case.
    Thanks in advance.
    Regards,
    Sanjana

    Hi,
    In the xlviewer.aspx, we can find the two buttons like this:
    To hide them, you need to add the CSS into the xlviewer.aspx which stays in:
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • "Exit" Button to destroy Xlet-why does it not work???

    Hey there!
    I am very confused with KeyEvents in MHP and kind of stuck..
    I just want an EXIT Button for my Xlet-that's all!! I tried to different ways:
    The first one is compiling without any errors but it just does not work, either in XletView 3.6 nor in the IRT Implementation..Is there something i missed?
    Here is (a piece of) my first code:
    public void keyPressed (java.awt.event.KeyEvent KeyEvent) {
    int key = KeyEvent.getKeyCode();
    if (KeyEvent.getSource() == butt1 && key == HRcEvent.VK_ENTER)
    try {
    destroyXlet(true);
    catch (XletStateChangeException ex){
    butt1 is the "Exit" Button.
    I also tried this Code using the dvb UserEvent and UserEventRepository which worked pretty well with XletView, but failed when testing it with the IRT..
    public void userEventReceived(org.dvb.event.UserEvent userEvent) {
    int key = userEvent.getCode();
    if (userEvent.getSource() == butt1)
    if ( key == HRcEvent.VK_ENTER){
    try{
    destroyXlet(true);
    catch (XletStateChangeException ex){
    Why does this one not work with the IRT-Implementation?? Nothing happens at all when pressing ENTER on the RC..
    Has somebody an idea or fixed out which kind of mistake i made?
    As i said i am really stuck and i had a look at many examples, but nothing worked at all!!

    Hello Steve!
    Unfortunately your suggestion did not work too..
    I added context.notifyDestroyed() to destroyXlet(), the problem is that my application does not react on pressing VK_ENTER..
    Do you have any other ideas?
    The second code with dvb events just works without adding notifyDestroyed,
    but just with XletView, not with the IRT RI..

  • Why is the top of my screen not working in any of my downloaded  apps?

    When I use my FaceBook or any of my picture editing applications, it doesn't respond to the touch at the top of the screen.

    Have you tried to reset it?
    http://ipod.about.com/od/iphonetroubleshooting/qt/reset_iphone.htm

  • Radio button in the Inner tr:table is not working??

    hi guys,
    I am trying with Nested <tr:table> structure. Like, trying to displaying a table inside another table.
    In both Inner & outer table I have set the rowSelection=single, value for selectionListener, and autoSubmit=true.
    the problem that i am facing is, When i select a radio button from outer table, that's working fine.
    But when i select the radio button from the inner table which lies inside the <tr:column> of the outer table, the value is getting submit and infact method to be called is not getting called.
    what could be the reason?
    <tr:column headerText="#{appBundle['sentinel.entityRatingTemplate.ratio']}" sortable="true" separateRows="true">
                        <tr:outputLabel id="ratioName" value="#{financialRatio.ratioName}"></tr:outputLabel>
         <tr:table id="financialRatioChild" value="#{financialRatio.financialRatio}" var="childRatio" rows="20" width="100%" horizontalGridVisible="true"
                             verticalGridVisible="false" rowSelection="single" autoSubmit="true" selectionListener="#{pageManager.OnTableRowSelection}">
                             <tr:column width="40%" noWrap="false">
                                  <trh:cellFormat width="95%" halign="left">
                                       <tr:outputLabel id="childRatioName" value="#{childRatio.ratioName}"></tr:outputLabel>
                                  </trh:cellFormat>
                             </tr:column>
         </tr:table>
    </tr:column>the above code describes the inner table structure.
    The external <tr:column> is a column of outer <tr:Table>
    can anyone help me?
    thanx,
    subbu

    Hi raymond,
    Thanks for the reply.
    u r telling about restoring the selected the value. In my case it is happening in first time load itself.
    However, the radio button for the Parent row is working fine. Whenever i am clicking the radio button i can get the unique value assigned to that.
    The only difference is, the child <tr:Table> comes inside the <tr:column> of parent Table.
    This is what i cannot understand. Even already i raised another question which deals with handling elements inside the <tr:column>. Refer the following link
    [http://forum.java.sun.com/thread.jspa?threadID=5300426&messageID=10272716#10272716|http://forum.java.sun.com/thread.jspa?threadID=5300426&messageID=10272716#10272716]
    pls tell why and how this strange behaviour is happening.
    Thanks,
    subbu

  • WPS push button on the Linksys WRT610N router does not work. Please help.

    Hi,
    I am facing problems of the WPS Push Button on the Linksys WRT610N version 2.0 router which has stopped working. I don't see the Blue LED blinking. The WPS button no more works on the router. It was working before. I did a firmware upgrade. Could this be the cause?
    Please help me in solving this issue at the earliest.
    Leo.

    when you reset the router, did you notice that your network name changed?
    also check the settings on the router if the wps is enabled.
    with a computer wired to the router, are you able to go online?
    follow the instructions in this page to setup wps
    to connect another computer to the network, follow the instructions here

  • Does the "Exit" button on the captvate playbar works?

    Hello there..
    The Exit button on my captivate play bar is not working?
    Any reason?
    tnx.
    Kartik.

    Hi there
    Sorry, but I have to disagree. The real answer here is that it's not as simple as that. Sure, sercurity restrictions may be one possible cause but the causes are many. It's my own understanding that it often has to do with the way the window presenting the Captivate was opened to begin with.
    Click here for more
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • In application builder the top level vi is always set to "run when opened"; how do I turn this off so I don't have to change it each and every time I build a .exe??

    I build a lot of executables using Application Builder under LabVIEW and in every one I build, I don't want the top level vi to take off and run when I open the executable. Currently, I edit each .exe I build within Application Builder and change the option of "run when opened" from Yes to No for the top level vi. All the other subvi's are already set to No. It would seem as though there should be some way to "turn this off" if you will so the top level vi is not always set to "run when opened" by default within Application Builder. Is there such a solution that anyone knows of?? Any help would be apprec
    iated... thanks...

    Indeed the Application builder forces "run when opened" to true for top levels VIs. If you don't want your VI to make any real work when the application starts, you should simply put a do-nothing loop in the beginning of the VI that will loop until the user presses a boolean. It will be more intuitive for users to press a Run button on the FP than clicking on the white Run arrow in the bar.
    LabVIEW, C'est LabVIEW

  • XSQL file "Invalid at the top level of the document"

    I am trying to insert HTML form parameters into database using <xsql:insert-request>. It worked fine except that it displays <xsql-status action="xsql:insert-request" rows="1"/> after it inserts the data into the database. I am trying to follow the insertnewsform example in Steve's book "building oracle xml applications" to return user a thank-you note. Here is my problem:
    I have four files:
    faqform.html (html form, action=faqfeed.xsql)
    faqfeed.xsql
    request-to-faq.xsl (used as transform for faqfeed.xsql)
    thankyou.xsl (used for returning user a thank-you)
    When I submit the html form, I get an error saying:
    "The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Line 1, Position 43
    <?xml version = '1.0' encoding = 'UTF-8'?>"
    I didn't put "encoding..." in any of my xsql files, not sure where that came from. When I used faqfeed.xsql?xml-stylesheet=none in the url and it showed up as a well-formed xml file with all the info I need. Here is my faqfeed.xsql and thankyou.xsl
    ********* faqfeed.xsql ***********
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xsl" href="thankyou.xsl"?>
    <page connection="template" xmlns:xsql="urn:oracle-xsql">
    <xsql:insert-request table="faq" transform="request-to-faq.xsl"/>
    <xsql:query tag-case="lower" max-rows="5" rowset-element="" row-element="faq">
    select * from faq
    </xsql:query>
    </page>
    ********* thankyou.xsl **********
    <html xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xsl:version="1.0">
    <head><title>Thank you!</title></head>
    <body>
    <h3>Thank you for your faq!</h3>
    Your faq has been successfully inserted to the database!
    <table>
    <xsl:for-each select="page/faq">
    <tr>
    <td><xsl:value-of select="question"/></td>
    <td><xsl:value-of select="answer"/></td>
    </tr>
    </xsl:for-each>
    </table>
    </body>
    </html>
    Anything I am missing here that caused that error? Any hints would be greatly appreciated!
    Wenqi
    null

    Do the XSQL Demos work correctly on your system?
    The error you're getting seems like maybe the *.xsql extension is not mapped properly to the oracle.xml.xsql.XSQLServlet class in your servlet engine.

  • Passing data from a subvi to the top level with continuously running loops

    Hi All,
    This is a very simple question, for some reason the data available at a subvi indicator is not making it to the top level vi. I think it might be something to do with the while loop I am using but I cant figure it out, any help will be appreciated. I don't think I fully understand how the data gets out of a continuously running loop.
    GPSdisplay runs a driver called GPS.vi (im not worried about my event structure just yet which might be wrong, but I am yet to test that bit yet) Probe 1 should have the values from GPSCluster
    Loop within GPS.vi. GPSCluster (Probe 2) is being updated correctly
    I cant work out why the data is not being passed to GPSCluster in the top vi
    Solved!
    Go to Solution.

    Hi bennymacca,
    I think you are on the right track with an FGV. You can do this fairly easily with the GPS vi that you have.
    Before I go any further, your GPS while loop will only return the last reading, and because the "Read" boolean output state is FALSE, it will not stop. Do you see it exit at all? From the logic I read, once entering this while loop it won't stop until told to.
    There are a 3 options you can try.
    1) Use an FGV, as you are looking into. To do this you will need to change the state boolean to TRUE and put shift registers in for the GPSCluster - to parse the information around, holding it each time the vi is called and exited. Outside the while loop you will wire up the Cluster to the indicator that you wish to collect (OR, you could have it inside the case statement where it is read - be careful here, though). 
    2) in the main code, above the sequence frame you can place the GPS vi while loop (the "Read" one), having the state boolean wired to a Stop button local variable. This while loop will start depending on how LV feels, so wire an error line to both the While loop and Frame start (indicating that both are to run in a parallel fashion), OR you can put it in a case statement and say 'go' when you want to start reading. With this while loop, you can then output the Read data directly into your Cluster variable as it is generated.
    But, with (2) you are moving yourself away from the purpose of the GPS vi, which would be to bring all functionality of the GPS functionality into one sub vi - which is a good idea.
    3) put a condition on the "Read" case statement boolean state - only make it TRUE when you wish to stop reading data (do you have a time or condition you can refer to here?). Even doing so, you would/may still need shift registers on your while loop to retain data for each iteration.
    I hope all of that helps. Cheers. David.

  • I have an InfoPath with submit button, publish the same to form library.

    Hi All,
    i have an InfoPath with submit button, publish the same to form library.
    Now, i open the form  fill it and attach some files, when i press submit button, that attachments will go to the particular document library.
    Can any one help me out.
    Thanks in Advance!

    Hi Anil,
    According to your description, my understanding is that the attachments attached to the form were submitted to an documents library.
    By default, the attachments should be attached with the InfoPath form and will not be submitted anywhere.
    There may be some customizations on the form that is to submit the attachments to the document library.
    Please check the links below if the customizations are made in the form.
    http://www.bizsupportonline.net/blog/2010/01/upload-document-sharepoint-infopath-form/
    http://www.bizsupportonline.net/blog/2010/04/top-10-questions-infopath-file-attachments/
     Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How to remove the worksets from the Top level navigation for the ESS role.

    Hi All,
    I am working on enabling and disabling certain services in the ESS worksets.
    we are using EP 7.0, ECC 6.0 (NW2004s).
    When I login as a user with ESS role, I can view the changes in the overview pages. However, the worksets are still visible in the TOP Level navigation of th poral. can anyone please explain me how to remove the workset from the Top level navigation.
    Thanks for your help
    Regards
    SM

    Hi,
    Go to the ESS role via Content Admin, then double click the workset (or page or iview) and in the drop down select navigation. Then click the <i>Yes</i> radio button of the "<i>Invisible in Navigation</i>" property.

Maybe you are looking for