view gwt-client/src/main/webapp/FLYS.html @ 6399:10fe6758dfb0

Datacage: Introduced <dc:container-context>. It is an analogon to <dc:context> to fetch the data from a collection. Usage: <dc:container-context container="myContainer"> <dc:properties> <dc:property name="a"/> <dc:property name="b" alias="c"/> </dc:properties> <dc:for-each><!-- as usual --></dc:for-each> </dc:container-context> Iterates over the collection stored on stack with the name 'myContainer' and fetched for each item via getA() and getB() the values to be stored under 'a' and 'c'. dc:has-result() & Co work as expected.
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 21 Jun 2013 20:02:15 +0200
parents 5aa05a7a34b7
children a35da155865f
line wrap: on
line source
<!doctype html>
<!-- The DOCTYPE declaration above will set the    -->
<!-- browser's rendering engine into               -->
<!-- "Standards Mode". Replacing this declaration  -->
<!-- with a "Quirks Mode" doctype may lead to some -->
<!-- differences in layout.                        -->

<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">

    <meta name="gwt:property" content="locale=de">

    <!--                                                               -->
    <!-- Consider inlining CSS to reduce the number of requested files -->
    <!--                                                               -->
    <link type="text/css" rel="stylesheet" href="FLYS.css">

    <!--                                           -->
    <!-- Any title is fine                         -->
    <!--                                           -->
    <title>FLYS-3.0</title>
    
    <!--                                           -->
    <!-- This script loads your compiled module.   -->
    <!-- If you add any GWT meta tags, they must   -->
    <!-- be added before this line.                -->
    <!--                                           -->
    <script type="text/javascript" language="javascript" src="flys/flys.nocache.js"></script>

    <!-- TODO We should NOT include OpenLayers from remote. -->
    <script type="text/javascript" language="javascript" src="OpenLayers-2.11/OpenLayers.js"></script>
  </head>

    <!--                                           -->
    <!-- The body can have arbitrary html, or      -->
    <!-- you can leave the body empty if you want  -->
    <!-- to create a completely dynamic UI.        -->
    <!--                                           -->
    <body style="margin:0px">

        <!-- OPTIONAL: include this if you want history support -->
        <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>

        <!-- RECOMMENDED if your web app will not function without JavaScript enabled -->
        <noscript>
            <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
                Your web browser must have JavaScript enabled
                in order for this application to display correctly.
            </div>
        </noscript>

        <div id="app"></div>
    </body>
</html>

http://dive4elements.wald.intevation.org