Hi Luciano,
You said that right, web2py has a great community :) .. welcome
aboard. I'm sure you will find web2py a superb web development
framework.
I have been using web2py casually for the last one year or so, and on
a serious basis for the last 2 months.
If you are happy about the inbuilt cron
turning the dict
> if form[0].process(onvalidation=add_my_field)
> On Feb 21, 10:09 am, whowhywhat wrote:
>
>
>
>
>
>
>
> > anybody .. please .. pretty please :)..
>
> > On Feb 21, 10:20 am, whowhywhat wrote:
>
> > > I need a web2py SQLFORM.
anybody .. please .. pretty please :)..
On Feb 21, 10:20 am, whowhywhat wrote:
> I need a web2py SQLFORM.grid to accept and process based on some
> conditions, which need to be triggered based on some check boxes. I
> have inserted these checkboxes into the form by doing something like
Good tip Wikus..
you can also do the something similar with SQLFORM.factory and not
define in the model (that way no DB table is created)
in controller
MY_OPTIONS = ["a","b","c"]
form = SQLFORM.factory(
Field("my_options", "list:string",
default=MY_OPTIONS,widg
k out the excellent web2py documentation for forms and
validators http://web2py.com/books/default/chapter/29/7#Validators
On Feb 21, 12:51 pm, whowhywhat wrote:
> You can also just write a jquery validator for the same..
>
> On Feb 21, 12:49 pm, whowhywhat wrote:
>
>
>
>
>
>
>
You can also just write a jquery validator for the same..
On Feb 21, 12:49 pm, whowhywhat wrote:
> This should work. Although it is ugly (it gives a error message under
> all the checkboxes :P ).. but does validate as you require. Please
> check and let me know.
>
> def
;a",_value="a",_size="0"),"A"))),
>
> (TD(INPUT(_type="checkbox",_name="b",_value="b",_size="0"),"B")),
>
> (TD(INPUT(_type="checkbox",_name="c",_value="c",_size="0&
please could post your controller code..
On Feb 21, 10:32 am, Sanjeet Kumar wrote:
> I have the multiple check-box in one row in Controller I want to validate
> it form controller when the user submit his request without selecting any
> of the check-box than it should be shown the error message "
I need a web2py SQLFORM.grid to accept and process based on some
conditions, which need to be triggered based on some check boxes. I
have inserted these checkboxes into the form by doing something like :
In the controller -
def my_grid():
form = SQLFORM.grid()
if len(request.args)>1 and (re
its share of bad days..
On Feb 5, 6:47 pm, Alan Etkin wrote:
> Congratulations. I tried to open the url of the project and it returns
> a 404 error.
>
> On 4 feb, 12:54, whowhywhat wrote:
>
>
>
>
>
>
>
> > Dear Web2py community,
> > I just finished w
wow! looks really cool. Thanks for sharing Massimo. I have been
playing a bit with Phonegap and JQTouch. This looks promising.
On Feb 3, 9:53 pm, Massimo Di Pierro
wrote:
> http://www.lungojs.com/
Dear Web2py community,
I just finished writing a web2py authentication plugin (custom
authentication) to authenticate using BrowserID accounts (https://
browserid.org). BrowserID is a project by Mozilla Labs
(mozillalabs.org). It aims to provide a de-centralized, free, easy to
use authentication me
> motp_auth(..., userfield="email")
>
> And in the custom authentication code's query:
>
> db(db.auth_user[userfield] == )...
Ahh yes :D .. will try that, thanks a lot!
Thanks for the suggestions Alan.
> There is a CRYPT helper object of web2py that can be instanitated with
> different options. It is used for standard authentication. (I am not
> sure if if can be of use for
> AES)http://web2py.com/examples/static/epydoc/web2py.gluon.validators.CRYP...
I do
nice tip. thanks for sharing!
On Jan 29, 1:51 pm, guruyaya wrote:
> I've made a mistake in my tip, please replace:
> db.comment._common_filter = inherit_common_filter(db, db.comment)
> with:
> db.comment._common_filter = inherit_common_filter(db,
> db.comment.post)
>
> Sorry for this one.
>
just finished writing a motp (http://motp.sourceforge.net/)
authentication plugin for web2py. Where do i contribute this code?
I would appreciate if some one tests this and gives me some feedback.
I have uploaded the code to Google code. project is
https://web2py-motp-auth.googlecode.com
you can s
.
Calculated by
md5('epoch_time'[:-1]+'motp_secret'+'motp_pin').hexdigest()[:6]
now my question:
- how can i retrieve the motp_pin and motp_secret from the auth
username table in the custom login method?
am i on the right path? please correct me if i am wrong
please help..
thanks a lot for the tip and recipe howsec.. will go through and
try .. :)
will postback
On Jan 7, 9:54 pm, howesc wrote:
> sounds cool.
>
> the formula will be similar to what i did here to add facebook, twitter,
> google accounts auth to
> web2py:http://www.web2pyslices.com/slices/take_slice/7
Dear web2py community,
I am interested in using motp (motp.sourceforge.net) / google
authenticator (http://code.google.com/p/google-authenticator/) with my
web2py apps. Both motp and google authenticator have clients available
for every possible platform (android, ios, blackberry, j2me, java,
windo
http://ajenti.org .. looks interesting. However, would be much more
elegant and simpler to extend if built with web2py :D ..
another interesting python library/framework for remote sysadmin/
remote execution manager which i just came across is http://saltstack.org/
Looks very useful and more power
wow .. it works! :) ...
i just added the following in the controller (after calling SQLFORM.grid):
#check if form is a create form
if len(request.args)>1 and request.args[-2]=='new' and form.create_form:
my_extra_element =
TR(LABEL('Married'),INPUT(_name='married',value=False,_type='checkbo
:) .. that sounds right.. i guess i can just add some jquery in the view
with a condition to check if the view is for edit or create form. The
jquery could just insert the checkbox (if married etc.).. if checked i
could use jquery to un-hide the spouse name field row.
I will also try out the cu
i am trying to figure out the SQLFORM.grid from the source. The create and
update forms are generated using SQLFORM and not crud.. my mistake thinking
this was done by CRUD. I guess i will need to customize the form by passing
form.create_form.append(whatever) .. is this the right way? .. i will
i voted :) .. web2py deserves support from every decent IDE
Thanks a lot for the prompt reply Cliff. The tip you gave me is something i
did not know about and will be handy.. However this is useful to modify the
grid in itself. I need some way to modify the subsequent Create, Edit and
Update pages (if grid is editable). That is if i click on the add butt
I could not find any post/documentation on how the create, edit and update
forms generated by SQLFORM.grid could be customized. I am assuming that it
is similar to CRUD form customization. However I have not been able to
figure it out.
For example if i wished to have a optional field exposed upo
use the Firefox scrapbook extension (https://addons.mozilla.org/en-US/
firefox/addon/scrapbook/)..
that way you could annotate, highlight etc.
On Nov 10, 4:21 am, BrendanC wrote:
> I don't mind buying the updated docs once they are available. (I'm thinking
> of some sort of local website copy).Me
im located at Ahmedabad about 340 miles from Mumbai
On Feb 21, 10:43 pm, Massimo Di Pierro
wrote:
> If you are there please contact me.
>
> Massimo
i want to try and avoid using janrain RPX. Is it possible to use
openid authentication for web2py and use the google accounts by
passing the google accounts openid URL (https://www.google.com/
accounts/o8/id). I tried using the example given in the web2py book
(chapter 8), but this does not seem to
ndex.php?option=com_content&view=ar...>
>
> 2011/2/14 whowhywhat
>
>
>
>
>
>
>
> > Solved the problem! :) .. wsgi has a option to explicitly pass an
> > environment variable (given in the commandline).
> > Once i passed the http_proxy variable by this met
to work.
i finally have cherokee + uwsgi + web2py working absolutely fine (with
proxy etc.)
will document everything and post it. thanks for everything.
On Feb 12, 8:47 pm, whowhywhat wrote:
> Luis i did use the web2py auto config script to try out apache with
> WSGI.
> I too noticed th
urastes web2py and Cherokee
>
> I want to lose the memory consumption and increase performance.
>
> 2011/2/12 whowhywhat
>
>
>
>
>
>
>
>
>
> > Thanks for the quick replies.
> > As Luis mentions i have used export http_proxy (but in /etc/
> > environm
Massimo Di Pierro
>
> > Thanks for your comments.
>
> >> WHen you need urllib, and web2py.python makes outbound connections you
> >> should not need a proxy server or any proxy configuration as far as I
> >> can tell (and I am not sure about your setup). This look
web2py is the first framework i actually enjoy using. :) .. been
advocating it to everyone i meet these days. I sincerely thank the
entire web2py community for everything.
I have been developing a small web2py application for intranet use at
the place where i work. During development i used window
34 matches
Mail list logo