On Wednesday, December 31, 2014 11:21:53 AM UTC-8, Alex Glaros wrote:
>
> Thanks Dave, works great.
>
>
Glad to help ... and it helps me by reinforcing the lessons I've learned.
/dps
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2p
On Wednesday, December 31, 2014 12:39:44 AM UTC-8, Niphlod wrote:
>
> Everyone can...the question is, did anybody try before looking into
> pre-baked solutions or any app MUST come from a general cut&paste of the
> internet :-P ? This carries a different widget that is compatible with bs3
> ht
I could figure out :)
*import osclass IS_PATH(object):def __init__(self, error_message='use a
valid unix path'):self.error_message = error_messagedef
__call__(self, value):try:if not
os.path.isabs(value):raise Exception("Invalid
Path"
Hi Folks!
Anybody has built a custom validator for unix paths? I need to validate if
a path is valid even if the directory/file doesn't exist.
Thanks!
Tito
--
Linux User #387870
.
_/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:___
--
Resources:
- http://web2py.com
- h
hey one and all,
i am migrating from 2.9.5 to 2.9.11 onto a new centos 6.5 server.
i haven't installed any apps yet, but going to admin does return:
Not Found
The requested URL /admin/default was not found on this server.
--
Apache/2.2.15 (CentOS) Server at mydomain.
Thanks Dave, works great.
syntax for my specific functions:
arglist=[]
for row in suggestionAgencyRows: ## suggestionAgencyRows is query result
arglist.append(row.suggestion_to_agency.superObjectID)
vardict = dict()
for row in suggestionAgencyRows:
vardict[row] = row.suggestion_to_age
Ops i missed it .
Thank u
Em 31/12/2014 15:55, "Cássio Botaro" escreveu:
> inside layout.html we have {{include 'web2py_ajax.html'}}.
>
> you have to do the same in this file.
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py
inside layout.html we have {{include 'web2py_ajax.html'}}.
you have to do the same in this file.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You rec
find and replace in my layout.html from {{}} to for ex {% %} does not work!
i get this
{{ response.files.insert(0,URL('static','js/jquery.js'))
response.files.insert(1,URL('static','css/calendar.css'))
response.files.insert(2,URL('static','js/calendar.js'))
response.files.insert(3,URL('static',
Im trying to use polymer inside web2py
Polymer so far does not allow to change the delimiters so i have to change
web2py's delimiters.
I will find and replace as Anthony said.
Thank you
2014-12-31 13:32 GMT+00:00 Cássio Botaro :
> Explain more about your problem.
>>
> Maybe change delimite
>
> Explain more about your problem.
>
Maybe change delimiters is not the right choice.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received thi
On Wednesday, December 31, 2014 6:54:44 AM UTC-5, Ramos wrote:
>
> This way i have to change all my layout to the new delimiter.
>
> Is there any better way?
>
Can't you just do a find-and-replace? It's just a one-time operation.
Anthony
--
Resources:
- http://web2py.com
- http://web2py.com/bo
This way i have to change all my layout to the new delimiter.
Is there any better way?
2014-12-31 11:33 GMT+00:00 Cássio Botaro :
> If you change delimiters at controller, when you extend layout, extend
>> html should have the same delimiter.
>>
> example:
> {%='auth' in globals() and auth.navb
>
> If you change delimiters at controller, when you extend layout, extend
> html should have the same delimiter.
>
example:
{%='auth' in globals() and auth.navbar(mode="dropdown") or ''%}
just change in layout.html and it works!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Docu
hello i have this in my controller
response.delimiters = ('{%', '%}')
and in my view
{% extend 'layout.html' %}
but this way all i get is this mess in my browser
{{ response.files.insert(0,URL('static','css/web2py.css'))
response.files.insert(1,URL('static','css/bootstrap.min.css'))
respon
>
>>
> Is there a lesser setting that allows eval without allowing too much of
> other "threats"? Could changing to that setting
> be justified to management (aside from the IE defense: "The normal user
> has a working visit if we do it that way").
>
>
no, there isn't. either you allow eval
On Tuesday, December 30, 2014 2:58:59 PM UTC-8, Alex Glaros wrote:
>
> for the var list, I get an "invalid syntax" error with an arrow under the
> "=" sign
>
> are parenthesis symbols supposed to be used instead of brackets?
>
> the arg list works well
>
I'm not sure what problem you're having
17 matches
Mail list logo