On Sep 26, 4:46 am, mdipierro <[email protected]> wrote: > > in {{extendlayout}} layout can be a string or a variable. If it is a > variable it can be a string pointing to a layout in another app > layout='../../otherapp/views/layout.html' > > This works assuming the two apps are not bytecode compiled and > assuming the otherapp/views/layout finds the variables it needs to > render. >
Regretably layout as a variable in ((extend layout)) also does not work if a single application is bytecode compiled, since view compilation requires the extend variable to be known. Still it is a small price to pay for being able to compile views. John Heenan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

