Hi Juan,
On 28/09/2011 18:51, juanduke wrote:
Are you importing the required files?
Load your view in firefox, and check if firebug show some error loading
the required files or maybe is coding typo.
I /think/ so!
The JS is all there in Firebug, and I don't see any errors on page load
- it's
On 28/09/2011 11:31, andrej burja wrote:
hi
i want to insert a date, bust just a day and a mont, without a year
is that possible?
andrej
have you tried a validator like that associated to your field?
requires = IS_DATE(format=T('%m-%d'), error_message='must be MM-DD!')
M.
> Are you planning to resume development? I'd need the MongoDBAdapter
> for a project, and I am willingly to cooperate.
> I'm quite new both to MongoDB and web2py but I'm learning fast; the
> only problem I see is the apparent lack of documentation on which
> methods an adapter should implement and
Hi,
I am trying to use GAE but I get import error on populate in
db_wizard_populate.py.
It seems to do with the restricted environment. Do anybody know how to
fix this?
The traceback is:
Traceback (most recent call last):
File "/home/g/web2py/gluon/restricted.py", line 192, in restricted
Hi all:
I really like tinyMCE, because is very powerful. I'd like to see some plugin
for that.
On the otherside, if what you need is to install an editor very quickly, I
think, you can use this plugin for w2p:
http://dev.s-cubism.com/plugin_elrte_widget
It use elRTE (http://elrte.org/) editor.
P.S.
Currently I am redirecting to a different VIEW file, and then after
save, returning to the original location.
I read about the ajax function in web2py.
But I am looking for an 'overlay' effect.
Any hint on this?
---Vineet
On Sep 28, 9:44 pm, Vineet wrote:
> My question is regarding displa
I'm trying to learn to use the DAL.
I've been reading through chapted 6 of the web2py book and I'm sorry
if I missed the answer there, but here I go!
A user enters his/her postcode and this is checked against an API
which issues us back the 10 closest postcodes. We store the 10 closest
postcodes
Do the form normally and try this with jquery:
$('#totalitems').hide();
2011/9/28 Anthony
> I think the 'hidden' argument goes inside FORM() -- looks like you've got
> it inside DIV().
>
> Anthony
>
>
> On Wednesday, September 28, 2011 10:14:40 PM UTC-4, Joseph Jude wrote:
>>
>> Hi,
>> I de
I am using request.args[1] in a custom built form (not FORM helper).
[CODE]
Department
[/CODE]
The original argument is like this: "human Resources department"
It gets formatted like this : "human_Resources_department"
If a FORM helper is used, this formatting is avoided.
How do I get t
Does anybody know where is the code so I can try customize it ?
On Sep 27, 6:20 pm, Omi Chiba wrote:
> For example, I have a field which has 'abcab' and 'bcabc' data.
> If I provide 'ab' in the search box, I want to just pull the first one
> ('abcab') and exclude second one ('bcabc'). Can we do t
Hi Vineet:
First, visit this link: http://labs.blouweb.com/PowerGrid/ and click in
->Docs Icons
Is that the effect what you are lookin for?
So, you can try doing this:
on the view write an anchor A(...) with href="#"
the with jQuery, select this anchor, and override the click event, something
l
hi,
sqlite 3.7+ supports better concurrency (see
http://www.sqlite.org/draft/wal.html),
on webfaction, there are multiple python versions installed, but
python2.7 is built against 3.3.6
so I built from sources sqlite, python 2.7 and now on /home/my_user/
bin/python2.7 I can use latest sqlite
>
Il giorno 29/set/2011, alle ore 15:50, elffikk ha scritto:
> hi,
>
> sqlite 3.7+ supports better concurrency (see
> http://www.sqlite.org/draft/wal.html),
> on webfaction, there are multiple python versions installed, but
> python2.7 is built against 3.3.6
> so I built from sources sqlite, pyt
I have started a second instance of Web2py on my test server, running
on port 8002. I used the syntax in the book, except that I provided
the password at startup.
I can create an ssh tunnel to the server using the syntax in the book.
However, when I point the browser to localhost:8002, nothing h
In you columns list you need to include the columns from the t_message
table that you would like displayed in the list.
-Jim
On 9/29/2011 1:27 AM, andrej burja wrote:
hi
i have
def person_manage():
columns =
['t_person.id','t_person.f_name','t_oseba.f_surname','t_oseba.f_email']
>
> /home/my_user/bin/python2.7 uwsgiconfig.py --build
but I did so
will that work
export LD_LIBRARY_PATH=/home/my_user/lib/python2.7
then running the uwsgi command?
Il giorno 29/set/2011, alle ore 16:36, Vasile Ermicioi ha scritto:
> /home/my_user/bin/python2.7 uwsgiconfig.py --build
>
> but I did so
>
> will that work
>
> export LD_LIBRARY_PATH=/home/my_user/lib/python2.7
>
> then running the uwsgi command?
>
This is the directory where python core m
>
> Are you sure you have added --enable-shared in your ./configure script ?
to me, this seems to be the cause, I will give it a try later today
thank you very much for quick responses
Hi all,
I was wondering what would be the preferred method for deploying
single web2py applications in Debian?
What I basically want to do is to deploy a single web2py application
in the root of each domain with all applications/domains using the
single web2py/gluon installation provided&
On Sep 29, 2011, at 7:36 AM, Vasile Ermicioi wrote:
> /home/my_user/bin/python2.7 uwsgiconfig.py --build
>
> but I did so
>
> will that work
>
> export LD_LIBRARY_PATH=/home/my_user/lib/python2.7
>
> then running the uwsgi command?
>
A note of caution when modifying LD_LIBRARY_PATH: like PAT
Every application is in it´s own folder already. With routes.py you can
specify which domain(subdomain) belongs to which application.
Admin is not separate, so you have one admin for all applications.
Kenneth
Hi all,
I was wondering what would be the preferred method for deploying
This is important. If you have built something with web2py submit a
talk proposal. If you need apply for financial aid.
The more web2py talk proposals the highest the chance there will be a
web2py talk in 2012.
Massimo
Begin forwarded message:
From: Brian Curtin
Date: September 29, 2011 9
Is anyone using spinejs with web2py and has ajax calls working?
Hi all,
With help of members of this group, I was able to produce a dynamic form
where text fields can be added / removed at the client side. However, I got
one (hopefully the last) problem.
This form contains two sets of fields - in the first set, there is only name
which is mandatory; in the
Hm. yeah, good point.
Let me do some cleaning up on what I have... and make sure it will be
backward compatible with people doing requires=CRYPT on the password
field. Then I'll send you a diff and see what you think.
On Sep 29, 1:38 am, Massimo Di Pierro
wrote:
> Perhaps the safer bet is t
thanks, I know about this option. I use it when I just test for a
role, I guess requires_login can be omitted in this case.
I've seen that I can use routes_onerror in routes.py to define custom
error pages for http errors and all other errors. I tested it
successfully, works great!
I am having some troubles getting my form to error when no items are
selected in the environment field.
Could someone please shed some insight? and I apologize in advance if
this request is redundant.
from import ENVIRONMENTS
##ENVIRONMENTS is a tuple
db.define_table('info',
Field('info_numb
Why not use the session to carry that value forward? If you put it
into the browser you really need to validate it, under the general
security rule of not trusting anything that comes from the browser.
Also I believe LABEL helper should be used differently. It renders an
html label tag.
Here's
Hi all,
pardon the potential duplication here, but i swear i saw something in the
last month or so that indicated that i can import the db object into my
module so that i did not have to pass it in with each function call. is
this true? can someone help me with the syntax?
thanks,
christian
Just wondering if anyone knows what this parameter is for?
It doesn't seem to be used at all, but could be very useful (ie. to adding
more submit buttons to the form).
Was it functionality that is going to be implemented but didn't happen?
Thanks,
Mathew
I also want to know the answer to this. I have followed an example but
could not get it to work.
In model I have:
from globals import current
from gluon.storage import *
current.app=Storage()
current.app.db=db
If I put in my module X:
from globals import current
then it says "no module named
I was wondering about grid/smartgrid: currently we can use
maxtextlength=XXX to indicate the max length of a column. If the real
length is longer than XXX, the text is chopped at a suitable length
and "..." is added to it.
If you configure a long maxtextlength, at least with the default
template th
The thing is, I would like to have a separate admin application as
well as routes.py for each domain for better access control.
On 29 syys, 17:21, Kenneth Lundström
wrote:
> Every application is in it s own folder already. With routes.py you can
> specify which domain(subdomain) belongs to which
I should probably elaborate a bit.
Basically the thing is that I want to host several web2py applications in a
single server in different domains. Each domain would usually have just one
default application, although it is possible that several applications per
domain might be needed at some po
Thanks, that did it.
I suppose I should have searched the mailing list first, but thanks
for the concise answer.
On Sep 27, 12:43 pm, Anthony wrote:
> You can edit /applications/admin/models/access.py
> --http://code.google.com/p/web2py/source/browse/applications/admin/mode
>
> Anthony
>
>
>
I have recently found OrientDB http://orientechnologies.com
It is a document-graph db that will allow you to evolve your schema
over time. In fact you can have no schema, mixed-schema, or full
schema. There is SQL syntax that is both familiar and powerful,
especially when combined with Gremlin t
How are you creating the form?
Crud, form, sqlform, custom or html?
http://zerp.ly/rochacbruno
Em 29/09/2011 15:23, "jkral" escreveu:
> I am having some troubles getting my form to error when no items are
> selected in the environment field.
> Could someone please shed some insight? and I apolog
I have the patch. I wasn't sure where to put the file, so I emailed
it directly to you Massimo. The only thing that seems to be missing
is updating the login_bare method to use the new hashing.
The code is backward compatible with pre-exiting non-salted passwords.
On Sep 29, 1:38 pm, Dave wrot
https://stripe.com/
powered web2py , massimo?
Ovidio Marinho Falcao Neto
ovidio...@gmail.com
83 8826 9088 - Oi
83 9334 0266 - Claro
Paraiba-Brasil
2011/9/29 Massimo Di Pierro
> https://stripe.com/
40 matches
Mail list logo