Package com.google.gxp.compiler.reparent

Examples of com.google.gxp.compiler.reparent.RequiresStaticContentError


    assertNoUnexpectedAlerts();

    compile("<gxp:param name='foo' type='String'>",
            "<b expr:class='\"foo\"'>html comment</b>",
            "</gxp:param>");
    assertAlert(new RequiresStaticContentError(pos(2,1), "<gxp:param>"));
    assertNoUnexpectedAlerts();

    compile("<gxp:param name='foo' type='String'>",
            "<gxp:eval expr='1' />",
            "</gxp:param>");
    assertAlert(new RequiresStaticContentError(pos(2,1), "<gxp:param>"));
    assertNoUnexpectedAlerts();
  }
View Full Code Here


    assertNoUnexpectedAlerts();

    compile("<gxp:param name='foo' type='String'>",
            "<b expr:class='\"foo\"'>html comment</b>",
            "</gxp:param>");
    assertAlert(new RequiresStaticContentError(pos(2,1), "<gxp:param>"));
    assertNoUnexpectedAlerts();

    compile("<gxp:param name='foo' type='String'>",
            "<gxp:eval expr='1' />",
            "</gxp:param>");
    assertAlert(new RequiresStaticContentError(pos(2,1), "<gxp:param>"));
    assertNoUnexpectedAlerts();
  }
View Full Code Here

TOP

Related Classes of com.google.gxp.compiler.reparent.RequiresStaticContentError

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.