if so, there's a piece of your code resetting the response.view call.
Please attach a minimal app to reproduce the issue.
On Friday, November 8, 2013 3:24:52 PM UTC+1, David wrote:
>
> It is rendering the 'test.html'
>
> On Thursday, November 7, 2013 2:52:59 PM UTC-5, Niphlod wrote:
>>
>> put in y
It is rendering the 'test.html'
On Thursday, November 7, 2013 2:52:59 PM UTC-5, Niphlod wrote:
>
> put in your test.html an element and render the response.view value in it,
> so you'll know what actually is the response.view passed ...
>
>
>
--
Resources:
- http://web2py.com
- http://web2py.co
put in your test.html an element and render the response.view value in it,
so you'll know what actually is the response.view passed ...
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/i
I am not getting an error, it just renders the view that would normally
default to 'test.html'
On Thursday, November 7, 2013 12:21:00 PM UTC-5, Massimo Di Pierro wrote:
>
> What error do you get? This should work fine.
>
> On Thursday, 7 November 2013 10:34:39 UTC-6, David wrote:
>>
>> Hello,
What error do you get? This should work fine.
On Thursday, 7 November 2013 10:34:39 UTC-6, David wrote:
>
> Hello,
>
> I am trying to use a different view for mobile devices but am not having
> any luck using:
>
> response.view = 'test/test.mobile.html'
>
> in the controller as demonstrated in
5 matches
Mail list logo