Do we have a method to upload plugins in web2pyslices? If not, I will extend web2py.com/plugins it is becoming hard for me to keep track
On Jul 5, 4:53 am, Bruno Rocha <[email protected]> wrote: > HI, > > I just finished the refactoring for PFWizard plugin, major bug fixes (thanks > everyone testing and reporting) > > *# NOTES* > - It works only wih web2py 1.97+ > - It works only for SQLFORM based forms, you have to pass a db.table > - It does not works for Crud() , does not allows editing or delete yet (can > you contribute?) > - It receives any arg that SQLFORM receives > > *# FIXES* > - Fixed Issue #2 - Now it works with tables which has '_' or '__' in > fieldnames. > - Fixed Issue #1 - Now it works with Python < 2.6 - removed enumerate() > - Ommit fields - Fixed issue, now you cam ommit fields with no break in > validation (client and server side) > - Code cleanup, PEP8 checkups # But I really does not matter about it :P > > *# FEATURES* > - Added form.auto_validation method > Now you don t need to always write "if form.accepts(....)....elif > form.errors....." > Just use in this way: > > form = PowerFormWizard(db, steps) > form.auto_validate() > return dict(form=form) > > or > # define flash message > form.auto_validate(messages=['Yeah it works', 'Ops, error']) > > or > > #execute a function after validation > def myfunction(success, x,y,z): > #first argument receives True or False > .... > > form.auto_validate(flash=my_function, args=[x, y, z]) > > DEMO & DOWNLOAD :http://labs.blouweb.com/powerformwizard > REPO:https://bitbucket.org/rochacbruno/powerformwizard > > *# Whats next?* > working on a new plugin for the 'Power' family, it is a JSON based tableless > grid (which is much more than a grid) > hope to release with examples, by the end of the week, preview > ->http://labs.blouweb.com/PowerGrid > > Need help, contribution, test.. > > []'s > -- > Bruno Rocha > [ About me:http://zerp.ly/rochacbruno]

