Hi, when I create a BeanModel, how can I add results eg from a method that is not contained in the Entity-Object with which the BeanModel has been created? Like:
Here I create a beanmodel for the class UserProfile. And I want to add a field that gets its content from a method that is placed NOT in the userProfile, eg in the same page class where the model is created, or in some other service that is been injected. BeanModel.createDisplayModel(UserProfile.class, messages); model.add(...); model.add("customProp", PropertyConduitSource.create(someService.getSomeMethodResult())); @Inject SomeService someService; How can I do this? -- View this message in context: http://tapestry.1045711.n5.nabble.com/BeanModel-how-to-add-results-from-a-method-tp5717499.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