JBO-25020: View row of key oracle.jbo.Key[286 null ] issue in ADF
542381Apr 2 2007 — edited Apr 2 2007Hi,
I navigate from P#1 to P#2 through setCurrentRowWithKey. In the P#1 I have the following code. P#1 is a read only table. P#2 has a form and a table. Form is of the same VO as P#1 and the table has a different VO but has the foreign key of the first P#1 VO.
Here is the code in P#1.jsp:
<af:commandLink
action="#{CRSCF001.commandLink1_action2}"
text="#{row.RebillRequestId}"
disabled="#{!bindings.setCurrentRowWithKey.enabled}"
binding="#{CRSCF001.commandLink1}"
id="commandLink1" inlineStyle="font-family:times new roman; font-size:small;">
<af:setActionListener from="#{row.rowKeyStr}" to="#{CRSession.strReqId}"/>
</af:commandLink>
In P#2 page definition, I have the following code.
<action IterBinding="RebillItemsView1Iterator" id="setCurrentRowWithKey"
InstanceName="RebillServiceDataControl.RebillItemsView1"
DataControl="RebillServiceDataControl" RequiresUpdateModel="false"
Action="96">
<NamedData NDName="rowKey" NDValue="#{CRSession.strReqId}"
NDType="java.lang.String"/>
</action>
and
<invokeAction id="setItemToEdit" Binds="setCurrentRowWithKey"
Refresh="prepareModel"
RefreshCondition="#{adfFacesContext.postback ==false}"/>
But while navigating to the P#2 I get the following error.
JBO-25020: View row of key oracle.jbo.Key[668 null ] not found in RebillItemsView1Iterator
and also the first record gets displayed in the table always.
I have been spending more hours with this issue. Could any one help me?
Thanks,
Priya