JSP and BC4J in Master/Detail
432271Nov 4 2004 — edited Nov 12 2004Could be bug?
I'm having trouble regarding Master/Detail relationship using JSP/BC4J in JDeveloper 10g, latest release.
> 1st doubt: UIModels.
What should I use? By dragging from the Data Controls Palette, every new page and most Data Actions are using their own modelReference. For the Master records no problem, but for the Detail records, I got problems with Create Action, which was actually updating previous records (sounds crazy, but happens)
> 2nd doubt: JBO-33035 or JBO-26030 on the Detail records
For example, by doing a Delete operation, followed by a Data Action to auto-commit the operation, I have JBO-33035 error (but row is deleted)
Removing the
<input type="hidden" name="<c:out value='${bindings.statetokenid}'/>" value="<c:out value='${bindings.statetoken}'/>"/>
I have JBO-26030 (record locked) and record is not deleted.
Why this happens, and only in the Detail records?
I tried using the details record in the same and separeted UIModel as the Master.
Also tried the editPages for both Master/Detail also using same and different UIModels, each time with a different behavior.
If someone had this kind of experience, please I beg for help or advice about building Master/Detail relationship.
PS:
- Right now, I didn't write any code, this is all by dragging operations.
- 2 single tables, each table has a PK populated by Trigger-Sequence, and 1 table with a FK to the first
- Testing Entities/Views on AppModule works fine
THANKS A LOT...