[jboss-user] [JBoss Seam] - EntityHome + DataModel

jcalienes do-not-reply at jboss.com
Tue Mar 20 13:10:14 EDT 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029894#4029894

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029894



More information about the jboss-user mailing list