Examples of meta()


Examples of ariba.ui.meta.core.Context.meta()

                    ctx.set(e.getKey(), e.getValue()[0]);
                }
            }
            ctx.set(UIMeta.KeyAction, action);
            if (page != null) ctx.set("page", page);
            _actionResults = ((UIMeta)ctx.meta()).fireAction(ctx, requestContext());
            _actionTarget = (String)ctx.propertyForKey("linkTarget");
            ctx.pop();
        } else {
            // static URL -- initialize action target
            Context ctx = MetaContext.currentContext(this);
View Full Code Here

Examples of ariba.ui.meta.core.Context.meta()

    public List<ItemProperties> actionCategories ()
    {
        if (!_isGlobal) {
            Context context = MetaContext.currentContext(this);
            UIMeta meta = (UIMeta)context.meta();
            context.push();
            _actionsByCategory = new HashMap();
            List<ItemProperties> categories = meta.actionsByCategory(context, _actionsByCategory, UIMeta.ActionZones);
            context.pop();
            return categories;
View Full Code Here

Examples of ariba.ui.meta.core.Context.meta()

    public AWResponseGenerating actionClicked ()
    {
        // if (_isGlobal) return MetaNavTabBar.getState(session()).fireAction(_action, requestContext());
        Context context = MetaContext.currentContext(this);
        UIMeta meta = (UIMeta)context.meta();
        return meta.fireAction(_action, context, requestContext());
    }
}
View Full Code Here

Examples of ariba.ui.meta.core.Context.meta()

    }

    public void renderResponse (AWRequestContext requestContext, AWComponent component)
    {
        Context context = MetaContext.currentContext(this);
        UIMeta meta = (UIMeta)context.meta();
        _allLayouts = meta.itemList(context, UIMeta.KeyLayout, zones());

        super.renderResponse(requestContext, component);
    }
View Full Code Here

Examples of ariba.ui.meta.core.Context.meta()

    public List<ItemProperties> allLayouts ()
    {
        if (_allLayouts == null) {
            Context context = MetaContext.currentContext(this);
            UIMeta meta = (UIMeta)context.meta();
            _allLayouts = meta.itemList(context, UIMeta.KeyLayout, zones());
        }
        return _allLayouts;
    }
View Full Code Here

Examples of ariba.ui.meta.core.Context.meta()

    public Map<String, Object> layoutsByZones ()
    {
        if (_layoutsByZones == null) {
            Context context = MetaContext.currentContext(this);
            UIMeta meta = (UIMeta)context.meta();
            _layoutsByZones =  meta.itemsByZones(context, UIMeta.KeyLayout, zones());
        }
        return _layoutsByZones;
    }
View Full Code Here

Examples of clojure.lang.Symbol.meta()

      if (form.size() < 2) return false;
      Symbol def = symbol(RT.first(form));
      Symbol name = symbol(RT.second(form));
      if (def == null || name == null) return false;
      return def.getName().matches("(defn-|defvar-)") ||
          (name.meta() != null && name.meta().valAt(Keyword.intern("private"), false).equals(Boolean.TRUE));
  }

  /**
   * Find closest matching element to line
   *
 
View Full Code Here

Examples of clojure.lang.Var.meta()

  }
 
  @Override
  public boolean isMacro() {
    Var v=RT.var(sym.getNamespace(),sym.getName());
    return KissUtils.isTruthy(v.meta().valAt(Keywords.MACRO));
  }

  @Override
  public Environment compute(Environment e, IPersistentMap bindings) {
    try {
View Full Code Here

Examples of de.innovationgate.wgpublisher.webtml.utils.TMLContext.meta()

   
    public static URLBuilder urlBuilder(Context cx, Scriptable thisObj, java.lang.Object[] args, Function funObj) throws JavaScriptException, FormattingException, WGAPIException, MalformedURLException, UnsupportedEncodingException {
       
        TMLContext tmlContext = fetchInitialContext(cx);
       
        URL wgaUrl = new URL((String) tmlContext.meta("request", "absolutewgaurl"));
        String baseURL;
        if (args.length >= 1) {
            baseURL = String.valueOf(args[0]);
        }
        else {
View Full Code Here

Examples of de.innovationgate.wgpublisher.webtml.utils.TMLContext.meta()

        String baseURL;
        if (args.length >= 1) {
            baseURL = String.valueOf(args[0]);
        }
        else {
            baseURL = (String) tmlContext.meta("request", "url");
        }
       
        URL url = new URL(wgaUrl, baseURL);
        return new URLBuilder(tmlContext, url);
       
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.