Beispiel #1
0
 public static function ExtInyection()
 {
     ExtLoader::BasicCSSInyection();
     ExtLoader::BasicJSInyection();
 }
Beispiel #2
0
        background-image:url(<?php 
echo $pageAttributes->get("exturl");
?>
/examples/shared/icons/fam/folder_wrench.png);
    }
    .nav {
        background-image:url(<?php 
echo $pageAttributes->get("exturl");
?>
/examples/shared/icons/fam/folder_go.png);
    }
    </style>

    <!-- GC -->
    <!-- LIBS -->
    <?ExtLoader::BasicJSInyection();?>
    <!-- EXAMPLES -->
    <script type="text/javascript" src="<?php 
echo $pageAttributes->get("exturl");
?>
/examples/shared/examples.js"></script>

    <script type="text/javascript">
    Ext.onReady(function(){

        // NOTE: This is an example showing simple state management. During development,
        // it is generally best to disable state management as dynamically-generated ids
        // can change across page loads, leading to unpredictable results.  The developer
        // should ensure that stable state ids are set for stateful components in real apps.
        Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
        <?