Пример #1
0
 protected void sleep() {
   super.sleep();
   _actionsByCategory = null;
   _action = null;
   _actionCategory = null;
   _menuId = null;
 }
Пример #2
0
  public void init() {
    super.init();
    _displayGroup = new AWTDisplayGroup();

    Context context = MetaContext.currentContext(this);
    String field = (String) context.values().get(UIMeta.KeyField);
    DetailDataSource dataSource = new DetailDataSource(null, field);

    _displayGroup.setDataSource(dataSource);
  }
Пример #3
0
  public void renderResponse(AWRequestContext requestContext, AWComponent component) {
    DetailDataSource dataSource = (DetailDataSource) _displayGroup.dataSource();
    dataSource.setParentObject(MetaContext.currentContext(this).values().get(UIMeta.KeyObject));

    super.renderResponse(requestContext, component);
  }