Package com.google.gxp.compiler.alerts.common

Examples of com.google.gxp.compiler.alerts.common.StaticValueExpectedError


    // TODO(laurence): generate nicer error message. This error has two
    // problems: first, an attr containing only static text sure looks
    // "static". (if we change the code to allow this we should replace the
    // test with one that uses a <gxp:if> inside the attr) Second, the gxp:attr
    // is referred to as "text". Naming the attribute would be better.
    assertAlert(new StaticValueExpectedError(pos(3, 23), "text"));
    assertNoUnexpectedAlerts();
  }
View Full Code Here


   *
   * <p>The default implementation of this method generates a
   * StaticAttributeExpectedError and returns the fallback.
   */
  public String getStaticString(AlertSink alertSink, String fallback) {
    alertSink.add(new StaticValueExpectedError(this));
    return fallback;
  }
View Full Code Here

TOP

Related Classes of com.google.gxp.compiler.alerts.common.StaticValueExpectedError

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.