Esempio n. 1
0
 protected void sleep() {
   super.sleep();
   _actionsByCategory = null;
   _action = null;
   _actionCategory = null;
   _menuId = null;
 }
  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);
  }
  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);
  }