day, 4 February 2013 12:06:42 UTC-6, Martijn Hermans wrote:
>>
>> I've got a website in wich I want to allow the user some customization.
>>
>> To prevent my site from injection, I use : {{=XML(markup,sanitize=True)**
>> }}
>>
>> This works perfect, ex
I've got a website in wich I want to allow the user some customization.
To prevent my site from injection, I use : {{=XML(markup,sanitize=True)}}
This works perfect, except it doesn't allow the tags 'font' and 'span'.
I know I can override this default behaviour, but I want to know if I
expose
Thanks for your quick response.
Op vrijdag 21 december 2012 06:14:25 UTC+1 schreef rochacbruno het volgende:
>
> if not request.ajax:
> response.menu = _menu()
>
> On Thu, Dec 20, 2012 at 1:52 PM, Martijn Hermans
>
> > wrote:
>
>> When I handle a request in
Thanks for your quick response.
Op vrijdag 21 december 2012 07:14:32 UTC+1 schreef Massimo Di Pierro het
volgende:
>
> if not request.ajax:
>
> On Thursday, December 20, 2012 9:35:02 AM UTC-6, Martijn Hermans wrote:
>>
>> I've just started using web2py and hav
I've just started using web2py and have a question about ajax calls.
In my project a menu is defined (and build) in models/meny.py).
The menu is added to the response like this : response.menu = _menu()
In this way I can access the menu in my layout and that is exacly what I
want, except...
When I handle a request in Web2Py it builds a menu in models/menu.py.
This behaviour is exactly what I want for a normal request, but I want to
skip this, when I make an ajax-call.
Is this possible?
thx,
Martijn
--
6 matches
Mail list logo