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
Have you tried annotating on the field?