4 Replies Latest reply: Apr 26, 2013 11:18 AM by BAO.SZ RSS

    Why the second NamedData variable doesnot work for CreateWithParams?

      Working in jdev,
      A scenario:
      --There is a 1-M link between VO1(id,amount),VO2(id,amount,fkid1,fkid3) where VO2.fkid1=VO1.id;
      --When create a new record for VO2, will select record from VO3(id,amount) and populate for VO2 with VO2.amount=VO3.amount, VO2.fkid3=VO3.id;
      --VO1 render as a formlayout, VO2 and VO3 as tables in the same page;
      --A CreateWithParams button for VO2;

      It's OK when add the first NamedData->amount and bind to VO3.amount.
      --VO2.amount = VO3.amount when a new record is created with the CreateWithParams button;
      see: Re: How to create a new row for a VO based on values from another VO?

      But errors will raised when add the second NamedData->Fkid3 and bind to VO3.id the same way as the first NamedData as follows:
      <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: oracle.jbo.domain.String
      java.lang.ClassNotFoundException: oracle.jbo.domain.String
           at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)

      more info:
      --VO2.fkid1(varchar2(18)), fkid3(varchar2(50)), amount(Number(18,2));

      Anyone can help?

      Edited by: BAO.SZ on 2013-4-26 上午8:46
      more info: