Package com.webobjects.appserver

Examples of com.webobjects.appserver.WOComponent


        ((D2WPage) result).setLocalContext(newContext);
        return result;
    }

    public QueryPageInterface queryPageWithFetchSpecificationForEntityNamed(String fsName, String entityName, WOSession s) {
        WOComponent result = pageForTaskSubTaskAndEntityNamed("query", "fetchSpecification", entityName, s);
        result.takeValueForKey(fsName, "fetchSpecificationName");
        return (QueryPageInterface) result;
    }
View Full Code Here


    /**
     * Creates the tabs and pane control.
     */
    @Override
    public void appendToResponse(WOResponse response, WOContext context) {
        WOComponent component = context.component();
        String idString = (String) id.valueInComponent(component);
        if (idString == null) {
          throw new RuntimeException("id binding evaluated to null");
        }

View Full Code Here

  @Override
  protected void addQueryParameters(ERXMutableURL chartUrl, WOResponse response, WOContext context) {
    super.addQueryParameters(chartUrl, response, context);

    WOComponent component = context.component();
    chartUrl.setQueryParameter("cht", "p");
   
    NSArray<String> labels = AjaxUtils.arrayValueForAssociation(component, _labels);
    if (labels != null) {
      chartUrl.setQueryParameter("chl", labels.componentsJoinedByString("|"));
View Full Code Here

  @Override
  protected void addQueryParameters(ERXMutableURL chartUrl, WOResponse response, WOContext context) {
    super.addQueryParameters(chartUrl, response, context);

    WOComponent component = context.component();
    chartUrl.setQueryParameter("cht", "gom");

    NSArray<String> label = AjaxUtils.arrayValueForAssociation(component, _label);
    if (label != null) {
      if (label.size() != 1) {
View Full Code Here

  @Override
  protected void addQueryParameters(ERXMutableURL chartUrl, WOResponse response, WOContext context) {
    super.addQueryParameters(chartUrl, response, context);

    WOComponent component = context.component();
    String orientation = "vertical";
    if (_orientation != null) {
      orientation = (String) _orientation.valueInComponent(component);
    }
View Full Code Here

  @Override
  protected void addQueryParameters(ERXMutableURL chartUrl, WOResponse response, WOContext context) {
    super.addQueryParameters(chartUrl, response, context);

    WOComponent component = context.component();
    chartUrl.setQueryParameter("cht", "qr");

    String text = null;
    if (_text != null) {
      text = (String) _text.valueInComponent(component);
View Full Code Here

  @Override
  public WOActionResults invokeAction(WORequest aRequest, WOContext aContext) {
    String nextPageName = null;
    WOActionResults invokedElement = null;
    final WOComponent component = aContext.component();
    if (aContext.elementID().equals(aContext.senderID())) {
      if (!((_disabled != null) && _disabled.booleanValueInComponent(component))) {

        if (_linkResource != null) {
          Object nextPageValue = _linkResource.valueInComponent(component);
View Full Code Here

    response.appendContentCharacter('"');
  }

  public void appendContentStringToResponse(WOResponse aResponse, WOContext aContext) {
    if (_string != null) {
      WOComponent aComponent = aContext.component();
      Object val = _string.valueInComponent(aComponent);
      if (val != null) {
        String valueToAppend = val.toString();
        boolean shouldEscapeHTML = true;
        if (_escapeHTML != null) {
View Full Code Here

  @Override
  protected void addQueryParameters(ERXMutableURL chartUrl, WOResponse response, WOContext context) {
    super.addQueryParameters(chartUrl, response, context);

    WOComponent component = context.component();
    chartUrl.setQueryParameter("cht", "v");
  }
View Full Code Here

  }

  protected String linkResourceUri(WOResponse aResponse, WOContext aContext) {
    String uri = null;
    if(_linkResource != null) {
      WOComponent aComponent = aContext.component();
      Object val = _linkResource.valueInComponent(aComponent);
      if (val != null) {
        uri = val.toString();
      }    
    }
View Full Code Here

TOP

Related Classes of com.webobjects.appserver.WOComponent

Copyright © 2018 www.massapicom. 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.