Overide on-error with when-new-button-pressed

Hi,
I have a big problem and not much time to solve it so posting on here hoping someone will know the answer. I have put an exit button on my form which calls a method that uses GO_FORM to return to a menu page.
I don't want to close oracle forms down completely so I can't use the exit_form command. However I want the close button to return the user to the menu without validating or saving the current form.
My problem is that I catch errors in a date field using an on-error trigger and this always fires before the when-button-pressed meaning my user gets an error before leaving the form.
How do I ignore the on-error trigger when my close button is pressed and not when exiting the field which contains the date.
I have tried setting the execution hierarchy to after on the on-error and override on the when-button-pressed but this seems to have no effect.
Thanks for any help
Dan

One solution would be to add a menu for the form. For some reason menu items and toolbar buttons don't cause the loss of focus to occur. If you used a menu to fire a trigger to close the form then you could set a flag that could be checked in your on-error trigger. If the flag was true(or whatever) then you don't perform your validation.
I'm usually angry that the toolbars and menus don't cause those triggers to fire, but I've had a couple cases similar to this where it actually works out for the better. Not sure if having a menu for, what sounds to me like, a dialog will look the best, but it should work.

Similar Messages

  • Error with making new buttons

    Here is the code, in the code I have created a new button called ClickToPlay. Though when I compile this code I receive an error telling me that it cannot find symbol
    symbol: constructor Button(java.lang.String)
    location: class Button
    ClickToPlay = new Button("Click her to play");
    Please, someone try to find the error and help me out here, here is the code.
    import java.applet.*;
    import java.awt.*;
    import java.net.*;
    public class DrakonTitle extends Applet implements Runnable
         Font bigFont;
         Font NotSoBig;
         int xPos = 100;
         int yPos = 200;
         int radius = 20;
         Image ScreenChar;
         URL base;
         MediaTracker mt;
         private Image dbImage;
         private Graphics dbg;
         public void init()
         mt = new MediaTracker(this);
         bigFont = new Font("Arial",Font.BOLD,100);
         NotSoBig = new Font("Arial",Font.BOLD,30);
         Button ClickToPlay;
         ClickToPlay = new Button("Click here to play");
         add(ClickToPlay);
         try
              base = getDocumentBase();
         catch(Exception e) {}
         ScreenChar = getImage(base,"FrontScreenCharacter.jpg");
         mt.addImage(ScreenChar,1);
         try
              mt.waitForAll();
         catch(InterruptedException e)
         public void start()
              Thread th = new Thread(this);
              th.start();
         public void stop()
         public void update (Graphics g)
         if (dbImage == null)
         dbImage = createImage (this.getSize().width, this.getSize().height);
         dbg = dbImage.getGraphics ();
         dbg.setColor (getBackground ());
         dbg.fillRect (0, 0, this.getSize().width, this.getSize().height);
         dbg.setColor (getForeground());
         paint (dbg);
         g.drawImage (dbImage, 0, 0, this);
              public void destroy()
              public void run()
                   while(true)
                        xPos++;
                        repaint();
                        try
                             Thread.sleep(17);
                        catch(InterruptedException ex)
         public void paint(Graphics g)
              g.setFont(bigFont);
              g.drawString("Drakon:",45,100);
              g.setFont(NotSoBig);
              g.drawString("Lord of Lords",100,160);
              g.drawImage(ScreenChar,xPos-radius,yPos-radius,2*radius,2*radius,this);
    }

    It is likely that you have a Button class on your computer that is not java.awt.Button and javac is finding this class. If you add "import java.awt.Button;" or change the line to "java.awt.Button ClickToPlay" and "ClickToPlay = new java.awt.Button......" it should work.

  • Show error Msg if delivery type is 'Expedited' when 'Order' button pressed

    Hi,
    In the order.jsp if the Delivery type is 'Expedited' I should show error messge when the user press the 'Order' button. The Order button is placed in closer_details.jsp.
    I thought of putting a flag but how the value would be passed between order,jsp and closer_details.jsp?
    Please help.

    Hi Harish,
    From your description of problem I assume that you are using ISA 4.0 because closer_details.jsp used in ISA 4.0 in ISA 5.0 there is no closer_details.jsp
    It can be done. You can achieve desire functionality through Java script.
    I did the same thing in one of my previous project.
    in Closer_detail.jsp you can get value of delivery type element through javascript.
    Suppose 'Delivery Type' has incoterm as id and name and it is select box.
    Frame name of order.jsp is position--you can find this frame name in frameset_order.jsp
    Create Java script function in closer_Details.jsp and check value of delivery select box. like below.
    Create Java script variable -parent.positions.document.forms['order_positions'].incoterm.options-[incoterm.selectedindex].text;
    Once you have text value of your delivery type select box you can check this value -Expedited- in if condition and display error message before submitting form.
    Call this function before submit in Closer_Detail.jsp
    You are done.
    Let me know if you face any problem.
    Regards.
    Ecommerce Developer.

  • How to show system form with a new button

    Hi experts,
         I created a new button on the sales order system form, I need that the new button calls other system form, How can I show a system form with my new button?
    Thaks.
    César Lemus.

    Hi César,
    On the Item Pressed Event of the button, Write the code to show the other system form. The sample for this is as follows.
    Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
                          If pVal.ItemUID = "URButtonID"
                                    SBO_Appln.ActivateMenuItem("Menu ID of ur system form.")
                          EndIF
    Hope this is helpful. If yes reward points.
    Regards,
    Vasu Natari.

  • How is when a button pressed a report will come to the same page !!!

    Hi all,
    I wonder that is it possible to bring a report to the page as a region but only when a button pressed in apex .When ı clicked the go button for example ı want to list a report in the same page.
    but I dont know how .If is this possible can you explain me please.I need help!
    Thanks!

    Create your report in a region as normal.
    Create a second region and in this region create an item eg p171_item.
    In the same region create 2 buttons
    Get Report and Reset (branching back to same page).
    Create 2 page processes (PLSQL) on submit after computations
    1. GET REPORT
    DECLARE
    v_item number;
    Begin
    select 1 into v_item from dual;
    :P171_ITEM := v_item;
    end;
    2.RESET
    DECLARE
    v_item number;
    Begin
    select 2 into v_item from dual;
    :P171_ITEM := v_item;
    end;
    Tie the processes to the buttons.
    On your report region put a condition
    PL_SQL RETURNING BOOLEAN
    IF :P171_ITEM = 1 THEN
    RETURN TRUE;
    ELSE
    RETURN FALSE;
    END IF;
    Now by pressing the buttons the report region is opened and closed.
    Now hide P171_ITEM.
    Gus

  • Error with When Clause SQL Loader

    I´'m trying to use WHEN clause in a control file, I'm following the documentation but it doesn't work still.
    This is my control file:
    LOAD DATA
    CHARACTERSET UTF8
    INTO TABLE DM08_CONDICIONADA
    WHEN (STATUS_DESC='A')
    APPEND
    REENABLE DISABLED_CONSTRAINTS
    FIELDS
    TERMINATED BY '|'
    "ID_COND" POSITION (1) INTEGER EXTERNAL ,
    "DESC_COND" CHAR,
    "STATUS_DESC" CHAR
    I have the follow error:
    SQL*Loader-350: Syntax error at line 26.
    Expecting "(", found keyword append.
    APPEND
    ^
    I have tried with
    WHEN STATUS_DESC='A'
    but the error is the same. Do you have any ideas why is that?? I'm working with oracle 9i.
    Greetings
    Oscar

    with:
    LOAD DATA
    CHARACTERSET UTF8
    INTO TABLE DM08_CONDICIONADA
    APPEND
    WHEN STATUS_DESC='A' --->with (STATUS_DESC='A') neither
    REENABLE DISABLED_CONSTRAINTS
    FIELDSTERMINATED BY '|'
    I have:
    SQL*Loader-350: Syntax error at line 27.
    Expecting "(", found keyword reenable.
    REENABLE DISABLED_CONSTRAINTS
    With:
    LOAD DATA
    CHARACTERSET UTF8
    INTO TABLE DM08_CONDICIONADA
    APPEND
    REENABLE DISABLED_CONSTRAINTS
    WHEN (STATUS_DESC ='A')
    i have:
    SQL*Loader-403: Referenced column STATUS_DESC not present in table DM08_CONDICIONADA.
    I´m using the documentation...
    -->full_fieldname or pos_spec-->operator--> char_string or Blanks --->
    but it doesn't tell me where the when clause goes... i'm probing too with the forum information but i don't know what happens.
    Thanks Jens

  • Try to debug the query when save button pressed

    Hi, could some body tell me how can I see the SQL statement when the trigger is executed. I have a save button, when it is pressed it does a commit to insert data to database. I would like to see a sql statement something like : "insert into xxxx (xxx,xx,...) values (xxx,xx,...). I checked the System.last_query but it still shows the select statement to get into the form. Not the actural LAST STATEMENT. please help!

    Hi!
    If you commit the form and insert data after that,
    that data will not being commited to the database and got lost until you use
    something like forms_ddl ( 'commit' ); after the insert.
    :system.last_query, which is the very last query of a block in your form,
    will never show an insert in any trigger.
    May a commit-trigger is not a good place for an insert.
    But anyway, hope this help you.
    Regard
    Stauder

  • Commit_form creating issue with When-New-Record-Instance trigger

    Hello friends,
    I am using Oracle forms 6i . I have a multi-data block. I have written commit_form in when-new-record-instance of the data block. When I launch the form on my instance the form does not open.
    But when I comment out this code, the form opens on the instance. What could be the exact problem?
    Also is there any condition that I can specify if the whole data block is null when I open the form?

    Hi...
    In When-New-Record-Instance, check if the block status is NEW. If Not, then just apply COMMIT_FORM;
    try this code in your trigger
    IF :SYSTEM.BLOCK_STATUS = 'CHANGED'
    THEN
    COMMIT_FORM;
    END IF;
    Should work for you.
    Thanks....

  • Error with boot new zone

    hi from Bulgaria
    I've made 3 non-global zones and everything was fine but after i tried to the four one the following error occur
    when i tried to boot it:
    bash-2.05b# zoneadm list -vc
    ID NAME STATUS PATH
    0 global running /
    2 zone3 running /zone/3
    3 zone2 running /zone/2
    4 zone1 running /zone/1
    - zone4 installed /zone/4
    bash-2.05b# zoneadm -z zone4 boot
    zoneadm: zone 'zone4': bge0: could not add interface: No buffer space available
    zoneadm: zone 'zone4': call to zoneadmd failed
    Regards
    Sofia, Bulgaria 8.26.2004

    Hello,
    Which build are you running (uname -v)?
    Can you try the following command:
    # ifconfig bge0 addif 1.2.3.4/24 up
    and see if it produces the same error message ("No buffer space available")?
    Thanks,
    Blaise

  • Error with "Add new Row" button in Master detail VO

    Hi,
    Am having a header VO , Forecast HeaderVO and a child VO
    ForecastLineVO, now forecastHeaderVO has two bind condition attached to it,and when we run header Vo line VO will automatically execute as they are linked by a view link.My child Vo is attached to a advance table, which has a ADD Another Row button,Now when i press the button for the case where no header is is there it shows me a error"Failed to find or invalidate owning entity".
    Below am giving the coding what i have written in the AM to handle the Add New Row button,
    public void createForecastTarget(String month, String year,String fortnight,String forecastmonth,String forecastyear)
    ForecastLineVOImpl vo1=getForecastLineVO();
    ForecastHeaderVOImpl vo=getForecastHeaderVO();
    System.out.println("Start");
    vo.setWhereClauseParam(0,month);
    vo.setWhereClauseParam(1,year);
    //vo.setWhereClauseParam(2,fortnight);
    vo.setWhereClauseParam(2,forecastmonth);
    vo.setWhereClauseParam(3,forecastyear);
    vo.executeQuery();
    if (!(vo1.isExecuted()))
    throw new OAException("ASF", // Message product short name
    "MIS_SEARCH_PENDING");
    // We need to do this on a VO that has not been queried before we insert
    // our first row. We don't want to do it for subsequent inserts.
    System.out.println(vo.getFetchedRowCount());
    if (vo.getFetchedRowCount() == 0)
    // vo.setMaxFetchSize(0);
    int rownum = vo.getFetchedRowCount() ;
    OARow row = (OARow)vo.createRow();
    int rownum1 = vo1.getFetchedRowCount() ;
    System.out.println("In between");
    OADBTransaction transaction = getOADBTransaction() ;
    Number forecastid = transaction.getSequenceValue("MIS_FORECAST_HEADER_S");
    Number forecastlineid = transaction.getSequenceValue("MIS_FORECAST_LINE_S");
    System.out.println(forecastid+" "+forecastlineid);
    row.setAttribute("ForecastId",forecastid);
    row.setAttribute("DataEntryMonth",month);
    row.setAttribute("DataEntryYear",year);
    row.setAttribute("DataEntryFortnight",fortnight);
    row.setAttribute("ForecastMonth",forecastmonth);
    row.setAttribute("ForecastYear",forecastyear);
    vo.insertRowAtRangeIndex(rownum,row);
    vo.clearCache();
    transaction.commit();
    // Required per OA Framework Model Coding Standard M69
    row.setNewRowState(row.STATUS_INITIALIZED);
    OARow row1 = (OARow)vo1.createRow();
    row1.setAttribute("ForecastId",forecastid);
    row1.setAttribute("ForecastLineId",forecastlineid);
    System.out.println("forecast id"+forecastid);
    vo1.insertRowAtRangeIndex(rownum1,row1);
    // Required per OA Framework Model Coding Standard M69
    row1.setNewRowState(row1.STATUS_INITIALIZED);
    else
    int rownum2 = vo1.getFetchedRowCount() ;
    System.out.println(rownum2);//+vo1.getCurrentRow().getAttribute(1))
    System.out.println(vo.first().getAttribute("ForecastId"));
    OARow row2 = (OARow)vo1.createRow();
    row2.setAttribute("ForecastId",vo.first().getAttribute("ForecastId"));
    OADBTransaction transaction = getOADBTransaction() ;
    Number forecastlineid1 = transaction.getSequenceValue("MIS_FORECAST_LINE_S");
    row2.setAttribute("ForecastLineId",forecastlineid1);
    // row2.setAttribute("DeleteAttr", "N");
    vo1.insertRowAtRangeIndex(rownum2,row2);
    // Required per OA Framework Model Coding Standard M69
    row2.setNewRowState(row2.STATUS_INITIALIZED);
    System.out.println("forecast line id"+forecastlineid1);
    Now while debugging i found out that am getting the error in the if block
    in the code
    OARow row1 = (OARow)vo1.createRow();

    Hi,
    Summit ,again am getting the error and i think am getting it in the line when am trying to create one for line VO
    as OARow row1=(OARow)vo1.createRow();
    Below am giving the stack trace
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity.
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1142)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1294)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2396)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity.
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:985)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:210)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:692)
         at mis.oracle.apps.asf.dcp.frcst.webui.ForecastDealerCO.processFormRequest(ForecastDealerCO.java:158)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:734)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:943)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1546)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:373)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:340)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2392)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity.
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:985)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:210)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:692)
         at mis.oracle.apps.asf.dcp.frcst.webui.ForecastDealerCO.processFormRequest(ForecastDealerCO.java:158)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:734)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:943)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1546)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:373)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:340)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2392)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    Please help.

  • Time Machine Error with brand new WD My Book Studio Edition

    I have a brand new iMac and just bought a new WD My Book Studio Edition 500 gb HD for specific use with my Time Machine. The iMac has a 500 HD is about 3 months old and the WD HD is brand new. I am getting an error when I try to activate and back up with Time Machine that says, " Time Machine Error. This backup is too large for a backup volume. The backup requires 524.4 gb but only 465.5 gb are available. To select a larger volume, or make the backup smaller by excluding files, open System Preferences and choose Time Machine."
    I copied the files from the Time Machine to my hard drive to make as much space as possible. I have a capacity of 465.44 GB and 28.48GB of free space on my MacHD. I have a capacity of 465.64 GB and 465.49 GB of free space on my WD. It is formatted Mac OS Extended (Journaled) the way it was originally sold. I have not tried to reformat. Not too sure about how to. But I have tried all of these scenarios.
    I have tried the following and nothing works to get Time Machine backing up at all:
    1. I have changed the preferences in Time Machine Options to a smaller file size excluding the applications folder (appx. 12 GB),
    2. I have zapped the P-RAM,
    3. I have reset the index in the Spotlight by putting my Macintosh HD and Time Machine in the Privacy section, let it reindex and then pulled it out, and
    4. I have deleted the preferences in Macintosh HD>Library>Preferences>com.apple.TimeMachine.plist.
    Nothing is working and I bought the HD when I was home visiting in the states and I live in Bogota, Colombia. Quite hard to return HD.
    Can anyone help me?
    Thanks,
    Marsh64

    You have a nearly full 500 GB hard drive and you are trying to use TM with a 500 GB hard drive - but the way TimeMachine works, your TimeMachine hard drive should be at least twice the size of your backup data. In other words, to use TM effectively you should have bought a 1 TB external drive.
    With a 500 GB drive for backups, you need to determine exactly what has to be backed up and what can be left out. If you open the TimeMachine preferences you'll see that there's an Options button. Click it and you can select folders to exclude from backing up. For example, you might decide that you don't need to back up your music because it is all on your iPod anyway and the Mac OS and your applications are all on CD so those can be left out. By carefully paring the list down you may be able to get your backup data down under 250 GB and if so, then TimeMachine will do the job for you.
    Another solution would be to drop TimeMachine as your backup solution and simply use a program such as SuperDuper! or CarbonCopyCloner (CCC) to perform your backups. There are advantages and disadvantages to each backup method. As you mull your options, don't be afraid to ask more questions.

  • Script to validate a field when submit button pressed not working

    I have a script to validate certain fields and generate an error message if fields are blank or not filled out correctly. Everything works fine except for one of them. I'm trying to generate an error message if one of the fields have an invalid format in it. For example, the format should be ''XXXX.XX'' (all numbers) so if they enter ''XXXX'' the error message will generate and the form will not submit. I have a function setup under this particular field and it works but unfortunately users are ignoring the error message and submitting the form anyway and this field really needs to be right before it's submitted.
    This is what I'm using for it:
    var bCancel = false;
    var strMsg = "";
    if (getField("Tracking").value == /^\d{0,4}(\.\d{0,2})?$/) {
    bCancel = false; }
    if (getField("Tracking").value != /^\d{0,4}(\.\d{0,2})?$/) {
    strMsg = "Invalid Format. Please correct before continuing. (EX: 0000.00)";
    bCancel = true; }
    So the problem is it generates the error message now even if the format is correct. I'm sure I did something wrong but I wrote the format the same way (/^\d{0,4}(\.\d{0,2})?$/) when I ran a custom format script under this field and it worked fine so I'm not sure what I'm doing wrong. I'm also including this part of the script with the rest of the field validations in the submit button. So altogether it looks something like this (just with a lot more fields, didn't include all of them bc it gets pretty redundant)
    var bCancel = false;
    var strMsg = "";
    if (getField("Tracking").value == /^\d{0,4}(\.\d{0,2})?$/) {
    bCancel = false; }
    if (getField("Employee Name").value >= 1) {
    bCancel = false; }
    if (getField("AcctNbr1").value >= 1) {
    bCancel = false; }
    if (getField("Tracking").value != /^\d{0,4}(\.\d{0,2})?$/) {
    strMsg = "Tracking field format is invalid. Please correct before continuing. (EX: 0000.00)";
    bCancel = true; }
    if (getField("Employee Name").value == "") {
    strMsg="At least one required field was empty on export. Please fill in the required fields (highlighted) before continuing.";
    bCancel = true; }
    if (getField("AcctNbr1").value == "") {
    strMsg="At least one required field was empty on export. Please fill in the required fields (highlighted) before continuing.";
    bCancel = true; }
    if (bCancel){
    app.alert(strMsg);
    } else {
    this.mailDoc({
    bUI:       true,
    cTo:      "[email protected]",
    cSubject: "Form Returned: Maintenance Form"});
    I'm fairly new to scripting, especially in Adobe, so I probably didn't do a great job with all of it. Please let me know if there's anything I need to change to get it working better. Thanks in advance for your help!

    OK, below are two regular expressions that may do what you want:
    var re1 = /^\d{4}\.\d{2}$/;
    var re2 = /^[1-9]\d{3}\.\d{2}$/;
    The first, re1, will match any four digits, followed by a decimal point, followed by two digits. A potential problem with this is it will match a string like "0001.23", which may not be what you want. If you don't want it to match a string with leading zeroes, you can use the second one, re2. It will match any digit from 1 to 9, followed by any three digits, followed by a decimal point, followed by two digits.
    The test method of a regular expression takes a string as an argument and will return true if it matches the regular expression, or false if it doesn't. Here are some example outputs given various field values and methods of getting the field values:
    // Text1 field value is 0123.45
    // Get the field value.
    // The variable num will be a number, not a string
    // num will equal 123.45
    var num = getField("Text1").value;
    // Test regular expression against num
    bOK = re1.test(num);   // returns false
    // Now get the field value as a string
    // num will equal "0123.45"
    var num = getField("Text1").valueAsString;
    bOK = re1.test(num);   // returns true
    // Now use the other regular expression
    bOK = re2.test(num);  // returns false
    // Text1 field value is now 1234.56
    // num will equal "1234.56"
    var num = getField("Text1").valueAsString;
    bOK = re2.test(num);   // returns true
    To summarize, if you want to not allow leading zeroes, get the field value using the valueAsString field property, and use a regular expression that does not match a leading zero. You should probably change the regular expression you're using in the Keystroke script if you want to prevent the user from entering a number with any leading zeroes.

  • Quiz Issues - Not highlighting selected answers when 'back' button pressed

    Any help would be very much appreciated for this problem.
    On Captivate 5.5. and have a few quizzes with anything from 18 questions to 37, the user enters their name and it moves onto the question page.
    For example, the user answers question one and goes forward, then goes back one and the answer is no longer selected but the question is locked. When the user comes to review the quiz, it now says the question hasn't been answered when is has been and obviously doesn't get a mark.
    Anyone else experienced this or have a clue how to fix it? My preferences are as follows:

    Lilybri, I'm not sure if I explained myself well enough in my original post.
    User answers question one - presses submit button. CP moves to next question, no problem.
    User then answers question two, presses submit button.
    User moves back to question two and the button they had selected is no longer selected and the question is locked (it should be locked obviously, but CP should show which answer the user selected).
    When you review the quiz it claims 'you did not answer the question completely'. When you had selected something. Also in tests, it was found it knocked off two points from the user sometimes.
    I've just tested one this morning and it seems to be it'll sometimes happen on first go, or you have to move forward and backwards a few times for it to start up this behaviour. Any help is appreciated.
    https://apps.kcadeutag.com/cbt/CBTs/questiontester/questionsformodule1.htm
    Is a link to one of the modules.

  • How do I clear an error message when the buttons available do not work?

    I have an error message that says 'cannot verify server identity' and when it asks me to continue or cancel or details, well when I push the buttons nothing happens. I cant clear the message and my iPad is virtually useless. Can someone help figure out what I'm supposed to.

    Try a reset and see if it works properly after the iPad has restarted : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider if it appears), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Linking frames to other frames when a button press

    Hi every one new to Java in my 2 year at University College Chester,
    4 week using Java to build an application, how do you link to another frame when a Jbutton is pressed sending full control to the new frame, i want to leave the old frame open as when i close the new frame i wish to return to the old frame! and would i use system.exit(0); to close the new frame as i think this closes the application altogether.
    Any help Please!
    Thank inadvance for help!

    Just create a new JFrame and show it on button usage, maybe additionally assign the focus to one of it's components. Set the JFrames default close operation to DISPOSE_ON_CLOSE and you should be fine.

Maybe you are looking for

  • Question about this job SXMS_REFRESH_ADAPTER_STATUS

    Hi experts,     For what is this job: SXMS_REFRESH_ADAPTER_STATUS ?? The SAP people recommend me to schedule this jobs in my XI environment but I check over the internet to find some information of it but I don't find much. Someone can explain me the

  • Anonymous Block Help

    Hi all, DECLARE TYPE TEST_ARRAY IS TABLE OF EMPLOYEE%ROWTYPE; V_DATA TEST_ARRAY; CURSOR C1 IS SELECT * FROM EMPLOYEE; BEGIN OPEN C1 ; LOOP FETCH C1 BULK COLLECT INTO V_DATA LIMIT 1000; FORALL I IN 1..V_DATA.COUNT NULL;--DBMS_OUT EXIT WHEN C1%NOTFOUND

  • Best Way to move MB database from single XCH 2010 to 2013 DAG

    Hi, We are migrating from a Single Exchange 2010 sp3 server to a 2-node exchange 2013 DAG cluster, located in another AD site. I can move a mailbox from 2010 to 2013 without issue, but the WAN link between 2010 and 2013 is very small. It will take us

  • Link to web address

    hello, I want to create a plugin asking link to web address. how do I create my object PDAction? thank you for your help

  • Why are menus grayed-out in trial version? how can I use the effects then?

    why are menus grayed-out in trial version? how can I use the effects then?