Weird Problem with Add Row Button in Master Detail Page

I have a page that was created with a Master Detail Wizard. When I click the Add Row button on our Production Environment, the row counter increments BUT no blank row shows on the screen.
In our Development Environment, when I click the Add Row button, a blank row appears as expected. Thinking there was some problem with the production app, I exported the Dev version and imported into Production. Still no blank row.
Thinking perhaps it had something to do with the data, I copied our production application data back into the development application tables. Still, the development app creates the blank row where the production version does not.
I even used the same browser window for both environments and still get the same results. This was working fine in production then just stopped one day.
The only clue I have is that the Add Row WILL work if the Master Record has no details or less than a page worth. It seems to happen when the detail records are more than one page worth. Also, when I click the Add Row button, it goes to the last page of the list (say three pages of 10, 10, 6) but no blank row shows up. Again, works fine in the development environment no matter how many pages.
Any ideas or suggestions why this is happening? Could there be some environment setting that is causing this to happen?

I have a page that was created with a Master Detail Wizard. When I click the Add Row button on our Production Environment, the row counter increments BUT no blank row shows on the screen.
In our Development Environment, when I click the Add Row button, a blank row appears as expected. Thinking there was some problem with the production app, I exported the Dev version and imported into Production. Still no blank row.
Thinking perhaps it had something to do with the data, I copied our production application data back into the development application tables. Still, the development app creates the blank row where the production version does not.
I even used the same browser window for both environments and still get the same results. This was working fine in production then just stopped one day.
The only clue I have is that the Add Row WILL work if the Master Record has no details or less than a page worth. It seems to happen when the detail records are more than one page worth. Also, when I click the Add Row button, it goes to the last page of the list (say three pages of 10, 10, 6) but no blank row shows up. Again, works fine in the development environment no matter how many pages.
Any ideas or suggestions why this is happening? Could there be some environment setting that is causing this to happen?

Similar Messages

  • Hiya, I've got a weird problem with my iPhone4. On the 'home page' of my iPhone the mail symbol tells me there's a new mail waiting for me. However, there's no new mail to be found. Does anyone know what the problem is? Thanks

    Hiya, I've got a weird problem with my iPhone4. On the 'home page' of my iPhone the mail symbol tells me there's a new mail waiting for me. However, there's no new mail to be found. Does anyone know what the problem is? Thanks

    This response is a little late as I just read about your problem. I have a 2012 Dodge Charger and a 2012 Chrysler Town and Country and both worked flawlessly with the iPhone 5s my wife and I had. However, we just upgraded to the iPhone 6 and Uconnect will receive calls but you cannot answer them. You can callout successfully, however. the annoyance being the inability to answer incoming calls in the HandsFree mode.

  • Problem in add row button in apex3.2

    Hi All,
    I have a requirement in tabular form in apex3.2 in which when i click the add row button the add row function is working and 1 row is loaded. again when i click the add row button it should load multiple rows according to my number of click. This condition is working in apex 4.1 but not in 3.2.
    With Regards
    Wildfire;;;

    apex 3.2 is different to 4.1, because in 4.1 it adds the rows on the fly without submitting the page.
    But in 3.2 it submits the page and adds the new row, when submitting the page it adds any newly entered row into database and adds a blank row.
    But in your scenario you are adding a blank row and not populating the values and clicking the add row to get another blank row, Which will try to post the existing blank row into database and adds new row(so you loose the first blank row)
    I guess there was an option in (button or process) 3.2 to specify the number of blank rows you want.
    Thanks

  • Quick search and New buttons on master - detail pages

    Hi
    When I generate master-detail pages, the master has quick search and new button, but detail's doesn't. How can I generate the detail with quick search and new button options?
    Thanks in advance
    Liceth

    Liceth,
    Only one group within a page can have Quick Search functionality.
    A New button is generated for a group when insert is allowed and the layout style includes a form layout page (table-form, select-form, form or tree-form)
    Steven Davelaar,
    JHeadstart Team.

  • 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.

  • Master/detail and problem with selected row when errors on detail row

    I'm using JDeveloper 10.1.3.3
    I have a very simple master/detail screen (JSF JSP) where master is departments and detail is employees in the selected department. Some of the attributes in employees are required.
    To department A
    I take away the value of one of the required attributes of one of the detail employee rows.
    Select one of the other departments ie department B
    Get Error message Value required.
    So far so good, but the selected department is B and the detail rows shown is for department A.
    I expected that department A to still be selected or that department B with its row to be shown.
    Edited by: user628847 on 26.feb.2009 04:55

    Hi,
    if (row != null)
    Row masterRow = row;
    vo.setCurrentRow(masterRow);
    // not needed : getMesReponsesPourTiersVO1().executeQuery();
    You shouldnot execute the child VO after setting current row in master VO.
    When the current row is set in master VO, then the child rows will get refreshed automatically.
    Cheers,
    Prasanna

  • Problem with primary key violation in master-detail screens

    Hi,
    I found a problem/bug in master-detail screens in which the PK of the detail table consist of the PK of the master table and an additional column. E.g. a manually entered sequence 'in parent'.
    I will use the following simple scenario to explain the problem (it's easy to reproduce):
    PROJECT table
    # id (PK)
    * name
    PROJECT REQUIREMENTS table
    # prj_id (PK)
    # sequence_id (PK)
    * description
    Just create the BC EO, VO and AM and set both display properties of the prj_id attribute of the project requirements VO to hidden.
    Create a new screen in the application structure file in which you can select a project (table-form layout) and display the details (table layout) on the same page.
    With this basic setup you can generate the app to enter, update and delete projects and their requirements.
    The problem occurs if you have a project with a least 1 requirements stored in the database and you try to enter a second requirement with an existing sequence_id within the project. This is an use case in which a end-user enters wrong data.
    So assume we have in the database:
    prj_id sequence_id description
    ====== =========== ===========
    1 1 req1
    and the end-user enters (prj_id is entered automatically as it's not displayed):
    1 1 req2 >> user should have enterd sequence_id 2...
    Step 1. If you try to save an error will be displayed:
    JBO-25013: Too many objects match the primary key oracle.jbo.Key[227300 1 ].
    And the sequnece_id is emptied automatically.
    Step 2. So the end-user re-enters the sequence_id but fills in 2 now and saves.
    Another error is displayed: JBO-27014 sequence_id in AppModule is required
    How strange? Everything is filled in already.
    Step 3. If you just hit save again (without changing anything) you got a transaction completed successfully.
    I checked the logfiles and noticed an exception during after executing step 2.
    oracle.jbo.AttrValException: JBO-27014: Attribute SequenceId in AppModule.ProjectRequirementsView2 is required     at oracle.jbo.AttrValException.<init>(AttrValException.java)     at oracle.jbo.server.JboMandatoryAttributesValidator.validate(JboMandatoryAttributesValidator.java)     at oracle.jbo.server.EntityDefImpl.validate(EntityDefImpl.java:2051)     at oracle.jbo.server.EntityImpl.validateEntity(EntityImpl.java:1373)     at mypackage1.ProjectRequirementsImpl.validateEntity(JwTekeningnummerImpl.java:273)     at oracle.jbo.server.EntityImpl.validate(EntityImpl.java:1508)     at oracle.jbo.server.EntityImpl.validateChildren(EntityImpl.java:1232)     at oracle.jbo.server.EntityImpl.validateEntity(EntityImpl.java:1339)     at oracle.jbo.server.EntityImpl.validate(EntityImpl.java:1508)     at oracle.jbo.server.DBTransactionImpl.validate(DBTransactionImpl.java:3965)     at oracle.adf.model.bc4j.DCJboDataControl.validate(DCJboDataControl.java:967)     at oracle.adf.model.binding.DCBindingContainer.validateInputValues(DCBindingContainer.java:1683)     at oracle.jheadstart.view.adfuix.JhsInitModelListener.validateInputValues(JhsInitModelListener.java:193)     at oracle.jheadstart.view.adfuix.JhsInitModelListener._doModelUpdate(JhsInitModelListener.java:166)     at oracle.jheadstart.view.adfuix.JhsInitModelListener.eventStarted(JhsInitModelListener.java:92)     at oracle.cabo.servlet.AbstractPageBroker._fireUIXRequestEvent(Unknown Source)     at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)     at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)     at oracle.adf.controller.struts.actions.StrutsUixLifecycle$NonRenderingPageBroker.handleRequest(StrutsUixLifecycle.java:325)     at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)     at oracle.adf.controller.struts.actions.StrutsUixLifecycle._runUixController(StrutsUixLifecycle.java:215)     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.processUpdateModel(StrutsUixLifecycle.java:106)     at oracle.jheadstart.controller.strutsadf.action.JhsStrutsUixLifecycle.processUpdateModel(JhsStrutsUixLifecycle.java:140)     at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:317)     at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.processUpdateModel(JhsDataAction.java:622)     at oracle.adf.controller.struts.actions.DataAction.processUpdateModel(DataAction.java:508)     at oracle.adf.controller.lifecycle.PageLifecycle.handleLifecycle(PageLifecycle.java:112)     at oracle.adf.controller.struts.actions.StrutsUixLifecycle.handleLifecycle(StrutsUixLifecycle.java:70)     at oracle.adf.controller.struts.actions.DataAction.handleLifecycle(DataAction.java:223)     at oracle.jheadstart.controller.strutsadf.action.JhsDataAction.handleLifecycle(JhsDataAction.java:389)     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:155)     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1485)     at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:127)     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:527)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:765)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)     at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java)     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:645)     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)
    This also explains why I got a error message within the application at step 2, but not an expected error message!
    From the logfile I can see something is going wrong in the oracle.jbo.server.EntityImpl.validateEntity method.
    To get more insight what was goning on I overridden the validateEntity method in my VO Impl class:
    protected void validateEntity()
    System.out.println("MARCEL>> sequenceId=" + getSequenceId());
    System.out.println("MARCEL>> description=" + getDescription());
    super.validateEntity();
    In step 1 the validateEntity is not called.
    In step 2 the sequeceId = null (and description = reg2)
    I expected the sequeceId to be 2 now as I entered this. Furthermore if I look at the (JhsActionServlet) request parameters in the log, I can see that the value of the sequenceId was 2. I guess something is going wrong at this point in converting the request parametes to the EO.
    In step 3 the sequeceId = 2 (as expected)
    Note that I'm using the evaluation copy version of JHeadstart 10.1.2.
    If this was patched in any later build, could you please tell which changes I have to make to the JHS sources to solve this problem.
    Regards,
    Marcel

    Marcel,
    I cannot reproduce this in version 10.1.2.2. We did not "fix" this, although changes in the runtime might have fixed this "silently". I suggest you upgrade to 10.1.2.2 and see whether you still get the error.
    Steven Davelaar,
    JHeadstart Team.

  • Serious problem with previous / next record in master-details relations

    I have master-details relations like this (if master is A) :
    A-B
    A-C and C-D
    When I move down with do_key('next_record') all values of all records in all blocks are OK. But when I move up, it doesn't work : all D block values are erased and I don't understand why ?
    Thank you for your help.
    Antoine LEFEBVRE.

    Blocks A and B are in the first canvas and blocks C et D are in the second canvas.
    On next_record action from A the B is updated, C too and D too. But on previous_record action, D is not updates.
    To display the second canvas I use a command button and into the WBP trigger there is :
    go_block(C);
    execute_query;
    to be sure to execute query, but it's null.
    What's your suggest ?
    Thank you,
    Antoine.

  • Add Row Button Submits

    I'm using a tabular form in a region on a larger form as an option to enter lines associated with the main form. Each time I hit the ADD ROW button it submits the page and thereby increments my PK for the main form. I may be shooting myself in the foot with the additional twist that I'm using nextval to increment my PK for the main form. But I can't imagine why this should be a problem if the ADD ROW button wasn't submitting each time I wanted to add another item to this tabular form.
    Obviously, I'm a novice at this.
    Thanks for your help -
    Alexandra

    OK, there are a variety of possible issues. I'll guess at a few by describing how the master/detail form works.
    First of all, when you create a standard m/d form, the expectation is that it will be invoked in one of two ways. The page item created for the PK controls this.
    So to set this up let's say my m/d form is on page 200, the name of the master table is STUFF and the name of the PK for the master table is STUFF_JOB_NUM. There will be an item created in page 200 for each column in STUFF, including an item P200_STUFF_JOB_NUM for the PK.
    Let's also say the detail table is MORE_STUFF with a PK called MORE_STUFF_PK. There will not be any items created on page 200 for MORE_STUFF because it will be handled as a tabular form rather than a standard form on a table.
    When page 200 is initiated from another page (via a button or other type of link) the value of P200_stuff_job_num is checked. If it is null, then it is assumed that the page will be used to add a new record to STUFF. If P200_stuff_job_num is not null, the it is assumed that the page will be used to edit the row in STUFF, or to add and/or edit rows in MORE_STUFF. There is a standard process (which in my example would be called Fetch Row from STUFF) that prefills the form if P200_stuff_job_num is not null.
    The linkage between STUFF and MORE_STUFF is assumed to be between STUFF_JOB_NUM and a field in MORE_STUFF (that should usually be indexed as a non-unique key) and that will contain the value from STUFF_JOB_NUM. Let's call this field MORE_STUFF_LINK. This column is in addition to the PK column in MORE_STUFF. The source of the region (look in the region section) for the tabular form will contain the SQL that defines what goes into the tabular table. There will be a WHERE clause in that SQL that links the tabular form rows to the master form. In my example the clause would be: WHERE MORE_STUFF_LINK = :P200_stuff_job_num.
    So the following things will be true:
    if P200_stuff_job_num is null then there will be a CREATE button at the top on the assumption that you are creating a new row. The tabular form will NOT appear on the page as there won't be any detail records yet nor any way to add them.
    if P200_stuff_job_num is not null then there will be DELETE and APPLY CHANGES buttons at the top on the assumption that you want either to delete or modify the row. ALSO, the tabular form will now appear, but it might be empty (just buttons, but no data). Now the "add row" button will add a row to the tabular table that can filled in and posted with APPLY CHANGES. If there are existing rows, they can be edited and changes saved with the APPLY CHANGES.
    ====
    (not done, but will get back later... I think I still need to explain how the page that invokes the m/d page should be set up.)

  • Master Detail Page

    Hi,
    I'm new at JDeveloper (using it for 3 weeks now), and I need some assistance in a little problem that I have. Let me give a description:
    I need to develop a master-detail page (I've tried several examples that I've found in this forum and blogs, but I can't seem to put it right), with a little difference from the usual. Let me start by describing my problem:
    I need to develop a Master-Detail page with a little information form on the top, and a Master-Detail Table on the bottom. There will be 3 tables related in this page, let's call it Table Emp, Table tabMaster (Master), Table tabDetail (Detail). The following information can be useful:
    Cardinality : Emp 1 - * tabMaster
    tabMaster 1 - * tabDetail
    The information form will be populated by a query that will execute on Emp, with a Emp.Id received by (for example) sessionScope. With this same Emp.id received by sessionScope, e need to develop a Master-Detail Table based on tabMaster and tabDetail. With this same Emp.id, I will query tabMaster to show the items related with Emp. The tabDetail will show the items related with tabMaster selected item.
    I'm sorry for the trouble, but I'm around this problem, for quite some time, and I've tried almost anything I can remember (since, invokeAction, viewlinks, you name it...).
    Thanks in advance
    Tiago Soares

    Hi,
    try the following
    1. drag and drop the form on top
    2. drag and drop the dependent master view as a table
    3. drag and drop the dependent detail table
    4. Add an ID to the buttons that force a currency change on the top form
    5. Select the table components and put in all the IDs as the value for the PartialTrigger property
    This will ensure the tables are getting refreshed when the form changes
    Frank

  • Field values erases when Add Row button is pressed in Master Detail Form

    Hi,
    I am using APEX 4.0. There is a master-detail form in a page, this has 5 rows in it by default, has a Add row and a Delete button. I face two problems now:
    1. When the values are entered in all the 5 rows, that are in default, and Add Row button is clicked, these values are entered in the DB, but they are erased from the interface. Means when user clicks Add row he don't see the old values he has entered. All new empty rows are only seen. This might confuse the user. How can I resolve this.
    2. The values are saved to the DB only when the Add row button is clicked, so suppose if the user enters some wrong values in the default rows and after he clicks Delete button, all the field values are erased. Is there a way to delete only that particular row? (Please note: the values are not saved to the DB, unless the Add Row button is clicked)
    Please let me know how to resolve these 2 issues.
    Thanks.

    So let me get this straight:
    You enter information into a tabular form and then click the add row and the data is being duplicated from the prior row or being inserted into the table ?
    Thank you,
    Tony Miller
    Webster, TX
    A lady came up to me on the street, pointed at my suede jacket and said "Do you know a cow was murdered to make that jacket?"
    "I didn't know there were any witnesses", I replied " Now I'll have to kill you too"

  • Issue with empty value of LOV of first row after clicking on add row button

    JDeveloper 11.1.14
    I have a page with table-form layout.
    In the form I have two detail tables on the same page (tabbed).
    I have an issue with using model-choicelist LOV's in the detail tables.
    I am able to add a new row in the detail table, select a value from the model-choiceList LOV (which is required) and save the new row.
    After adding another row in this table the value of the model-choiceList LOV in the previous row is suddenly empty on the screen. It is not empty in the database,
    I have checked it in the datbase. Only the value of the LOV of the first row on the page is being cleared after clicking on the add row button.
    After saving the new row I get the following error on the screen:
    Error: a selection is required. --> first row
    Does anyone have a suggestion how to solve this issue?

    After adding another row in this table the value of the model-choiceList LOV in the previous row is suddenly empty on the screen. It is not empty in the database, Is the complete LOV blank or only the selected value .. can you try putting autoSubmit=true in the LOV and try ? Also check if you have any partialTriggers on the LOV from the add button ?

  • ALV Grid default values for new rows added with Add/Insert buttons

    Hi!
    Help, please,  to find a way how to set default values for new rows added with Add/Insert buttons in
    ALV Grid.

    I have found salution:
    ALV Grid u2013 Insert row function
    Sometimes we need to assign some default values when we create a new row in a grid using standard ALV Append row button. In our scenario we will see how to assign default values to Airline Code (CARRID), Flight Connection Number (CONNID) and Flight date (FLDATE) when a new row is created. To do that we need to handle DATA_CHANGED event in the program like mentioned below.
    Definition of a class:
    Code:
          CLASS lcl_event_receiver DEFINITION
    CLASS LCL_EVENT_RECEIVER DEFINITION.
      PUBLIC SECTION.
    METHODS:
         handle_data_changed
         FOR EVENT data_changed OF cl_gui_alv_grid
         IMPORTING er_data_changed
                           e_ucomm.
    ENDCLASS.                    "lcl_event_receiver DEFINITION
    Implementation of a class:
    Code:
    CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.
      METHOD HANDLE_DATA_CHANGED.
        DATA: dl_ins_row TYPE lvc_s_moce.   " Insert Row
          FIELD-SYMBOLS: <fs> TYPE table.    " Output table
    Loop at the inserted rows table and assign default values
        LOOP AT er_data_changed->mt_inserted_rows INTO dl_ins_row.
          ASSIGN er_data_changed->mp_mod_rows->* TO <fs>.
          loop at <fs> into ls_outtab.
            ls_outtab-carrid  = 'LH'.
            ls_outtab-connid  = '400'.
            ls_outtab-fldate  = sy-datum.
            MODIFY <fs> FROM ls_outtab INDEX sy-tabix.
          endloop.
        endloop.
      ENDMETHOD.                    "handle_data_changed
    ENDCLASS.                    "lcl_event_receiver IMPLEMENTATION
    Register the events to trigger DATA_CHANGED event when a new row is created.
    Code:
        CALL METHOD OBJ_GRID->REGISTER_EDIT_EVENT
          EXPORTING
            I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_ENTER.
        CALL METHOD OBJ_GRID->REGISTER_EDIT_EVENT
          EXPORTING
            I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_MODIFIED.

  • Add Row Button Not Working

    I've read the threads and done numerous searches.  Not sure why the add row button isn't working, other buttons work.
    Here's what I've found and done.
    Print button subform - positioned (have tried flowed, too) allow page breaks
    Table: body rows vary   -    Insert wrap in subform  - subform flowed - allow page breaks
         row 1 binding - repeat row for each data item - min 1, max 25 (why won't it  keep an initial count when I try putting in 1 or 0?)
    Form properties - preview in dynamic PDF, interactive   -   PDF render format dynamic xml, run in 9.0 or later (to remove errors)
    Insert Row Button in Subform Row 1 Cell 1 (not counting header row) on  click, JavaScript run at client tried table.row1.instancemanager.addinstance(1);   also tried full path
    saved as dynamic pdf
    My hierarchy looks like:
    form1   [autofit]
         master pages
              page 1
                   untitled content area
         printbuttonSubForm  [flowed, top to bottom, allow page breaks]
              untitled subform [flowed, top to bottom, allow page breaks]
                   printbutton1
              tablesf    [flowed, top to bottom, allow page breaks]
                   table1    [allow page breaks]
                        headerRow
                             cell1
                             cell2 etc
                        Row1   [allow page breaks, repeat row for each data item, min 1, max 25 (why won't it  keep an initial count when I try putting in 1 or 0?)]
                             subform   [allow page breaks, repeat row for each data item, min 1, max 25
                                            (why won't it  keep an initial count when I try putting in 1 or 0?)]
                                  button1    table1.row1.subform1.instanceManager.addinstance(1);
                             cell2, etc
         Referenced objects
    Questions:
    I click the Add Row button, but nothing happens, why?  The print button works.
    Found a reference to def instances of same row, what does that mean?
    Is my hierarchy correct?
    How to set Form1 to flow? Object says mixed objects with no options
    Many thanks for your assistance! Leslie

    Hi Leslie,
    There could be a few things.
    First check that the form is saved as Dynamic XML in the save as dialog. If it is saved as Static the add instance will not work.
    Make sure that the object you are targetting is set to repeat in the Object > Binding tab
    Check your syntax in the script editor (button above the editor). Some of your post is not camel case. For example addInstance and instanceManager. Note the capital letter for the second word.
    If you could share your form it would be easier to track down what the problem is. You can use Acrobat.com or YouSendIt.com or some other file sharing site. Just remember to post the published URL.
    Good luck,
    Niall

  • Weird problem with JApplet

    I'm having a weird problem with JApplet. So first I create an Applet with this code
    public class japp extends JApplet {
         public void init() {
              Container content=getContentPane();
              JButton jb=new JButton("Hello");
              content.add(jb);
    }and with this in the .html file;
    <html>
    <body>
    <APPLET CODE="japp.class" WIDTH="650" HEIGHT="500"></APPLET>
    </body>
    </html>
    And opened it in Firefox, it worked as expected. However, when I change the code in any way, i.e.
    public class japp extends JApplet {
         public void init() {
              Container content=getContentPane();
              JButton jb=new JButton("Goodbye");
              content.add(jb);
    }and compile it, it still shows the old button that displays "Hello". I've tried deleting the .class file from before and recompiling, that doesn't work. What am I doing wrong?
    Thanks.

    Reloading the page usually doesn't work. You will need to open the Java Console and clear classloader cache (x). You can also use appletviewer for testing purposes.

Maybe you are looking for

  • CS2 Premium reinstalling Adobe Photoshop activation problems

    To: Adobe.com From: Paul Sacca [email protected] Subject: CS2 Premium To Whomever it Concerns, After recently upgrading my computer's CPU, Memory and Graphics it became necessary to singularly reinstall my Adobe Photoshop (inc. Illustrator & Bridge)

  • Dunning Letters calculation

    As we all probably know the dunning module only prints. We want to create an add-on where it takes the dunning information and calculation and post into the BP A/R reconciliation module the interest calculate from the dunning. We have suggested our c

  • An application "causes excessive wakeups," then crashes

    Description of the problem: The game "Team Fortress 2" crashes consistently after about a half hour of gameplay. It seems almost random when the crashes occur, but always during gameplay, never in the game menu. Frequently the application will freeze

  • Charging new i-Touch with older AC adapter

    I recently purchased a new Touch and wondered if I could use the AC-usb adapter that came with my 2nd gen (old school) iPod to allow my plugging the Touch into the wall instead of always into the computer. Since both iPods use usb cables, will there

  • Won't display Kabam games.

    I recently downloaded the new version on Firefox, version 7. Now I can't play Kabam games on Facebook. (Kingdoms of Camelot or Edgeworld.) I've tried playing them on Kabam's site and they won't play there either. I just get the white screen of death.