Package com.google.gxp.compiler.phpivot

Examples of com.google.gxp.compiler.phpivot.PlaceholderRequiresExampleError


    compile("<gxp:msg>",
            "<gxp:ph name='foo'/>",
            "<gxp:eval expr='x+1'/>",
            "<gxp:eph/>",
            "</gxp:msg>");
    assertAlert(new PlaceholderRequiresExampleError(pos(3, 1), "<gxp:ph>"));
    assertNoUnexpectedAlerts();

    compile("<gxp:msg>",
            "<gxp:ph name='foo'/>",
            "<gxp:if cond='x'>yes<gxp:else/>no</gxp:if>",
            "<gxp:eph/>",
            "</gxp:msg>");
    assertAlert(new PlaceholderRequiresExampleError(pos(3, 1), "<gxp:ph>"));
    assertNoUnexpectedAlerts();

    // Static content doesn't need an example.
    compile("<gxp:msg>",
            "<gxp:ph name='foo'/>static<gxp:eph/>",
View Full Code Here


    compile("<gxp:msg>",
            "<gxp:ph name='foo'/>",
            "<gxp:eval expr='x+1'/>",
            "<gxp:eph/>",
            "</gxp:msg>");
    assertAlert(new PlaceholderRequiresExampleError(pos(3, 1), "<gxp:ph>"));
    assertNoUnexpectedAlerts();

    compile("<gxp:msg>",
            "<gxp:ph name='foo'/>",
            "<gxp:if cond='x'>yes<gxp:else/>no</gxp:if>",
            "<gxp:eph/>",
            "</gxp:msg>");
    assertAlert(new PlaceholderRequiresExampleError(pos(3, 1), "<gxp:ph>"));
    assertNoUnexpectedAlerts();

    // Static content doesn't need an example.
    compile("<gxp:msg>",
            "<gxp:ph name='foo'/>static<gxp:eph/>",
View Full Code Here

TOP

Related Classes of com.google.gxp.compiler.phpivot.PlaceholderRequiresExampleError

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.