- view (Echo2ViewAspect),
- i18n (ResourceBundleI18NAspect),
- validation (interfaces and exceptions),
- content (containing section tree structure),
- logging (using common-logging)
The UDM (Unified Development Model) has improved with:
- Management of application flow. Each user session is tracked. UDM allows to go back and forward implementing the full MVC2 pattern at component level
- UDM allows to change at run-time class's fields and actions features such as hiding, changing label, style, rendering, etc.
- UDM allows tracking of attributes changed by the Model to be refreshed by the view aspect.
- Better FormFactory management allowing caching of forms abstracting the implementation.
public class AccountSearch {
public AccountFilter filter;
@FieldInfo(embeddedType = AccountList.class)
public List
public AccountSearch() {
filter = new AccountFilter();
result = new ArrayList
}
public void create() {
ObjectContext.getInstance().setNext(new AccountNew());
}
public void edit() throws ConfigurationNotFoundException {
ObjectContext.getInstance().getFieldAttribute(filter, "name").setHidden(true);
}
public void search() {
// TEMPORARY: HERE WILL BE USER PERSISTENCE ASPECT SOON...
result = TestApp.getInstance().getAccounts();
ObjectContext.getInstance().addChangedProperty(this, "result");
}
}
No comments:
Post a Comment