Calling remote program on DB2 from Python/Web2py by
ochiba77 in
Controller
I never realized the power of stored procedure on DB2 and now I can execute the CL/RPG/QRY program from python/web2py !
|
Sending email from a form with multiple documents Options by
ochiba77 in
Application
Inspired by Paolo Caruccio from his post on forum.
https://groups.google.com/group/web2py/browse_thread/thread/5e99d46f6fcc6917/47e7723396647f2b?lnk=gst&q=multiple+upload#47e7723396647f2b
|
Deployment script with inline code replacement by
blackthorne in
Deployment
this example applies directly to webfaction but you can easily configure it with any other hoster.
It does all the deployment process from copying application and static files including a small trick I use to support inline replacement of any line of code so that you can you deploy your code and be able to immediately test it on the production site. This is useful for things like the connection string, and other specific paths.
|
SQLForm.grid by
rahuld in
Widget
This is a slice that lets the user start up with SQLForm.grid. It has basic examples that make the job of getting started easy. The syntax for SQLForm.grid is derived from source here [http://code.google.com/p/web2py/source/browse/gluon/sqlhtml.py#1376].
|
Running System CRON on Rackspace by
rvquartz in
Other
This step-by-step guide is for people with very limited Linux experience who are using the Rackspace VPS platform running web2py, and that need to know how to get the CRON feature to work
|
Generate web2py project by
matthew.g.norris in
Deployment
Script to generate a new web2py project on a Unix-based system. Automatically installs the latest web2py source, and generates a folder structure and .gitignore file.
|
How to set up web2py + ldap with Windows Active Directory by
ochiba77 in
Model
This is a recipe to use web2py + ldap in the real world. It's from my blog post. http://ochiba77.blogspot.com/2011/10/how-to-set-up-web2py-ldap-with-windows.html
|
Cascading Drop Down Lists with Ajax by
ochiba77 in
Deployment
Thank you Juan Funez for the idea. https://groups.google.com/group/web2py/browse_thread/thread/1bed807214ecaab5#
|
nginx and SCGI by
michele.comitini in
Deployment
Simple setup to get started with nginx and SCGI.
|
Unittesting, doctesting and userinterface testing by
ncdegroot in
Development
Based on http://www.web2pyslices.com/slices/take_slice/67
|
Setting up Web2py in a virtual environment by
chris.steel in
Tools
This is a walk through on setting up Web2py in a virtual environment. It could be a good way to become familiar with working with Web2py in virtual environments. It is also a working draft for a python package that could be installed via pip which automates a similar setup.
|
JqGrid module by
iiijjjiii in
Module
Here is a JqGrid application that includes a JqGrid module that allows you to insert jqgrid tables in web2py pages using python.
git clone https://iiijjjii@github.com/iiijjjii/jqgrid.git
The module includes functionality for searching and form editing as well as the general features, pagination, sorting on columns, formatting and navigating available with jqgrid. The application includes examples of usage in the default.py controller.
|
qr code builder with web2py by
Uolter in
Application
very simple example that allows you to design a web application that creates custom [[QR code http://en.wikipedia.org/wiki/QR_code]] based on a message or url a user can type in a form.
|
PowerFormWizard Plugin by
rochacbruno in
Plugin
Create Form Wizards based on web2py SQLFORM, allows client side validation eve for single step forms
|
Custom Validator for a list of email adresses by
rochacbruno in
Model
Lets say you have an invite page "Invite your friends" or a "send to friends" feature on your app, user will be able to insert in a text box a list of comma separated email adresses. and you want to validate avery single adress using IS_EMAIL() validator.
This custom validator does that splitting the text box in to a list of email adresses and checking one by one.
|
For mobile browsers: Changing the view based on browser user agent by
mattgorecki in
Model
Share the same controller for both your regular view and mobile view.
|
Two forms on one page with custom forms to update record by
gilsondev in
Controller
This slice shows how to update a record in a form that uses two types of related data.
|
Adding fieldset and legend to forms by
ncdegroot in
Controller
If you want to work with <fieldset> and <legend> you can still use SQLFORM. As shown in other slides the form can be manipulated by slicing and methods like element, insert and append.
|
HTML5 Form Widgets by
espera in
Widget
Revising Widgets for HTML5 Input Types
|
neo-web2py2eclipse by
pierre.thibault1 in
Tools
Transform web2py applications into Eclipse projects.
|
iiijjjiii
ochiba77
larry
telloroberto...