JPA problem: No getter method for index 0 ...

Help
2009-05-04
2012-12-13
  • Mauro Mereu
    Mauro Mereu
    2009-05-04

    Hi,

    I am trying to build a grid with JPA support, using the GridFrame and GridFrameController found in the demo35 example.

    It's almost done, but there is a last annoying bug..
    The first block of data is retrieved, through the JPAUtils.getBlockFromQuery method , then the process breaks with the folloowing error:

    org.openswing.swing.table.model.client.VOListAdapter.getField():
    No getter method for index 0 and attribute name 'columnname'.

    Is it an OpenSwing bug or I am missing something ?

    Regards

    Mauro

     
    • Mauro Mereu
      Mauro Mereu
      2009-05-05

      ..actually something was missing: I had not set up the column names in the GridFrame.
      Now everything is OK

      Mauro