Master/Detail problem: Infinite loop with display items

Hi,
I have a strange problem in Oracle Forms 6.0.5.35.3. I create a master block and a detail block with correct relationship between them.
-> When the detail block contains at least one 'Text Item' everything works well.
-> When the detail block only contains 'Display Items', the form is looping
indefinitely calling ON-POPULATE_DETAILS and QUERY-MASTER-DETAILS...
Is it a known bug ?
Do you know a trick to avoid this behaviour ?
Is it corrected with latest versions of forms, I mean 6i ?
Thanks for answer
Laurent Ricci

I think a block should have at least one navigable item. Just disable the insert/update property, but enable the navigable property for an item in the detail block.
Hope that help

Similar Messages

  • Master detail problem

    Using jsf/adf with business components.
    I have a jsp page which displays form information. This page can be used to create a new record or edit existing record. On the form, there is a section for home addresses and a different section for work addresses. I have a master detail setup. The master record is essentially an employee (view object). Also, i have one view object for Home Addresses and one view object for Work Addresses. The difference is simply in the sql where clause. One retrieves addresses where address_type LIKE 'WORK%' and the other view retrieves addresses where address_type LIKE 'HOME%. So, both views are built on the same address table. (entity object). There is a one to many (master/detail) relationship between employee and home addresses. There is also a one to many (master/detail) relationship between employee and work addresses. So, I've created view link objects for both the home address and work address and associated each to the parent record to get the master detail hooked up. things work great when i'm trying to retrieve and edit a record(s). The home addresses and work addresses are kept separate like they should be and displayed in their appropriate sections on the form. The problem i'm having is with the create record. When the page is first rendered, I want blank input fields to display for both the master record and the detail records. So, i'm programmatically creating the master and detail records before the page is rendered. I create the master row, then create one row for the work address section and one row for the home address section. The problem i'm having is that both of the detail rows which are created this way are displaying in the same work address section. So, when the page is first rendered, i see input fields only in the work address section, and both the rows have been created there, which is evidenced by the fact that i can scroll thru these two newly created records using the "next" button that was dragged/dropped for the work address section. During the create process, it appears (thru debugging) that both of these detail rows are being created properly, with their own separate iterator, so why does it appear that both rows belong to the same iterator when the page is first rendered? I have included the code below which creates the master detail rows:
    //this method is called upon the initial entry into the tabbed page if
    //user is in "create" mode. It handles creating the master and detail row(s).
    public void createMasterDetailRows(){
    ViewObject vo = getMasterView();
    Row masterRow = vo.createRow();
    masterRow.setNewRowState(Row.STATUS_INITIALIZED);
    vo.insertRow(masterRow);
    //for the initial entry into the tabbed page in create mode, the address row(s) must be created explicitly.
    createWorkAddressRow();
    createHomeAddressRow();
    public void createWorkAddressRow(){
    RowIterator iterator = (RowIterator)this.getMasterView().getCurrentRow().getAttribute("WorkAddressView");
    Row newWorkAddressRow = iterator.createRow();
    newWorkAddressRow .setNewRowState(Row.STATUS_INITIALIZED);
    iterator.insertRow(newWorkAddressRow );
    int rowCount = iterator.getRowCount();
    System.out.println("Address row inserted at " + rowCount);
    public void createHomeAddressRow(){
    RowIterator iterator = (RowIterator)this.getMasterView().getCurrentRow().getAttribute("HomeAddressView");
    Row newHomeAddressRow = iterator.createRow();
    newHomeAddressRow.setNewRowState(Row.STATUS_INITIALIZED);
    iterator.insertRow(newHomeAddressRow);
    int rowCount = iterator.getRowCount();
    System.out.println("Home Address row inserted at " + rowCount);
    }

    Sergio,
    You need to set the currency to the row passed in the request parameter from the browse page.
    You can used the row tag to do that:
    <jbo:Row id="rowCur" datasource="yourMasterDS" rowkeyparam="jboRowKey" action="find">Charles.

  • Master-Detail Problem SESSION & REQUEST

    I'd really appreciate some help with this:
    I got a very simple master detail application, with a data table in the master page that gets it's data from a spring-hibernate bean, pretty straightforward.
    My business requirement indicates that at first the list will be empty, and after selecting a few criteria values, the list should return with the results(query results).....
    I'm using one of the columns with a commandLink tag as usual, to go to the detail page like any number of applications you have seen.
    Now the problem arises in that, if my backing bean for my list and criteria is set as a SESSION, everything works fine. However if i set the backing bean in REQUEST scope navigation doesn't ocurr acording to the action and it just redisplays an empty list in the same page (the master list page).....
    I changed everything back and forth between sun and apache's releases and nothing...tried a bunch of different things and nothing either...the log doesn't show any exceptions or anything...
    Anybody have a clue on this?????
    public class PersonList {
    private PersonManager personManager;
    private List    personsData;
    private String  inputTextEmpId;
    private String  inputTextJobCode;
    private String  inputTextFirstName;
    private String  inputTextLastName;
    private boolean initialFlag = true;
       public void setPersonManager(PersonManager personManager) {
           this.personManager = personManager;
       public PersonManager getPersonManager() {
          return personManager;
      public List getPersonsData() {
           List results = (personManager.getAllPersonsQuery(
             initialFlag,
           inputTextEmpId, 
           inputTextJobCode,
           inputTextFirstName,
           inputTextLastName);
          initialFlag = true;
          if (results == null) return new ArrayList();
          else return results;
    public void setPersonsData(List personsData) {
         this.personsData = personsData;
    public String getInputTextEmpId() {
         return inputTextEmpId;
    public void setInputTextEmpId(String inputTextEmpId) {
         this.inputTextEmpId = inputTextEmpId;
    public String getInputTextFirstName() {
         return inputTextFirstName;
    public void setInputTextFirstName(String inputTextFirstName) {
         this.inputTextFirstName = inputTextFirstName;
    public String getInputTextLastName() {
         return inputTextLastName;
    public void setInputTextLastName(String inputTextLastName) {
         this.inputTextLastName = inputTextLastName;
       public void queryGenerator (ActionEvent event) {
            setInitialFlag(false);
       public boolean isInitialFlag() {
            return initialFlag;
       public void setInitialFlag(boolean initialFlag) {
            this.initialFlag = initialFlag;
    <%@ include file="/taglibs.jsp"%>
    <h:form id="personX">
    <h:messages layout="table" styleClass="conversionError"/>
    <h:panelGrid styleClass="data-table-column-header" columns="9">
      <h:outputText value="#{messages.personEmpId}"/>
      <h:outputText value="#{messages.personJobCode}"/>
      <h:outputText value="#{messages.personFirstName}"/>
      <h:outputText value="#{messages.personLastName}"/>
      <h:inputText value="#{personList.inputTextEmpId}" size="4" styleClass="data-table-column-text"/>
      <h:selectOneMenu value="#{personList.inputTextJobCode}" styleClass="data-table-column-text">
           <f:selectItem itemValue="%"  itemLabel="ALL"/>
           <f:selectItem itemValue="AA" itemLabel="AA"/>
           <f:selectItem itemValue="BB" itemLabel="BB"/>
           <f:selectItem itemValue="OT" itemLabel="OT"/>
      </h:selectOneMenu>
      <h:inputText value="#{personList.inputTextFirstName}" size="9" styleClass="data-table-column-text"/>
      <h:inputText value="#{personList.inputTextLastName}" size="9"  styleClass="data-table-column-text"/>
    </h:panelGrid>
      <t:dataTable
        value             =  "#{personList.personsData}"
        var               =  "person"
        id                =  "personDataList"
        border            =  "0"
        columnClasses     =  "rightAlign,centerAlign,leftAlign,leftAlign,rightAlign,
                              centerAlign,centerAlign,centerAlign,centerAlign"
        rowClasses        =  "data-table-row-odd,data-table-row-even"
        styleClass        =  "data-table"
        headerClass       =  "data-table-header"
        footerClass       =  "boldLeft" >
       <f:facet name="header">
        <h:outputText value="#{messages.personList}"/>
       </f:facet>
       <h:column>
         <t:commandLink action="personform" immediate="true" >
            <h:outputText value="#{person.id}" />
            <t:updateActionListener property="#{personForm.id}" value="#{person.id}" />
         </t:commandLink>
       </h:column>
       <h:column><h:outputText value="#{person.jobCode}"/></h:column>
       <h:column><h:outputText value="#{person.firstName}"/></h:column>
       <h:column><h:outputText value="#{person.lastName}"/></h:column>
      </t:dataTable>
    <h:commandButton value="Generate Report" actionListener="#{personList.queryGenerator}" styleClass="button"/>
    </h:form>

    What is the meaning of initialFlag?
    If the bean in request scope, when firstly invoking
    getPersonData()
    the flag is true because queryGenerator() is not
    invoked yet in the request.
    If the bean in session scope, the value of
    initialFlag may hold to be false
    since invoking queryGenerator() in the previous
    request.initialFlag is just something I use to bring back an empty list
    when the action is performed....
    However my problem is not displaying the list correctly, is actually Jumping to the detail form (a different JSP) from the commandLink on the datatable results....,
    instead it just re-renders the same page (just like if there was a conversion or validation error)
    Fragment: From DAO..
         public List getAllPersonsQuery(
                   boolean initialFlag,               
                   String empId,
                   String jobCode,
                   String firstName, String lastName)
    if (initialFlag) return new ArrayList();
    else {
      String status = "A";
      return getHibernateTemplate().find("from Person person where person.employmentStatus=(?) " +
    getNormalClause(empId,            " person.empId "  )+
    getNormalClause(jobCode,          " person.jobCode ")+
    getNormalClause(firstName,        " person.firstName ")+
    getNormalClause(lastName,         " person.lastName ")+
    " order by person.lastName, person.firstName" , status);
      <navigation-rule>
       <from-view-id>/persons.jsp</from-view-id>
       <navigation-case>
          <from-outcome>personform</from-outcome>
          <to-view-id>/personForm.jsp</to-view-id>
        </navigation-case>
      </navigation-rule>
    <%@ include file="/taglibs.jsp"%>
    <h:messages layout="table" styleClass="error"/>
    <h:form id="personForm">
    <h:inputHidden value="#{personForm.person.id}"/>
    <h:inputHidden value="#{personForm.id}"/>
    <h:inputHidden value="#{personForm.person.empId}" binding="#{personForm.empId}"/>
    <h:inputHidden value="#{personForm.person.jobCode}" binding="#{personForm.jobCode}"/>
    <h:inputHidden value="#{personForm.person.firstName}" binding="#{personForm.firstName}"/>
    <h:inputHidden value="#{personForm.person.lastName}" binding="#{personForm.lastName}"/>
    <h:inputHidden value="#{personForm.person.createdUser}" binding="#{personForm.createdUser}"/>
    <h:inputHidden value="#{personForm.person.createdTime}" binding="#{personForm.createdTime}">
      <f:convertDateTime pattern="MM/dd/yyyy"/>
    </h:inputHidden>
    <h:inputHidden value="#{personForm.person.lastUpdateUser}" binding="#{personForm.lastUpdateUser}"/>
    <h:inputHidden value="#{personForm.person.lastUpdateTime}" binding="#{personForm.lastUpdateTime}">
      <f:convertDateTime pattern="MM/dd/yyyy"/>
    </h:inputHidden>
      <h:panelGrid columns="2" columnClasses="exclusions-column-text,exclusions-column-text-green">
        <h:outputText value="Employee#:"/>
        <h:outputText value="#{personForm.empId.value}"/>
        <h:outputText value="Job Title:"/>
        <h:outputText value="#{personForm.jobCode.value}"/>
        <h:outputText value="First Name:"/>
        <h:outputText value="#{personForm.firstName.value}"/>
        <h:outputText value="Last Name:"/>
        <h:outputText value="#{personForm.lastName.value}"/>
       </h:panelGrid>
    </h:panelGrid>
    <h:panelGrid columns="4" style="width:300px" headerClass="exclusions-table-header" styleClass="exclusions-table">
      <f:facet name="header">
        <h:outputText value="Record Control"/>
      </f:facet>
      <h:outputText value="Created By:" styleClass="bold"/>
      <h:outputText value="#{personForm.createdUser.value}"/>
      <h:outputText value="Created On:" styleClass="bold"/>
      <h:outputText value="#{personForm.createdTime.value}">
        <f:convertDateTime pattern="MM/dd/yyyy"/>
      </h:outputText>
      <h:outputText value="Modified By:" styleClass="bold"/>
      <h:outputText value="#{personForm.lastUpdateUser.value}"/>
      <h:outputText value="Updated On:" styleClass="bold"/>
      <h:outputText value="#{personForm.lastUpdateTime.value}">
        <f:convertDateTime pattern="MM/dd/yyyy"/>
      </h:outputText>
    </h:panelGrid>
    </h:panelGrid>
    </h:panelGrid>
    <h:panelGrid columns="2">
    <h:commandButton value="Save Record" action="#{personForm.save}" id="savePerson" styleClass="button"/>
    <h:commandButton value="Query Screen" action="#{personList.cleanData}" immediate="true" id="cancelPerson"  
       styleClass="button"/>
    </h:panelGrid>
    </h:form>

  • Oracle Forms..  Master/Detail problem

    Hi,..
    I have a problem..
    I have 2 blocks in a page. One is an single row block and the other one an multirow block.. master/detail relationship.
    I would like that when I change a specifike item in the master block, a column of a specifike record gets changed.
    For example:
    master block has 3 items.. day, time and weather.
    detail block is a multirow block with items.. accessori, owned, take.
    when you choise a day and time.. but when you change weather (example to rainy) it goes into the multirow and searches for umbrella and changes the value of column take to YES.
    Can anybody help me?
    Gr.
    Kenneth
    Edited by: KHE on 24-mrt-2011 16:15

    Hi
    FRM 40737: Illegal restricted procedure GO_BLOCK in WHEN-VALIDATE-ITEM trigger.. yes u can't use GO_BLOCK built in WHEN-VALIDATE-ITEM trigger
    u can use timer to do it in WHEN-VALIDATE-ITEM trigger as
    DECLARE
      vTimer TIMER;
    BEGIN
      vTimer:=CREATE_TIMER('TEMP',10,NO_REPEAT);
    END;at form-level called WHEN-TIMER-EXPIRED and use the code ...
    GO_BLOCK ('BLOCK_NAME');
    GO_ITEM('ITEM_NAME');
    DELETE_TIMER('TEMP');Hope this helps...
    Regards,
    Abdetu...

  • MVC problem - infinite loop?

    I'm going to use a horribly oversimplified example to make my point here, because if I were to describe the actual code I'm looking at, it would take the better part of the afternoon and I'd probably bore you all to tears in the process. So, for the sake of argument, let's assume the following model object:
    public class MyModelObject
      private int a;
      private int b;
      private int c;
      public void setA(int newA)
        a = newA;
        b = newA + SOME_CONSTANT;
        c = newA + SOME_OTHER_CONSTANT;
      public void setB(int newB)
        this.setA(SOME_CONSTANT-newB);
      public void setC(int newC)
        this.setA(SOME_OTHER_CONSTANT-newC);
      public int getA()
        return a;
      public int getB()
        return b;
      public int getC()
        return c;
    }So what we see from this is that the setter for one class property actually changes the value of all three class properties (whether this is good design or not is questionable, but keep in mind this is a horribly simplified example for discussion purposes). The point is that the rules regarding the internal state of MyModelObject are governed entirely within that class - the controller and view don't know about these rules (again, questionable design, but bear with me here).
    Now let's imagine we have a view class that displays a MyModelObject instance and allows the user to change the value of a, b, or c. We also have a controller class that observes the view and responds to changes. When the user modifies the value of, let's say b, the controller will respond to that change by calling the setB() method in MyModelObject. Problem is, now the model and the view are out of synch... someone has to tell the view that the other two class properties have also been modified as a result of calling setB() - whose responsibility is this? Should the model inform the view that something has changed so that the view can redisplay it, or should the view observe the model and automatically redisplay whenever the model is modified?
    More importantly - let's say the controller is observing the view for changes, and the view is observing the model for changes... how do you avoid an infinite loop? For example, the user changes the value of b in the view, which causes the internal state of MyModelObject to be modified, which causes a change in the view, which causes a change in the model, and so on and so forth.
    A twist on the above problem is that it is illegal in some Swing components (JTextPane, for instance) to modify the view while a change notification is in progress... so something like this would throw an IllegalStateException:
    //somewhere in the controller
    public void insertUpdate(DocumentEvent docEvent)
      //update the model
      myModelObject.handleChange(docEvent);
      //now redisplay since the model has changed:
      myTextPane.display(myModelObject);
      // IllegalStateException is raised - Attempt to mutate in notification
    }This fails because you can't change the state of the view component in the event handler for a view change event. How do you get around this using proper MVC architecture? Or am I completely out to lunch here?

    The view shouldn't send events to the controller unless they make sense... For example, it shouldn't fire a change event when the user types in a new value. But only if the user presses enter, or the view loses focus (if this gesture is taken as equivalent).
    So when the change of the view comes from the side-effects of a setter of some property, it should fire no event (so that it will not loop). So it sounds no big problem (if such a distinction of events is easy - it should).

  • In infinite loop with "support" trying to fix forg...

    First, I searched for an issue like mine and posted in it's thread hoping that we could both get help but their solution is part of our problem so here is a new thread.
    My wife needs help on recovering her Skype email and or password and, of course, she has no access to login so I am here on her behalf (she is sitting next to me). The provided solution does NOT work as it puts her into an infinite loop of "Thank you for contacting Skype Customer Service." messages telling her to go and fill out a form ( https://support.microsoft.com/skype/hostpage.aspx?language=en&locale=en-us&oaspworkflow=start_1.0.0.... ) with the exact same info we have entered 4 times so far! PLEASE tell us how to get to REAL help with her issue. SR 1285591565, SR 1285671840, SR 1285702596, SR 1285752888 are the Support Reference numbers we have so far.
    Speedy
    AKA: Hero Hog, Dr. Speed, "The Brass Mangler" and "That fat, old, balding, Grey-bearded gimpy guy"
    Solved!
    Go to Solution.

    I FINALY got an intelligent response to my wife's issue, they claim they don't have enough info to verify her as the owner even though they accept our monthly payment for over a year now and I included more than enough info to link the account to us. Did I provode 5 friend's addresses? No, because she didn't HAVE THAT MANY! Did we provide 2 numbers she called? NO, because SHE HASN'T CALLED ANY! Did we include the date she signed up? No, because it was well over a year or two ago and we have no idea when it was! We included the EXACT amount we last paid, the date it was paid, one contact (out of the 2 MAYBE 3 she had) and could have easily answered other questions NOT ASKED had we been able to comunicate with a human instead of dealing with canned responces!
    %^&* YOU SKYPE! Your "support" is a JOKE!
    Speedy
    AKA: Hero Hog, Dr. Speed, "The Brass Mangler" and "That fat, old, balding, Grey-bearded gimpy guy"

  • Master detail problem in HTML DB

    We created a master detail page using master detail page wizard.
    But when we create a detail record, master column's values which supporting relation (Foreign Keys) aren't transfered to detail block.
    So detail record cannot created. How can we solve this.
    Where we can control coordination information between master detail page .
    Thanks for your help.

    We have solved this problem regenarating FK.
    But We are facing other problem too.
    when creating master detail form using wizard if we choose "Edit detail on separate page" option the detail page not working correctly
    When we try to create detail record " PK value cannot be null" error occurs. It means PK value not transfered this detail page.
    It seems like a bug ???
    How can we solve it. How can we manually support this Item value.
    Thank You.

  • Master-Details Problem

    Hi All
    I'm developing a web application using jdeveloper 11.1.2.0
    I have Master-Details VOs and have created a Master_details tables in .jspx page. But when I click the master row some time the details will not appear. It remains as in the previous row. This behavior occurs every other click in Master Table.(i.e First master row click then it will display the details rows correctly , then other master row click the details will not get refreshed and so on)
    Following error message appears in the log
    <CurrencyRowKeySet> <_computeCurrentRowKey> ADFv: rowIterator is null.
    Please some one help me on this, I have been searching in google for some days and couldn't overcome from this.

    Hi have done those initial things, The problem is MDS configuration. I removed the MDS and it works fine.

  • UIX Master-Detail  - Find button does not display detail lines

    Hello,
    We have a master-detail UIX page. Master has one attribute only. When 'Next' or 'Previous' buttons are pressed, the next master-detail records are displayed.
    However, when master attribute's value is changed by the user and the 'Find' button is pressed, the new detail lines are not displayed. Also we get following error:
    JBO-26080: Error while selecting entity for <ViewObject>
    Has anyone experienced this issue before?
    Thanks, Ali.

    Please dis-regard this post. The correct sequence is to click on Find button, enter new value then click on Execute button to query new values.
    Thanks, Ali.

  • IMovie 08 slideshow infinite loop - with Applescript and Automator?

    As many people I try to use iMovie for a slide show with an infinite loop. But there is no button inside the program for it. I don't want to export the project to use the loop function of Quicktime. Because that means compression of the slide show photos - Export with Quicktime: H.264, Best Quality.
    I already compressed the photos with JPG in High Resolution (Photoshop) and dropped them into the project. The result of double compression is not fine (enough). And the amount of data increases.
    So I tried to program a short Applesript for an infinite loop in iMovie. First it seemed to be very simple. iMovie "cmd g" starts the fullscreen presentation of the project. At the end you press "spacebar" and it runs again.
    (Finder object)
    tell application "System Events"
    tell application "iMovie" to activate
    keystroke "g" using command down
    end tell
    (Pause)
    tell application "System Events"
    tell application "iMovie" to activate
    keystroke "space bar" (or "arrow left"?)
    end tell
    (infinite loop)
    Unfortunately it didn't loop. At the end of the presentation the screen remains black. Only a beep signals that the Applescript pressed the spacebar. What did I wrong?
    In some groups people say it's impossible to program a script for iMovie because it does not support Applescript.
    Blackletter

    I made a simple mistake in the code.
    wrong:
    keystroke "space bar"
    right:
    keystroke space
    Now the infinite loop runs in iMovie!

  • LOV with display Items

    Hello,
    i am very much New to Forms 6i
    Please tell me that, can we attach a LOV with a 'Display Item' ..??

    1) Create a display item named DISPLAY_EMPID and set the data type according to EMPLOYEE_ID.
    2) Create LOV using LOV wizard and include any columns you want to see in the list. You may use query like below.
      SELECT employee_id, name FROM YourTable3) In LOV wizard, click the "Lookup Return Item" button and select :YourBlock.DISPLAY_EMPID and FINISH.
    4) Create a button just beside the text item.
    5) Write below code behind the WHEN-BUTTON-PRESSED trigger.
    DECLARE
      vtemp BOOLEAN;
    BEGIN
      vtemp := SHOW_LOV('NAME_OF_YOUR_LOV');
    END;It should return the selected value from LOV to the DISPLAY_EMPID.

  • Help on how to make an infinite loop with the same space on all images

    HI:
    I made a movie clip with infinite  loop in which there are images that move from right to left something simple like a marquee, and each image has a blank space between  them, but between last and first image there is a more space, how I can do to  make all images have an equal space between each one and that the motion never stops.

    Thanks for your time and answers my friend, but I'm still not be able to achieve what I want, I forgot to tell that I'm doing this by layers, let's say, I have 5 images, (in fact I have like 50 images converted to movie clip symbols) each image has it's own layer, layer 1, layer 2, layer 3, layer 4, layer 5, then I put a 200 frame motion tween on all layers at 30 fps, then I arranged layer 1 on the first frame to the frame 200, the second layer from frame 50 to frame 250, third layer from frame 100 to frame 300, fourth layer from frame 150 to frame 350, and fifth layer from frame 200 to frame 400, by this I mean I put a 50 frame of space on each image but if you can see, the last image has a duration from frame 200 to frame 400, and there's nothing on frame 250 where it is supposed to be another image to match the same blank space of all the others, the movie clip restarts on the frame 400, and there's a 150 frames of blank space between the last image and the first image, I put the gotoandplay on the frame 250, but it abruptly restarts the movie.
    Is there another way to do this ?
    Am I doing something wrong ?
    Please I really really need help on this.
    Thanks

  • Master-details problem: How to access the parent EO/VO in child side?

    Hello
    Refer to the reply of posting
    Re: How to insert  new records in Master and detail Forms.
    I have got the following questions
    The approach for setting the master-details relationship works well, however, in this example,
    I have overriden the create(AttributeList attributeList) method of VO2, so after calling
    DCBindingContainer dcb = ADFUtils.getDCBindingContainer();
    OperationBinding oper = dcb.getOperationBinding("CreateInsertVO2");
    oper.execute();
    , it will enter the create() method of VO2, at this point, i can only access the argument attributeList
    which stored the key value that link up parent and child, however, how can i get the entire VO1
    for accessing the value of all VO1's attribute?
    Thanks

    Neon wrote:
    I have mapped a createInsert action in the blinding layerThis is OK.
    Neon wrote:
    Do you mean that i have to create createRow and insertRow action in blinding layer?No. The createInsert operation does just that
    Neon wrote:
    Or call these function in the VO overridden create() method?No. You can't do that.
    In conclusion, I don't understand why the accessor returns null. Maybe someone else can shed some light... ?:|
    One last suggestion from me is to try getting the VO1 directly from the AM instead.
    This should work - it is not a recommended practice through.
    Use the following code:
    VO1RowImpl vo1 = (VO1RowImpl)this.getVO1();
    // ensure that the VO1 VL accessor is properly initialized
    if (vo1 == null) {
       vo1 = (VO1RowImpl)((YourApplicationModuleImpl)this.getApplicationModule()).getVO1().getCurrentRow();
    }

  • Master-Detail Form (How to pass an item value in Master to Detail field

    I have a Master-Detail form. When adding a new record in the Detail section, I expect the primary key in the master record will copy down to the detail record. But, it is not doing that. Does anyone know how to pass the master primary key down to the detail record field.
    By the way, query works fine. It knows the master-detail relationship. It is just when creating a new detail record, the key not pass down from the master record.
    thanks - Patty

    hi,you can do it by:in detail form's foreign key field,set it's default value as master primary key ,example master page p1,primary key as p1_master,detail form p2,foreign key p2_foreign, set p2_foreign key 's default value &p1_master.
    Message was edited by:
    lixinzhu

  • Master-detail problem in ADF JSP

    Is there any way I can add a detail record in a master-detail JSP page without having to open a new page?ž
    Milos

    Hi Frank,
    Thanks for your reply. In the application I used weblogic JDBC driver for Sybase when it was developed in 11.1.1.1.0 version.
    The following are the extries in bc4j.xcfg file:
    jbo.sql92.JdbcDriverClass="weblogic.jdbc.sybase.SybaseDriver"
    jbo.TypeMapEntries="Java"
    jbo.SQLBuilder="SQL92"
    Now I have changed the JDBC to Sybase jConnect (jconn4.jar) and driver class is com.sybase.jdbc4.jdbc.SybXADataSource and other entries remains the same as it was before.
    Thanks
    Jalil

Maybe you are looking for

  • TC won't get assigned internal IP address

    I have an Airport Extreme N, a TC dual band and a Airport Express N. For some reason, the AEx (which is plugged in via Ethernet to the cable modem) won't give internal (10.0.x.x) IP address to the TC and Airport Express, which are both set up to exte

  • My computer disk is full (on my macbook air)

    how do i empty it?

  • Sharing to Windows

    Hi, I have problems with my imacg3, I want to share to windows... please help me, i cant fix this problem...

  • 'mounting failed' when trying to download iTunes8

    I'm running OS X 10.4.11 on a PPC G5. I've tried to download iTunes8 (I currently have iTunes7.7, but need 8 for my new iPod), but at the end of the attempted download I get the message 'Mounting Failed'. I have spoken to 4 different operators in 2 d

  • USB hub issues

    I'm not sure exactly when this started happening but I ran out of usb ports so I purchased a usb hub. Now every time I shut down my iMac it appears to go off but when I try to turn it on the next morning and I push the power button, nothing happens.