[web2py] need help with this DB query using LIKE AND with DAL

2010-01-20 Thread Mandriluy
Hey guys, im new to Web2Py AND python ... my goal was to learn python while i move a site i did in php to web2py and im almost finishing :D Im stuck a bit with ajax and partial queries , im going to detail a bit what i mean about partial queries. I have a field in the DB that has multiple text (y

[web2py] Re: need help with this DB query using LIKE AND with DAL

2010-01-20 Thread Mandriluy
t, instead of one of a dict() or string. If you return an iterable > (like a list) web2py thinks you want to do streaming. > > Moreover every time you find yourself manipulating string to build > HTML like in ' of XSS vulnerabilities or just does not work because web2py escaped it > by defau

[web2py] Re: need help with this DB query using LIKE AND with DAL

2010-01-20 Thread Mandriluy
nks you want to do streaming. > > Moreover every time you find yourself manipulating string to build > HTML like in ' of XSS vulnerabilities or just does not work because web2py escaped it > by default: '%ltg;div...'. > > Let us know if this fixes your problem. > &g

[web2py] Re: need help with this DB query using LIKE AND with DAL

2010-01-20 Thread Mandriluy
="res%s"%j, >                          _onclick="copyToBox(jQuery('#res%s').html > ()"%j),_id="resultLiveSearch") \ >                    for (j,patience) in enumerate(pacientes)] >         return TAG[''](*items) > > On Jan 20, 11:11 am, Mandriluy

[web2py] Re: need help with this DB query using LIKE AND with DAL

2010-01-20 Thread Mandriluy
/main/slices/take_slice/51 Greetings ;-) On 20 ene, 16:40, mdipierro wrote: > Thank you. I suggest you post it as a slice on web2pyslices.com > > On Jan 20, 12:16 pm, Mandriluy wrote: > > > Thank you very much massimo for your help :-) .. i did make some minor > > change

[web2py] Re: need help with this DB query using LIKE AND with DAL

2010-01-20 Thread Mandriluy
http://www.youtube.com/watch?v=jGuW43sdv6E On 21 ene, 00:38, Mandriluy wrote: > I bought a screencast software last month, i use it today and made a > screencast of this but a simple version with some changes. Im > uploading right now to youtube, i hope you like it and i apologize