I have component with SelectModel: @Property private SelectModel facilitySelect = new FacilitySelectModel(dao);
and that model implemented in data package: public class FacilitySelectModel extends AbstractSelectModel { private List<OptionModel> options = new ArrayList<OptionModel>(3); public FacilitySelectModel(CrudServiceDAO dao) { List<Facility> facilities = dao.findWithNamedQuery(Facility.ALL); for (Facility f : facilities) options.add(new OptionModelImpl(f.getName(), f.getFacilityId())); } public List<OptionGroupModel> getOptionGroups() { return null; } public List<OptionModel> getOptions() { return options; } } So my problem is that with such approach data for selectmodel is loaded at the startup or first request, and not updates then. So if I add new facility - it won't be in the selection list, until I restart whole application. So what should I do, to see fresh information with each request? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Attribute-question-tp4907045p4907045.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