Hello, I'm trying to use a beaneditform for the first time, but I'm currently facing a problem getting a select menu to appear and work. I'm using Tap3.2 along with hibernate
Source code .tml <t:beaneditform t:id="evaluatorForm" object="evaluator" submitlabel="Create Evaluator"> <p:applicationUser> <t:label for="applicationUser"/> <t:Select t:id="applicationUser" value="evaluator.applicationUser" model="applicationUserModel"/> </p:applicationUser> </t:beaneditform> .class public class Evaluator_Test { @Property private Evaluator evaluator; @Property private SelectModel applicationUserModel; @Inject private SelectModelFactory selectModelFactory; @Component(id = "evaluatorForm") private BeanEditForm evaluatorForm; @Inject private Session session; void onPrepare() throws Exception { evaluator = new Evaluator(); this.applicationUserModel = selectModelFactory.create(session.createCriteria(ApplicationUser.class).list(), "name"); } Entity @Entity public class Evaluator extends AbstractBaseEntity { @Id @GeneratedValue @NonVisual private Long evaluatorId; @ManyToOne(fetch = FetchType.EAGER, optional = false) @JoinColumns(@JoinColumn(name = "application_user_id")) private ApplicationUser applicationUser; getters/setters Could someone tell me what I'm doing wrong? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Bean-Edit-Form-w-Select-Menu-tp5643951p5643951.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org