Leonel, Anthony, thank you for the explanation, i'll be more specific.

I try to use jqwidgets ( http://www.jqwidgets.com/) on web2py because we 
want a more desktop like app with all the benefits web2py has. We also 
looked at and tested Kendo UI but that is is too much Angular.js oriented.

The windows are created using the following code within the 
$(document).ready(function () { ....

        function createElements() {
            //Creating the new windows
            var mainDemoContainer = $('#mainDemoContainer');
            var offset = mainDemoContainer.offset();
            $('#window0').jqxWindow({maxHeight:1000, height: 1000, width: 
800,  position: { x: offset.left + 0, y: offset.top + 10} });
            //Removing all 1000
            $('#window1').jqxWindow({maxHeight:1000, height: 1000, width: 
300,  position: { x: offset.left +800, y: offset.top + 10} });
            $('#window2').jqxWindow({maxHeight:1000, height: 1000, width: 
800,  position: { x: offset.left + 1100, y: offset.top + 10} });
            $('#showWindowButton').jqxButton({  width: '120px'});
            $('#addWindowButton').jqxButton({  width: '100px' });
        }

Window 1 is located with HTML as follows:

<body class='default'>
        <div id="mainDemoContainer">
            <div id="window1">
                <div>Navigation</div>
                <div>
                    <div id="navigation_div">
                        {{=LOAD('default','navigation.load', ajax=True)}}
                    </div>
                </div>
            </div>

In the default.py controller and navigation.load locals and session vars 
are set which are rendered for building dropdown menu's on bootstrap 
buttons. In the standard web2py layout this works fine.

The windows are created nicely but is the code above the component stays 
"loading...."

Richard D


On Saturday, November 1, 2014 8:51:55 PM UTC+1, Richard D wrote:
Hi,
>
>
> I want to use a javascript layout library (jqxwidgets). With bootstrap 
> layout rendering and updates using ajax components is clear to me a applied 
> with success.
> But the javascript layout feels different and some experiments result only 
> in components with the status loading.
>
> Can anybody point me to the main solution and design difference between a 
> HTML and javascript layout for web2py?
>
>
> Thank you,
> Richard D
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to