Menu

DbEventInterceptorSupport problem

Help
2005-03-25
2013-06-03
  • Iancu Ciprian

    Iancu Ciprian - 2005-03-25

    Hi all,
      I'm writting my first interceptor class and I have problems to get the field values on a postXXX event. The problem is that I didn't find a way to get the field values in the 2.5 version of dbforms, because data.getTable().getFieldValues method need a parameter "String position" and I don't know how to get that for the current row.

    Thanks in advance .

    Best regards,
    nic_cipi

     
    • Henner Kollmann

      Henner Kollmann - 2005-03-25

      That's the wrong way to access the fieldValues.

      You can retrieve the fieldValues with
      ((FieldValues)data.getAttribute(DbEventInterceptorData.FIELDVALUES))

      This not not documented yet - but you can find some hints in the release notes.

      Cheers
      Henner

       
    • Iancu Ciprian

      Iancu Ciprian - 2005-03-28

      Thanks,
      After I've posted the message I've found the new version of the bookstore where I saw an example.

      Many thanks,
      nic_cipi

       

Log in to post a comment.

MongoDB Logo MongoDB