Hello Annet, I have difficulty to understand what you are doing. Maybe, you should start to see your index page more like a container of components. What see wrong in this case is to try to have one of these component play the role of the index page container itself and contains component... But I know that sometime it difficult to dertermine where to put component surrounding html. I mean component could be self contained with all the html if you put all of it in the .load, but sometimes it is just not working that way and you have to extract some html code outside of the component and put it in your container controller... For example, I use Boostrap accordeon and I want to control when my component are loading to avoid all the component to be loaded on my dashboard everytime the index page is hited. So I can't include the accordeon bootstrap html into my component even if it simplify my index dashboard main page a lot since I need to display the header row of accordeon to catch a click even and call my component with web2py_component() to load my component stuff into the accordeon tab...
Hope it helps you... Richard On Wed, Aug 14, 2013 at 2:21 AM, Annet <[email protected]> wrote: > I have a view site/index.html which includes the following code: > > <div class="item"> > {{=LOAD('landingpage','index.load',ajax=True)}} > </div> <!-- item --> > > The view landingpage/index.load contains this code: > > <div class="row-fluid"> > <div class="span11 offset1"> > {{=LOAD('landingpage','form.load',ajax=True)}} > </div> <!-- /.span11 offset1 --> > </div> <!-- /.row-fluid --> > > When I expose site/index a view called default/search.html is being loaded. > This view has absolutely nothing to do with the functions and views > mentioned > above. > > Is there something wrong with the way I nest the LOAD()s? > > Another related question, a visitor can have multiple landingpage/index > views open in > his browser, how do I know when a visitor submits a form which landingpage > it > belongs to? > > > Kind regards, > > Annet > > -- > > --- > 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/groups/opt_out. > > > -- --- 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/groups/opt_out.

