[web2py] About the Scheduler

2012-08-24 Thread Martin Weissenboeck
I have tried the examples found in the book and the scheduler works very fine as expected. But how to use it in real life? My questions: - I have written an application with contains only the scheduler. It woks, but does the scheduler need it's own application? What is the best way to

[web2py] how to use javascript code in web2py html pages?

2012-08-24 Thread Amit
Hi, I have html file with one text field with submit button inside form.I added javascript code to validate the textfield but its not working at all, why is it so? does web2py not support javascript function? please check below the code : SCRIPT LANGUAGE=”javascript” function

[web2py] Re: Automatically login after account creation

2012-08-24 Thread Daniel Gonzalez
Thanks Massimo, Anthony. I am using my own registration process, so login_bare is the way to go. I have tested this and works fine! On Thursday, August 23, 2012 3:40:31 PM UTC+2, Anthony wrote: If account creation is not going through the usual registration process (i.e., calling

[web2py] Model for graph hierarchy (many-to-many ralationship)

2012-08-24 Thread Sergi Pons Freixes
Hi all, I'm interested on implementing a many-to-many relation for kind of graph structure, i.e., there are a set of nodes, with some on-way connections between them. Part of my model is: db.define_table('bookpage',\ Field('content', 'text'),\ Field('image', 'upload'),\

[web2py] Re: web2py nginx and uwsgi

2012-08-24 Thread rif
There are some (scripts/setup-web2py-nginx-uwsgi-ubuntu.sh and scripts/setup-web2py-nginx-uwsgi-on-centos.sh) that automate the processes of setting up web2py with nginx+uwsgi. You can start by analyzing these scripts and then consult the upstream documentation. -rif vineri, 24 august 2012,

[web2py] Speeding up the admin interface

2012-08-24 Thread Omri Har-Shemesh
Hi dear list, I am using web2py mainly as a JSON-RPC server and gateway to the database. As a client I use qooxdoo with asynchronous json-rpc calls to communicate between the two. I currently have in my database 74 tables, and expect the number to grow a bit in the future. I mainly use two

[web2py] web2py login user problem

2012-08-24 Thread Yebach
Hello So I am really struggling with web2py user registration I have a database that contains come required tables for webapp to work. Now I want to create a user register form etc. In db.py I added a create table #This is used to connect also to all other tables, SHOULD I CREATE A NEW

[web2py] Re: patch for web2py socket timeout

2012-08-24 Thread pradeep cs
Hi All, I am facing similar problem when uploading an packed appliation on to a remote server, the application size is 224 kb. internet speed is good, i am able to work on Putty session without any issues. Below patch link does not see to work. I am using stable release 1.99.7 Traceback

[web2py] Re: Install in hostgator

2012-08-24 Thread pitonb
OK, got it to work:) On Thursday, August 23, 2012 1:22:27 PM UTC-7, pitonb wrote: Sorry to revive this thing a year later. I have taken a stab at this yesterday and at 5 in the morning I was still nowhere trying to install w2p under a shared hosting account. Has anyone gotten this to work

[web2py] Re: web2py login user problem

2012-08-24 Thread Anthony
Can you show the traceback(). Also, maybe pack and attach a minimal app that reproduces the problem. On Friday, August 24, 2012 5:14:20 AM UTC-4, Yebach wrote: Hello So I am really struggling with web2py user registration I have a database that contains come required tables for webapp to

[web2py] Re: web2py login user problem

2012-08-24 Thread Anthony
Also, what version of web2py are you using? On Friday, August 24, 2012 7:07:49 AM UTC-4, Anthony wrote: Can you show the traceback(). Also, maybe pack and attach a minimal app that reproduces the problem. On Friday, August 24, 2012 5:14:20 AM UTC-4, Yebach wrote: Hello So I am really

[web2py] Thoughts about integration of web2py and emberjs

2012-08-24 Thread Daniel Gonzalez
Hi, We are considering implementing a part of our web application using emberjs. The application is web2py based, and we are thinking about the possible implications. These are some of the issues that we would like to clarify: 1. Can the emberjs javascript be served by web2py? I guess this

Re: [web2py] Re: Google group again

2012-08-24 Thread Anthony
Interesting -- for me there is no Members button, though I can see the number of topics. Anthony On Friday, August 24, 2012 12:05:49 AM UTC-4, apps in tables wrote: the upper right corner has the number of topics, above it the members button , clicking it will show the members. On Friday,

[web2py] Re: Speeding up the admin interface

2012-08-24 Thread David Marko
I had the same problem with another js framework with a lot of small files. I solved it like this: a) created a new application called 'shared' - this app is just to contain static resources b) copied all static resources from the primary app into this 'shared' app c) in your views, create URL

[web2py] Re: how to use javascript code in web2py html pages?

2012-08-24 Thread Anthony
Yes, web2py supports Javascript functions (you can do whatever you want on the client side). In a couple places, your code has the wrong kind of quotes -- instead of you have ”. In particular: onSubmit=”return textFieldValidation();” should be: onSubmit=return textFieldValidation(); and

[web2py] Re: how to use javascript code in web2py html pages?

2012-08-24 Thread Anthony
Also, a tip -- if you think web2py is causing a problem with your code, try the code in a page not served by web2py (e.g., just a static HTML page), and see if it works. Anthony On Friday, August 24, 2012 7:29:16 AM UTC-4, Anthony wrote: Yes, web2py supports Javascript functions (you can do

Re: [web2py] Re: Twitter Bootstrap scatfolding application *updated.

2012-08-24 Thread Martín Mulone
It's just an application, it's just my way of doing thing what I'm sharing, I'm not proposing like a replacement to welcome. Perhaps I have to warn to not use it, because is different and I think most of people working on web2py have to have your owns scatfolding app or already have it. Today is

Re: [web2py] Re: NoSQL Question Again!!!

2012-08-24 Thread Massimo Di Pierro
You can only search those fields in regular columns. Not those in the pickle. You have to decide what you put where. On Thursday, 23 August 2012 23:02:52 UTC-5, apps in tables wrote: what about the search? On Friday, August 24, 2012 7:00:27 AM UTC+3, Massimo Di Pierro wrote: You can always

Re: [web2py] Re: Google group again

2012-08-24 Thread Massimo Di Pierro
Who are you? You can see things that only managers of the group should be able see. And Anthony is a member. On Thursday, 23 August 2012 23:09:02 UTC-5, apps in tables wrote: in this page: https://groups.google.com/forum/?fromgroups=#!forum/web2py On Friday, August 24, 2012 7:05:49 AM

Re: [web2py] Re: Google group again

2012-08-24 Thread Marin Pranjić
I can see it too (web2py-users and web2py-developers). Marin On Fri, Aug 24, 2012 at 2:40 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Who are you? You can see things that only managers of the group should be able see. And Anthony is a member. On Thursday, 23 August 2012

Re: [web2py] Re: Google group again

2012-08-24 Thread Alec Taylor
I can also see it. # of members: https://groups.google.com/forum/#!members/web2py # of topics: https://groups.google.com/forum/#!forum/web2py On Fri, Aug 24, 2012 at 10:51 PM, Marin Pranjić marin.pran...@gmail.com wrote: I can see it too (web2py-users and web2py-developers). Marin On Fri,

[web2py] erratum in book? upload saving original filename

2012-08-24 Thread Cliff Kachinske
The book says use code like this: if request.vars.image!=None: form.vars.image_filename = request.vars.image.filename The code uses SQLFORM without defining download. When editing the record, if the upload field has nothing in it, it is empty, not None. So this exception gets raised:

Re: [web2py] Re: Google group again

2012-08-24 Thread Jonathan Lundell
On 24 Aug 2012, at 5:40 AM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Who are you? You can see things that only managers of the group should be able see. And Anthony is a member. Some people must be seeing the old Groups interface, which had that information. It used to be that you

Re: [web2py] Re: Google group again

2012-08-24 Thread simon
I can see it too. Only appears on the page with list of topics though; not when you are reading the content. On Friday, 24 August 2012 14:24:08 UTC+1, Jonathan Lundell wrote: On 24 Aug 2012, at 5:40 AM, Massimo Di Pierro massimo@gmail.comjavascript: wrote: Who are you? You can see

Re: [web2py] Model for graph hierarchy (many-to-many ralationship)

2012-08-24 Thread Manuele Pesenti
2012/8/24 Sergi Pons Freixes sachiel2...@gmail.com Hi all, I'm interested on implementing a many-to-many relation for kind of graph structure, i.e., there are a set of nodes, with some on-way connections between them. Part of my model is: db.define_table('bookpage',\ Field('content',

Re: [web2py] Model for graph hierarchy (many-to-many ralationship)

2012-08-24 Thread Sergi Pons Freixes
2012/8/24 Manuele Pesenti manu...@inventati.org 2012/8/24 Sergi Pons Freixes sachiel2...@gmail.com db.define_table('page_link',\ Field('in_page', db.bookpage),\ Field('out_page', db.bookpage),\ Field('text')) Are you sure you can call a field text? Or is it a reserved

Re: [web2py] Model for graph hierarchy (many-to-many ralationship)

2012-08-24 Thread Sergi Pons Freixes
I add the revelants parts of sql.log: CREATE TABLE bookpage( id INT AUTO_INCREMENT NOT NULL, content LONGTEXT, image VARCHAR(255), from_book INT, INDEX from_book__idx (from_book), FOREIGN KEY (from_book) REFERENCES book(id) ON DELETE CASCADE, modified_on DATETIME, PRIMARY

[web2py] Re: About the Scheduler

2012-08-24 Thread Niphlod
- I have written an application with contains only the scheduler. It woks, but does the scheduler need it's own application? What is the best way to communicate between the Scheduler and the Main application Scheduler is intended to be embedded into an application. An

[web2py] Bootstrap new and bootswatch_ie.css

2012-08-24 Thread Massimo Di Pierro
I have upgraded to Bootstrap 2.1.0 thanks to a patch by Alec Taylor. I have renamed css/bootswatch*.css as css/web2py_bootstrap*.css to avoid confusion. In the process I have discovered layout.html refereces a bootswatch_ie.css (now web2py_bootstrap_ie.css) and I do not have it. It is required

[web2py] Re: erratum in book? upload saving original filename

2012-08-24 Thread Massimo Di Pierro
This is a mistake in the book. Thanks for reporting it. On Friday, 24 August 2012 08:00:21 UTC-5, Cliff Kachinske wrote: The book says use code like this: if request.vars.image!=None: form.vars.image_filename = request.vars.image.filename The code uses SQLFORM without defining

Re: [web2py] Model for graph hierarchy (many-to-many ralationship)

2012-08-24 Thread Massimo Di Pierro
Field('text') is the problem. A field cannot be called 'text' because it is a reserved keyword. The database complains. On Friday, 24 August 2012 09:20:38 UTC-5, Manuele Pesenti wrote: 2012/8/24 Sergi Pons Freixes sachi...@gmail.com javascript: Hi all, I'm interested on implementing a

Re: [web2py] Bootstrap new and bootswatch_ie.css

2012-08-24 Thread Angelo Compagnucci
Hi Massimo, I think I removed the file from the patches I sent you, but probably I missed something. That file is absolutely useless right now and all it's reference could be removed. Angelo 2012/8/24 Massimo Di Pierro massimo.dipie...@gmail.com I have upgraded to Bootstrap 2.1.0 thanks to a

Re: [web2py] Bootstrap new and bootswatch_ie.css

2012-08-24 Thread Alec Taylor
Very happy to hear this =) FYI: I presented a talk at a Django usergroup meetup a few nights ago, subject was What Django can learn from web2py. After my talk there were a bunch of hardcore+professional Django programmers who are now considering moving to web2py—albeit for smaller

[web2py] Re: Scheduler: help us test it while learning

2012-08-24 Thread Daniel Haag
Just a small thing: Is it possible to have the -g option (the groups to be picked by the worker) when calling the worker with the -K arg from the main web2py.py? maybe somthing like python web2py.py -K appname(group1,group2,...) Am Donnerstag, 12. Juli 2012 20:36:38 UTC schrieb Niphlod:

[web2py] Re: Google group again

2012-08-24 Thread greaneym
The statistics on the web2py-users group page says, showing 33 0f 18259 topics, showing 25 of 4143 members so there may be 4143 members with 18259 topics since the group was started? On Thursday, August 23, 2012 9:11:36 PM UTC-5, Massimo Di Pierro wrote: Does anybody know how to check how

Re: [web2py] Model for graph hierarchy (many-to-many ralationship)

2012-08-24 Thread Sergi Pons Freixes
2012/8/24 Massimo Di Pierro massimo.dipie...@gmail.com Field('text') is the problem. A field cannot be called 'text' because it is a reserved keyword. The database complains. But... changing it to 'link_text' or something else doesn't solve the problem. BTW, it's on MySQL. --

Re: [web2py] Re: NoSQL Question Again!!!

2012-08-24 Thread apps in tables
Are you avoiding my idea of letting the web2py application having both DAL and pymongo datasets at the same time, because It is not possible in web2py ,? it is not practical ? or you are not interested ( or not having time ) ? --

Re: [web2py] Re: Twitter Bootstrap scatfolding application *updated.

2012-08-24 Thread Bruno Rocha
Martin, what about a twitter bootstrap plugin? we can create a plugin to inject bootstrap specific helpers. THUMBNAILS(), POPOVER(), MODAL(), PILLS() also a bootstrap manager. {{=bootstrapmanager(v=2.1, js=True)}} So it will be app agnostic. what do you think about? Em 24/08/2012 08:37,

Re: [web2py] Model for graph hierarchy (many-to-many ralationship)

2012-08-24 Thread Niphlod
There is something else going on. This is the log (no errors creating tables) of the following model on mysql 5.5. web2py trunk (but at least on table creation nothing should have changed since 1.99.7) db.define_table('book', Field('bookname') ) db.define_table('bookpage',

[web2py] Re: Scheduler: help us test it while learning

2012-08-24 Thread Andrew
Hi Niphlod, what drawing tool did you use for your diagrams in the instructions? Still think your explanations and doco are great. --

[web2py] Re: Scheduler: help us test it while learning

2012-08-24 Thread Niphlod
it's yuml.me, a webapp. On Friday, August 24, 2012 6:07:10 PM UTC+2, Andrew wrote: Hi Niphlod, what drawing tool did you use for your diagrams in the instructions? Still think your explanations and doco are great. --

[web2py] Re: Scheduler: help us test it while learning

2012-08-24 Thread Niphlod
Hi, what use should it have if you have the possibility in your app to do declare Scheduler(db, group_names=['group1']) ? On Friday, August 24, 2012 5:08:23 PM UTC+2, Daniel Haag wrote: Just a small thing: Is it possible to have the -g option (the groups to be picked by the worker) when

[web2py] Re: Bootstrap new and bootswatch_ie.css

2012-08-24 Thread Massimo Di Pierro
For the record... this is in trunk. Does not mean it will be in web2py 2.0. There are still some problems. On Friday, 24 August 2012 09:57:07 UTC-5, Massimo Di Pierro wrote: I have upgraded to Bootstrap 2.1.0 thanks to a patch by Alec Taylor. I have renamed css/bootswatch*.css as

Re: [web2py] Re: NoSQL Question Again!!!

2012-08-24 Thread Massimo Di Pierro
Because I do not understand what it means. What functionality would you like to see that is not already available vie pymongo or via DAL? can you make a concrete example? On Friday, 24 August 2012 10:27:30 UTC-5, apps in tables wrote: Are you avoiding my idea of letting the web2py application

Re: [web2py] Re: Twitter Bootstrap scatfolding application *updated.

2012-08-24 Thread Massimo Di Pierro
+1 On Friday, 24 August 2012 10:53:56 UTC-5, rochacbruno wrote: Martin, what about a twitter bootstrap plugin? we can create a plugin to inject bootstrap specific helpers. THUMBNAILS(), POPOVER(), MODAL(), PILLS() also a bootstrap manager. {{=bootstrapmanager(v=2.1, js=True)}} So

[web2py] Another strange email behavior on 1.99.2; anybody know what's going on?

2012-08-24 Thread Cliff Kachinske
Running 1.99.2 on localhost. When sending email, it prints the message to the console. All else works fine. Can anyone suggest why this might be going on? The production system is Ubuntu 10.4 running Apache. Will this behavior cause a problem there? Or should I just upgrade to 99.7? --

Re: [web2py] Model for graph hierarchy (many-to-many ralationship)

2012-08-24 Thread Bruno Rocha
can you try changing db.bookpage to reference bookpage Em 24/08/2012 13:01, Niphlod niph...@gmail.com escreveu: There is something else going on. This is the log (no errors creating tables) of the following model on mysql 5.5. web2py trunk (but at least on table creation nothing should have

[web2py] Column width

2012-08-24 Thread Richard
Hi I want to use maximum screen size for my web2py app. How can I use the full screen width for the body like the menu bar and the footer. Also the width of the main and the sidebars must be changed to 40, 20, 40. Which css objects needs to be changed for this? Thanks in advance. Regards,

Re: [web2py] Re: Twitter Bootstrap scatfolding application *updated.

2012-08-24 Thread villas
I like this clean layout.html It would be nice to be able to use auth.wiki() though; I suppose the menu is incompatible. On Friday, August 24, 2012 12:37:21 PM UTC+1, Martin.Mulone wrote: It's just an application, it's just my way of doing thing what I'm sharing, I'm not proposing like a

Re: [web2py] Re: Twitter Bootstrap scatfolding application *updated.

2012-08-24 Thread David Marko
Does anyone look at Bootstrap Ajax? https://github.com/eldarion/bootstrap-ajax Dne pátek, 24. srpna 2012 17:53:56 UTC+2 rochacbruno napsal(a): Martin, what about a twitter bootstrap plugin? we can create a plugin to inject bootstrap specific helpers. THUMBNAILS(), POPOVER(), MODAL(),

[web2py] Re: Scheduler: help us test it while learning

2012-08-24 Thread Daniel Haag
You could run different task groups with different privileges/priority Am Freitag, 24. August 2012 18:13:02 UTC+2 schrieb Niphlod: Hi, what use should it have if you have the possibility in your app to do declare Scheduler(db, group_names=['group1']) ? On Friday, August 24, 2012 5:08:23 PM

Re: [web2py] Model for graph hierarchy (many-to-many ralationship)

2012-08-24 Thread Niphlod
Yessir! No errors found. timestamp: 2012-08-24T19:34:52.501000 CREATE TABLE book( id INT AUTO_INCREMENT NOT NULL, bookname VARCHAR(255), PRIMARY KEY(id) ) ENGINE=InnoDB CHARACTER SET utf8; success! timestamp: 2012-08-24T19:34:52.605000 CREATE TABLE bookpage( id INT AUTO_INCREMENT NOT NULL,

[web2py] Re: Another strange email behavior on 1.99.2; anybody know what's going on?

2012-08-24 Thread Niphlod
by any chance you have mail.settings.server = 'logging' in your model (just to check)? BTW: upgrading is always fine. On Friday, August 24, 2012 6:55:44 PM UTC+2, Cliff Kachinske wrote: Running 1.99.2 on localhost. When sending email, it prints the message to the console. All else works

[web2py] Re: Scheduler: help us test it while learning

2012-08-24 Thread Niphlod
uhm. You can already change dinamically those just altering the group_names into the scheduler_worker table. But I'll work something out. On Friday, August 24, 2012 8:35:23 PM UTC+2, Daniel Haag wrote: You could run different task groups with different privileges/priority Am Freitag, 24.

Re: [web2py] Re: Twitter Bootstrap scatfolding application *updated.

2012-08-24 Thread Anthony
On Friday, August 24, 2012 2:30:53 PM UTC-4, David Marko wrote: Does anyone look at Bootstrap Ajax? https://github.com/eldarion/bootstrap-ajax Interesting. I think we can already do most of that with the A() helper and with Ajax components. Anthony --

[web2py] Hiding fields and removing col3 from register form?

2012-08-24 Thread Alec Taylor
I have a bunch of fields that are part of a user's account which would be ridiculous to ask for on signup. However they are definitely decoupled parts of the user's data, so need to be extra fields to the auth_user table. How do I hide certain fields from the register form, and remove all col3

[web2py] hideerror in widget not working

2012-08-24 Thread Jim Karsten
I created a custom widget including an *INPUT* with a *hideerror=True*parameter. It did not hide error messages. To simulate: in model: class SimpleWidget(FormWidget): _class = 'string'

[web2py] Re: Hiding fields and removing col3 from register form?

2012-08-24 Thread Anthony
You can set the readable and writable attributes of the fields to False to prevent them from displaying. Regarding the comments, if you don't want them to display, why do you have them? In any case, you should be able to set the comment attribute of each field to None (SQLFORM itself takes a

[web2py] Re: Scheduler: help us test it while learning

2012-08-24 Thread Niphlod
@Daniel: Ok, I worked out a patch to allows -K app1:group1,app2:group1:group2 (old syntax still works ok). Sent to you privately, can you check it ? On Friday, August 24, 2012 8:51:58 PM UTC+2, Niphlod wrote: uhm. You can already change dinamically those just altering the group_names into

[web2py] Re: hideerror in widget not working

2012-08-24 Thread Anthony
For now, a workaround might be to subclass INPUT and replace the xml() method (http://code.google.com/p/web2py/source/browse/gluon/html.py#1692) so it doesn't check for hideerror and simply displays the widget without any error. Anthony On Friday, August 24, 2012 3:30:02 PM UTC-4, Jim Karsten

Re: [web2py] Re: Twitter Bootstrap scatfolding application *updated.

2012-08-24 Thread Massimo Di Pierro
I agree. A(...) + web2py.js are superior. Moreover they are using the name bootstrap but this is not from Twitter. Massimo On Friday, 24 August 2012 14:11:08 UTC-5, Anthony wrote: On Friday, August 24, 2012 2:30:53 PM UTC-4, David Marko wrote: Does anyone look at Bootstrap Ajax?

[web2py] Web2py MVC pattern using wx for V

2012-08-24 Thread Christian Espinoza
Hello guys, There are somebody with some experience using wx instead of a web view layer?? I have some questions about it, and I want to know if exist some example over there... Thanks in advance. Christian. --

Re: [web2py] Web2py MVC pattern using wx for V

2012-08-24 Thread Bruno Rocha
You should see Rad2py, created by Mariano Reingart http://code.google.com/p/rad2py/ On Fri, Aug 24, 2012 at 6:14 PM, Christian Espinoza chespin...@gmail.comwrote: Hello guys, There are somebody with some experience using wx instead of a web view layer?? I have some questions about

Re: [web2py] Web2py MVC pattern using wx for V

2012-08-24 Thread Bruno Rocha
this: http://code.google.com/p/gui2py/ --

[web2py] Re: custom built login form

2012-08-24 Thread shartha
This is in my controller: registrationForm = auth.register() UN = registrationForm.element(#user_username) UN[_placeholder] = Username UN[_name] = regForm_username # This is what causes the error. and this is in my view: {{=registrationForm}} The

Re: [web2py] Model for graph hierarchy (many-to-many ralationship)

2012-08-24 Thread Sergi Pons Freixes
On Friday, August 24, 2012 6:12:08 PM UTC+1, rochacbruno wrote: can you try changing db.bookpage to reference bookpage On my case, it keeps crashing with that. Something weird: once it crash and raises the ticket, I can not load the page again... it timeouts. I have to restart apache to be

[web2py] Re: custom built login form

2012-08-24 Thread Anthony
The problem is, you're changing the name of the field in the HTML, but the server-side data model is still expecting a variable named username (which is the name of the field in the database table). I suppose a workaround might be something like this in the controller (before: if

Re: [web2py] Model for graph hierarchy (many-to-many ralationship)

2012-08-24 Thread Sergi Pons Freixes
Yes, there is really something else messing up somewhere I just created a new app with only this part, and it works perfect. I will start from scratch trying to find what is interfering with this part. I'll keep you posted. --

[web2py] Re: Another strange email behavior on 1.99.2; anybody know what's going on?

2012-08-24 Thread Cliff Kachinske
I'm overriding it in the controller, but I'll check anyway. I commented it out in the model, but it still does it. Oddly it's just doing the message, none of the other fields. On Friday, August 24, 2012 2:41:49 PM UTC-4, Niphlod wrote: by any chance you have mail.settings.server = 'logging'

[web2py] Re: patch for web2py socket timeout

2012-08-24 Thread Massimo Di Pierro
This is fixed in trunk and the timeout has been increased. On Friday, 24 August 2012 01:11:27 UTC-5, pradeep cs wrote: Hi All, I am facing similar problem when uploading an packed appliation on to a remote server, the application size is 224 kb. internet speed is good, i am able to

[web2py] How do I pass page number to SQLFORM.grid?

2012-08-24 Thread weheh
How do I pass page number to SQLFORM.grid? --

Re: [web2py] Re: NoSQL Question Again!!!

2012-08-24 Thread apps in tables
The example that i can think of is the workflow of documents. list of users, list of documents and list of document types, each user can send a document to one or more users receive a document reply to a document (sent doc is linked to the received one) forward the document comment on a

[web2py] Re: custom built login form

2012-08-24 Thread shartha
What you mentioned re: putting forms in separate DIV's should work with jQuery functions. But I suppose if you have two forms with fields that have the same name, if you use the web2py's Ajax function, for the second parameter of the ajax function, the value of both fields will be posted. Is

Re: [web2py] Re: NoSQL Question Again!!!

2012-08-24 Thread Massimo Di Pierro
There are two parts on this problem. One is the workflow of the document (which document, who sent it, whom what it send to) and another is the content of the document which may or may not need to be schema free. 1) The document itself if it needs to be schema free can go in a mongodb and

[web2py] Re: custom built login form

2012-08-24 Thread Anthony
I believe the second argument of ajax() can also be a string jQuery selector, which can be a selector for an entire form, whose inputs will then be serialized and posted. Good point, though -- when the second argument is a list of field names, maybe we should allow an additional parameter to

[web2py] Bootstrap replacement for div class=flash?

2012-08-24 Thread Alec Taylor
I remember Massimo saying a little while ago that someone had suggest modifying the alert flash (response.flash) display a while back—before bootstrap was used in web2py—and that it wasn't well received by the community. Now with bootstrap I recommend we add in stackoverflow style alerts.

[web2py] Re: Access gae db table from a non web2py controller

2012-08-24 Thread David Sheffield
Thanks, option 1 will be my long term fix. I am doing reads only from the pure gae pages so as a quick fix i'll try option 3 and see where that gets me. On Wednesday, August 22, 2012 1:12:47 AM UTC-4, howesc wrote: you have 3 options as i see it: - port the pages to be part of web2py

[web2py] Re: get rid of 'verify password' in register?

2012-08-24 Thread Alec Taylor
Was this feature taken out? I'd really like to use it :) On Tuesday, August 23, 2011 10:14:36 PM UTC+10, Massimo Di Pierro wrote: oops. my mistake. On Aug 22, 11:04 pm, Anthony abasta...@gmail.com wrote: Well, you had to wait a whole 20 minutes, but Massimo is on the case:

[web2py] Re: get rid of 'verify password' in register?

2012-08-24 Thread Alec Taylor
Oh right, I had to actually edit the gluon\tools.py file. Thought it was a variable I could modify from db.py. On Saturday, August 25, 2012 1:58:56 PM UTC+10, Alec Taylor wrote: Was this feature taken out? I'd really like to use it :) On Tuesday, August 23, 2011 10:14:36 PM UTC+10, Massimo

[web2py] Re: Bootstrap replacement for div class=flash?

2012-08-24 Thread Massimo Di Pierro
As I said. I always liked this but some users did not and complained about it. Yet times have changed. For web2py 2.0 we have to freeze all layout changes because they take too long to be tested. For example I had to revert your patch using bootstrap 2.0 because some users have reported