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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
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