1 Reply Latest reply on Mar 20, 2007 11:40 PM by Joshua Jackson

    EntityHome + DataModel

    juan calienes Newbie

      does it posible ?
      // i don't have @Stateful
      @Name("declaracionHome")
      public class DeclaracionHome extends EntityHome {
      ...
      @DataModel
      public List getVehiculosList() {
      return getInstance() == null || getInstance().getVehiculos() == null ? null
      : new ArrayList(getInstance().getVehiculos());
      }
      @DataModelSelection(value = "vehiculosList")
      protected Vehiculo selectedVehiculo;
      ...
      }

      when i run it, i don't have any error message, but the object "declaracion" don't show data.
      anybody have some idea