Thanks. That seems to work. Though I am still curious as to why test.html
works and test.html/4 does not.
On Sunday, 6 May 2012 18:23:20 UTC+1, Massimo Di Pierro wrote:
>
> That;s how html understand paths. Do it the safe web2py way:
>
> <iframe src='{{=URL('webpage.html')}}' scrolling="no"
> width="100%"></iframe>
>
> On Sunday, 6 May 2012 10:33:58 UTC-5, simon wrote:
>>
>> Please can someone explain this.....
>>
>> When I enter test using the code below then I can see a page with "TEST"
>> and "CONTENTS" which is what I wanted.
>> However when I open test/4 it shows three nested iframes each with "TEST"
>>
>> def test():
>> response.view="default/test.html"
>> return dict()
>> def webpage():
>> return XML("CONTENTS")
>>
>> test.html
>>
>> TEST
>> <iframe src='webpage.html' scrolling="no" width="100%"></iframe>
>>
>