[web2py] Example of editable tree view

2016-06-22 Thread Ed Tate
Is there a good tutorial or example for an editable treeview interacting with Web2py For example, I'd like to create an application where the user primarily interacts with a tree view (e.g. jstree) and can do the following: - Add a node to the tree - Delete a node from the tree -

[web2py] Deleting a record in built-in wiki with versioning causes error

2014-08-29 Thread Ed Tate
I am able to cause an error trying to delete a wiki page for the built-in wiki if I turn versioning on. This example causes an error in web2py 2.9.5: Starting with a new application, name it wiki_test and do the following: # in db.py, add auth.wiki(resolve=False)

[web2py] How to delete built in wiki page that has a tag and uses versioning?

2014-08-29 Thread Ed Tate
If I use the builtin wiki feature and turn on record versioning, I get error when I delete a wiki page which has a tag. Is there a way around this issue? Recipe to duplicate the error in web2py 2.9.5: 1) Create a new application. Call it 'test_wiki'. 2) Make the following modifications: add

[web2py] No module named connections

2013-05-27 Thread ed
Ubuntu box without issue. I had a similar issue with rq, but I simply removed the relevant queue.py and everything was fine? The problem here is that there is noe connections module? Could somebody please point me in the right direction as we need to get the site live. tia ed

[web2py] running epydoc on modules that use current

2012-05-28 Thread Ed Greenberg
I was happy to find that I could do 'from gluon import current' in my modules, and get access to the various treasures that lie within ;) Recently I went to try and run epydoc on my modules directory, so that I could have some doc while writing code, and discovered that epydoc gets an error

[web2py] exceptions in modules

2012-03-22 Thread Ed Greenberg
: Unexpected error:class 'applications.gw.modules.CustomException.CustomException' The two classes match, yet I cannot catch the exception. I hope somebody can point out the error of my ways... Ed Greenberg

[web2py] Re: exceptions in modules

2012-03-22 Thread Ed Greenberg
, (m,s): I just can't catch the durned thing. Ed

[web2py] Access to app variables in modules

2012-02-26 Thread Ed Greenberg
(or whatever) Is there a good way to make more of the environment available to my module, or am I doing the right thing? Thanks, Ed

[web2py] DAL: select column in (a,b)

2012-02-11 Thread Ed Greenberg
I feel like I should know this. I've searched, but Google doesn't really allow for the word in as it's too short and common. I'd like to do select column in (a,b) in the dal. Any idea how? Thanks, Ed

[web2py] Re: DAL: select column in (a,b)

2012-02-11 Thread Ed Greenberg
belongs() Thanks. On Feb 11, 7:09 am, Marin Pranjić marin.pran...@gmail.com wrote: http://web2py.com/books/default/chapter/29/6#belongs Marin On Sat, Feb 11, 2012 at 12:34 PM, Ed Greenberg greenberg...@gmail.comwrote: I feel like I should know this. I've searched, but Google

[web2py] Default controller function

2012-01-31 Thread Ed Greenberg
. Is there any way to have a default controller function? Thanks, Ed

[web2py] DAL and date calculations

2012-01-28 Thread Ed Greenberg
? Thanks, Ed

[web2py] Re: web2py and FirePHP

2011-11-22 Thread Ed Greenberg
Tried again. The link to www.box.com is definitely returning 404. If you see content there, related to web2py, could you help me retrieve it? Thanks, Ed On Nov 20, 11:04 pm, Vineet vineet.deod...@gmail.com wrote: I can access that link. You may try to hit the link again. --- Vineet On Nov

[web2py] web2py and FirePHP

2011-11-20 Thread Ed Greenberg
what had previously been found at http://www.box.com/shared/dtm0dhgze9 Did it work? Many thanks Ed Greenberg

[web2py] IS_NOT_IN_DATABASE with a formatted value

2011-10-08 Thread Ed Greenberg
sure that I don't get duplicates. How can I get the validator to run the values through cleanUpNumber() before looking in the database? Ed

[web2py] Re: IS_NOT_IN_DATABASE with a formatted value

2011-10-08 Thread Ed Greenberg
Thank you both, Massimo and Anthony. This is exactly the kind of pointer I was looking for. Ed On Oct 8, 3:37 pm, Anthony abasta...@gmail.com wrote: I think he wants to check to make sure the cleaned number isn't already in the database, so if defining a custom validator for the cleaning

[web2py] export to csv - no header row

2011-06-29 Thread Ed Greenberg
Looking at the code to gluon.dal.Rows.export_to_csv(), it does not seem possible to suppress the header on the first line. Is there a way to do this?

[web2py] Enabling logging

2011-05-11 Thread Ed Greenberg
. Thanks, Ed

[web2py] Re: Enabling logging

2011-05-11 Thread Ed Greenberg
I found my log messages. When using consoleHandler with apache/WSDL, apparently, the logging messages go to the server error log, not the console.

[web2py] Mail.send failure:login() takes exactly 3 arguments (2 given)

2011-05-11 Thread Ed Greenberg
When trying to send registration or lost password email, web2py flashes that it cannot send email (so registration fails) and logs [Wed May 11 10:07:31 2011] [error] 2011-05-11 10:07:31,049 - web2py - WARNING - Mail.send failure:login() takes exactly 3 arguments (2 given) My app's db.py says:

[web2py] Re: Mail.send failure:login() takes exactly 3 arguments (2 given)

2011-05-11 Thread Ed Greenberg
. It's working now. So if this happens to anybody else, look at your db.py and see if mail.settings.login is defined twice. Ed On May 11, 9:23 am, Massimo Di Pierro massimo.dipie...@gmail.com wrote: gluon/tools.py contains this code:                 if self.settings.login != None

[web2py] Re: Login problems with _formkey changing

2011-05-06 Thread Ed Greenberg
My user had success (and closed his issue) after removing all Firefox add-ons. Thank you.

[web2py] Re: Login problems with _formkey changing

2011-04-28 Thread Ed Greenberg
On Apr 27, 12:06 pm, pbreit pbreitenb...@gmail.com wrote: Is this the standard login code or has it been customized in any way? It's the standard login code. Other than a few syslog calls, my entire gluon directory is absolutely the way it came from web2py.

[web2py] Login problems with _formkey changing

2011-04-27 Thread Ed Greenberg
anybody tell me how to enable this user/browser? Or where else to look? Thanks, Ed G

[web2py] epydoc behavior

2011-04-09 Thread Ed Greenberg
loads the source code, the CSS highlights the function, but the window is left at the bottom, not at the function. Then I have to go find the function. It's a trivial thing, but the few other epydoc pages I have don't behave this way. Anybody seen this? Ed G

[web2py] AttributeError: 'Recaptcha' object has no attribute 'options'

2011-03-20 Thread Ed Greenberg
Following the book, I do this in db.py, after auth has been instantiated. from gluon.tools import Recaptcha auth.settings.captcha = Recaptcha(request,'6LczqcISA...cAoH','6L...L2') and I get a ticket: AttributeError: 'Recaptcha' object has no attribute 'options' Any ideas? Traceback below. Ed

[web2py] Re: Log the user out

2011-03-11 Thread Ed Greenberg
suggestions about how to log the user out and keep control of what he sees next? Ed

[web2py] Re: Log the user out

2011-03-02 Thread Ed Greenberg
further suggestions, I'm very interested. Ed On Mar 1, 2:26 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: this should work, no? def index():     auth.logout()     response.flash=bye bye user On Mar 1, 1:12 pm, Ed Greenberg greenberg...@gmail.com wrote: At the end of my controller

[web2py] Log the user out

2011-03-01 Thread Ed Greenberg
At the end of my controller function, I'd like to log the user out and send him back to the login screen, hopefully with a response.flash on the screen. I've tried several things, none of which work. I tried sending him to URL(c='default',f='user',args=('logout')) which got close. One was

[web2py] join produces odd row object

2011-02-22 Thread Ed Greenberg
In my 'room' controller, I did this: def list(): rooms = db((db.rooms.customer==session.customer_id)(db.rooms.property==db.properties.id)).select(db.rooms.ALL, db.properties.ALL, orderby=db.properties.short_desc) return dict(rooms=rooms) which I thought was way cool. In my

[web2py] SQLFORM hide some fields

2011-02-16 Thread Ed Greenberg
to accomplish this. I want to say I appreciate all this help. Thanks, Massimo and all. Ed Greenbeg

[web2py] Re: SQLFORM hide some fields

2011-02-16 Thread Ed Greenberg
These look like exactly what I'm looking for. I'll try 'em out. Thanks.

[web2py] Re: SQLFORM limit contents of dropdown

2011-02-15 Thread Ed Greenberg
sql : Why is the same sql failing in web2py that is succeeding in the mysql program. Perhaps I'm only seeing a fragment of what web2py submitted to mysql? How can I see the whole thing? Many thanks. Ed Greenberg On Feb 14, 4:19 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: def index

[web2py] Re: SQLFORM limit contents of dropdown

2011-02-15 Thread Ed Greenberg
to take a few bytes to than everybody for their assistance in this forum. Ed On Feb 15, 9:47 am, villas villa...@gmail.com wrote: Not this:     query = select id from properties where customer = %d % Try something like this instead:     query = (db.properties.customer==customer_id) On Feb

[web2py] SQLFORM limit contents of dropdown

2011-02-14 Thread Ed Greenberg
visible). A crud won't work reliably -- it's too generic. Do I have to create my own form and populate my dropdown, or can I have SQLFORM do the work in some fashion? Thanks Ed Greenberg

[web2py] Subclassing Login or getting code to run every time a user logs in

2011-02-14 Thread Ed Greenberg
I'd like to store some session variables on login. (Look the userid up in another table and get some convenient stuff out of there. ) Is there any way to tag onto the Auth login method AFTER login is successful and before it redirects to whatever is specified in the _next argument? Thanks, Ed

[web2py] Re: SQLFORM limit contents of dropdown

2011-02-14 Thread Ed Greenberg
, Ed Greenberg greenberg...@gmail.com wrote: When SQLFORM constructs an HTML form with a dropdown of foreign keys, I need to limit the records to only those that match a certain where clause. This is a master-detail problem. For instance, when displaying a detail form,  we only want some

[web2py] apache, wsgi, redirect http to https

2011-02-12 Thread Ed Greenberg
I'd like to redirect http to https so that users who don't specify https are forced to use it, especially for login/password transactions. Also it would be nice if the admin pages, which are blocked in http, would redirect, rather than fail. There were some postings about htaccess in the group,

[web2py] What user is logged in (or, restricting access based on user)

2011-02-11 Thread Ed Greenberg
best practice for this, as well. Can somebody please explain. Thanks, Ed Greenberg

[web2py] insert into table where fields and values are in a dict

2011-02-01 Thread Ed Greenberg
If I call db.tablename.insert(...) it expects individual column-value pairs. I already have these in a dict (which has been pre-screened for valid columns and types). Is there a way to call insert with this dict, or to properly explode the values into something I can pass to insert? Thanks.

[web2py] Re: Another instance of No such file or directory: '/opt/web-apps/web2py/applications/admin/..

2011-01-27 Thread Ed Greenberg
original desktop version of web2py have it? Once I know how I was supposed to get it, I'll determine if it was my error, or file a cogent bug report as to why it was not created. Thanks, Ed On Jan 26, 9:01 am, Massimo Di Pierro massimo.dipie...@gmail.com wrote: My todo list is getting long today. Can

[web2py] creating html for the user to save or copy/paste

2011-01-27 Thread Ed Greenberg
to the user? Thanks, Ed G

[web2py] Another instance of No such file or directory: '/opt/web-apps/web2py/applications/admin/..

2011-01-26 Thread Ed Greenberg
I have a new centos installation. I followed the script at http://web2pyslices.com/main/slices/take_slice/98. When I use the new application wizard, I get the same traceback that others have posted: Traceback (most recent call last): File /opt/web-apps/web2py/gluon/restricted.py, line 188, in

[web2py] Minimal Install on Embedded Arm System

2010-06-07 Thread ed
to be installed? Thanks Ed

[web2py:37498] Re: Recaptcha not working in Login

2009-12-17 Thread ed
for upgrades but still the problem persists. I am out of solution. - On Dec 10, 6:00 pm, hamdy.a.farag hamdy.a.fa...@inbox.com wrote: Hi ed I assume you upgraded your web2py to the latest svn version Now you can do : def

[web2py:37151] Re: Recaptcha not working in Login

2009-12-13 Thread ed
Hi hamdy, I assume you upgraded your web2py to the latest svn version Now you can do : def login(): auth.settings.login_catpcha = Recaptcha (request,public_key,private_key) form = auth.login() Yes, i upgraded to the latest version 1.72.3 by clicking click to check for upgrades in

[web2py:36932] Re: if not logged in graceful redirect to login page

2009-12-09 Thread ed
(auth.settings.login_url) It was what i needed. Thanks a lot. Cheers, ed On Dec 9, 4:26 pm, hamdy.a.farag hamdy.a.fa...@inbox.com wrote: --Quote from web2py manual -   auth.settings.login_next = URL(r=request, f='index')   By default, the login page, after successful login, redirects the visitor

[web2py:36938] Re: Recaptcha not working in Login

2009-12-09 Thread ed
/space.gif width=20 height=200 // td div class=flash/divbrbr/tr trtd colspan=10 class=footer pCopyright copy; 2009 - Powered by a href=http:// www.web2py.comweb2py/a/p/td /tr/table/div/body/html Thank you again. Ed On Dec 4, 2:24 pm, mdipierro mdipie

[web2py:36852] if not logged in graceful redirect to login page

2009-12-08 Thread ed
Hi, I've been trying to find a solution of @auth.settings.requires_login which displays None when ever a module that requires login is clicked. In the URL box i saw login?_next= module path... . Is there an auth.settings.login?_next=URL() to redirect to login page? Thanks. Ed -- You

[web2py:36475] Re: Recaptcha not working in Login

2009-12-03 Thread ed
Hi Massimo, The code does not display the recaptcha. Inserted code that displayed recaptcha but still failed to validate recaptcha words. I am baffled why the code works perfectly with the Registration and it doesn't with Login. Thanks again. Ed On Dec 3, 12:45 pm, mdipierro mdipie

[web2py:36381] Recaptcha not working in Login

2009-12-02 Thread ed
the source code and tested various solutions but failed to see what's wrong with it. Did I miss something? Thanks a lot in advance. Ed -- You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send email to web...@googlegroups.com

[web2py:33385] Re: SQLFORM.factory conditional Field in form

2009-10-21 Thread ed
this is misleading users. However, if there is any mistake i made in copying the code which i verified more than 10 times, kindly point out. Thanks again for your help. ed script jQuery(document).ready(function(){     jQuery('#no_table_usceduc_updt_row').hide();     jQuery

[web2py:33267] Re: SQLFORM.factory conditional Field in form

2009-10-20 Thread ed
in advance for your help. ed On Oct 16, 4:56 pm, ed edbi...@rocketmail.com wrote: Hi Boris, Thank you, will try using no_table_. I am still grappling withjQuery. I have a 2 select options as condition to implement. Thanks again. Ed On Oct 15, 7:12 pm, Boris Manojlovic boris.manojlo...@gmail.com

[web2py:32991] Re: It is alive!!! (the new book is on sale)

2009-10-16 Thread ed
Hi Massimo, Congratulations! Glad to hear that, will buy it. I like the hard copy than the digital. Cheers! Ed On Oct 16, 11:03 am, mdipierro mdipie...@cs.depaul.edu wrote: Today I bought a few copy of the book (and for the record they charge me the same price as you for the book). I noticed

[web2py:32993] Re: SQLFORM.factory conditional Field in form

2009-10-16 Thread ed
Hi Boris, Thank you, will try using no_table_. I am still grappling with jQuery. I have a 2 select options as condition to implement. Thanks again. Ed On Oct 15, 7:12 pm, Boris Manojlovic boris.manojlo...@gmail.com wrote: no_table_fieldname so no_table is what you need On Thu, Oct 15, 2009

[web2py:32943] SQLFORM.factory conditional Field in form

2009-10-15 Thread ed
Hi, In the example on conditional fields given in Web2py manual the convention is, every INPUT field have a name equal to tablename_fieldname and it contained in a called tablename_fieldname_row. However, SQLFORM.factory doesn't have a table, it is all fields. Can someone tell me, what name is

[web2py:32792] Re: newbie: returning Controller variable to View

2009-10-13 Thread ed
 pm, mdipierro mdipie...@cs.depaul.edu wrote: On Oct 9, 9:40 pm, ed edbi...@rocketmail.com wrote: Hi Massimo, Your suggestion is very neat and beyond my limited web2py knowledge: Mind that you do not need

[web2py:32535] Re: newbie: returning Controller variable to View

2009-10-09 Thread ed
Hi Massimo, Okay, redirect returns page but without any variable. Any hint how to render a page name loggedin that says; Hi Ed, welcome! after a succesful login using the code i created?. Sorry, i'm a newbie with very limited web2py knowledge and stucked on this. Thank you in advance Massimo

[web2py:32599] Re: newbie: returning Controller variable to View

2009-10-09 Thread ed
info is simply in {{=auth.user.first_name}} {{=auth.user.last_name}} On Oct 9, 1:34 am, ed edbi...@rocketmail.com wrote: Hi Massimo, Okay, redirect returns page but without any variable. Any hint how to render a page name loggedin that says; Hi Ed, welcome! after a succesful login using

[web2py:32603] Re: newbie: returning Controller variable to View

2009-10-09 Thread ed
Hi Yarko, Of course i did some thinking, %$# ;-) This is a redirect not a a return dict() issue wherein variables are not passed as per Massimo and what i also observed. No, your solution did not help! So, review your solution and T H I N K ;-) On Oct 10, 11:07 am, Yarko Tymciurak

[web2py:32456] newbie: returning Controller variable to View

2009-10-08 Thread ed
=redirect(URL(r=request,f='loggedin')), name=row) ... View: {{extend 'layout2.html'}} p ph3Hi {{=name}}/h3/p p . Even if i used this code in my Controller: name = Ed , the View will display the same only Hi None. I've been trying to figure out but still a newbie. Thanks for your help

[web2py:32457] Re: newbie: returning Controller variable to View

2009-10-08 Thread ed
/p p . On Oct 8, 4:04 pm, ed edbi...@rocketmail.com wrote: Hi, I've been trying to return a variable from a controller to a view using dict() but wasn't able display it.  I have the following code: Controller: if form.accepts(request.vars, session):             row=db

[web2py:32459] Re: newbie: returning Controller variable to View

2009-10-08 Thread ed
Solved it. Was not able to refresh the changes I made. On Oct 8, 4:29 pm, ed edbi...@rocketmail.com wrote: Correction on Controller code: if form.accepts(request.vars, session):   em = request.vars.emailad   row=db(db.auth_user.email==em).select  (db.auth_user.first_name)   return dict(red

[web2py:32529] Re: newbie: returning Controller variable to View

2009-10-08 Thread ed
The display went well because i filled a session with a constant Ed and not a result of a db().select(). So, the constant variable was displayed without a hitch. When i used db().select() the display went like: [{'first_name': 'Ed'}] The above display is the result of the following code

[web2py:32067] Re: Using error_message in the Controller for field data validation

2009-10-01 Thread ed
Hi Denes, Thank you very much. Ed On Oct 2, 4:26 am, DenesL denes1...@yahoo.ca wrote: Hi ed, you can do: if form.accepts(...):   if request.vars.toyrrequest.vars.fromyr:     form.errors.toyr='Valid Years: %s - 2000'%request.vars.fromyr   else:     # code to handle valid form input here

[web2py:31979] Re: Using error_message in the Controller for field data validation

2009-09-30 Thread ed
) == (int(a), None) if a passes or (b, error)== (a,error message) otherwise. On Sep 29, 3:51 am, ed edbi...@rocketmail.com wrote: Hi, Can i use error_message() in the Controller to validate field data? I think i saw somewhere this process. Thanks

[web2py:31984] Re: Using error_message in the Controller for field data validation

2009-09-30 Thread ed
...@cs.depaul.edu wrote: sorry. I do not understand. Can you provide an example? On Sep 30, 10:44 pm, ed edbi...@rocketmail.com wrote: Sorry Massimo for mixing up my question. What I mean is, when there is an error in validating a variable and response.flash is used it returns an empty form

[web2py:31852] Using error_message in the Controller for field data validation

2009-09-29 Thread ed
Hi, Can i use error_message() in the Controller to validate field data? I think i saw somewhere this process. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py-users group. To post to this group, send

[web2py:31681] newbie: Render 2 fields in one row?

2009-09-25 Thread ed
I've googled and been trying to figure out how to render two fields in one row in SQLFORM factory? Is this possible? All examples i encountered in rendering sql form are all single field in each row. Thanks --~--~-~--~~~---~--~~ You received this message because

[web2py:31512] newbie: SQLFORM.factory displayed field length too long

2009-09-23 Thread ed
Hi, When I used SQLFORM.factory the field I defined is longer when displayed. Is this the default? How can I display the actual defined length? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py-users

[web2py:30025] t2 like horizontal menu in ver. 1.66

2009-09-04 Thread ed
: Helvetica, sans-serif; font-size: 14px; font-weight: normal; color: #FF; } #menu a:hover, #menu .current_page_item a { background: #566316; color: #FF; } This is how the code is used in t2: {{=t2.menu(response.menu)}} Thanks in advance. ed

[web2py:29479] Modifying form auth.register() to display Password2 label

2009-08-27 Thread ed
Hi, It tried modifying the default.py auth.register() form with the following code: def user(): if request.args(0)=='register': response.flash=T('Register') form = SQLFORM(db.auth_user, fields='first_name', 'last_name','password','email', 'birthdate'])

[web2py:28974] Re: Adding fields in auth_user

2009-08-20 Thread ed
I didn't change the gluon directory and inserted the code below in db.py and was able to run the app. I inserted 2 fields and tried to run it again but encountered the error ticket below. from gluon.tools import * auth=Auth(globals(),db) # authentication/ authorization

[web2py:28984] Re: Adding fields in auth_user

2009-08-20 Thread ed
from default.py (line 55), so it might be unrelated. Richard On Aug 20, 4:25 pm, ed edbi...@rocketmail.com wrote: I didn't change the gluon directory and inserted the code below in db.py and was able to run the app. I inserted 2 fields and tried to run it again but encountered the error

[web2py:/] Re: Adding fields in auth_user

2009-08-20 Thread ed
Thanks Jonathan, i called auth.define_tables() after defining the table and that solved the problem. On Aug 20, 3:27 pm, ed edbi...@rocketmail.com wrote: This is the error ticket: Error traceback 1.Traceback (most recent call last): 2.  File gluon/restricted.py, line 178, in restricted 3

[web2py:28918] Adding fields in auth_user

2009-08-19 Thread ed
Hi, I added fields in mysql table auth_user and would like to show the fields in Edit Profile. Is there a source code where I can modify the function def user() and all the functionalities it exposes like login, change password, profile, etc.. If there is what is the folder name? Thanks ed

[web2py:28869] Re: Welcome login does not work with mysql

2009-08-18 Thread ed
, 1:00 pm, mdipierro mdipie...@cs.depaul.edu wrote: Can you tell us more? What is in the database after registration? Try appamdin. On Aug 17, 11:01 pm, ed edbi...@rocketmail.com wrote: In sqlite I was able to register and login. However, in mysql I was able to register only

[web2py:28872] Re: Welcome login does not work with mysql

2009-08-18 Thread ed
auth_user.registration_key is blank. On Aug 18, 3:00 pm, mdipierro mdipie...@cs.depaul.edu wrote: All I meant is visithttp:///yourapp/appadmin and check what is in the registration_key field of those records. On Aug 18, 1:56 am, ed edbi...@rocketmail.com wrote: I registered 2 users

[web2py:28875] Re: Welcome login does not work with mysql

2009-08-18 Thread ed
anything else? Has anybody else tried Ath with mysql? Massimo On Aug 18, 2:13 am, ed edbi...@rocketmail.com wrote: auth_user.registration_key is blank. On Aug 18, 3:00 pm, mdipierro mdipie...@cs.depaul.edu wrote: All I meant is visithttp:///yourapp/appadmin and check what

[web2py:28878] Re: Welcome login does not work with mysql

2009-08-18 Thread ed
mdipie...@cs.depaul.edu wrote: Yes, after auth.define_tables() db.auth_user.password.requires=[] On Aug 18, 2:30 am, ed edbi...@rocketmail.com wrote: How can I override password encryption. I want to check if the content of password is the same as what I inputted. Is this possible

[web2py:28859] Re: Welcome login does not work with mysql

2009-08-17 Thread ed
In sqlite I was able to register and login. However, in mysql I was able to register only and was not able to login. On Aug 18, 11:49 am, ed edbi...@rocketmail.com wrote: Hi, I recently downloaded web2py 1.66 and tried Welcome app out of the box using sqlite, it worked. I changed to mysql

[web2py:19860] Re: jquery jqGrid JSON url problem

2009-04-16 Thread ed
? Thanks in advance. Cheers, Ed On Mar 25, 9:46 pm, Mike michael.mcgreg...@gmail.com wrote: Hi Ed... I'm no expert but here's what I'm doing for the URL, url: '../controller/function1' Here's a more complete example...I know there a several places where more web2py-esqe helpers or style would

[web2py:18631] Re: jquery jqGrid JSON url problem

2009-03-25 Thread ed
Hi Mike, I would like to thank you for the example source code. The first web2py jqGrid integration source code. This a great help for those who are interested in this JQuery plugin. Regards, Ed On Mar 25, 9:46 pm, Mike michael.mcgreg...@gmail.com wrote: Hi Ed... I'm no expert but here's

[web2py:18559] Re: jquery jqGrid JSON url problem

2009-03-24 Thread ed
in this technology. Thanks in advance. Ed On 24 Mar, 01:36, Mike michael.mcgreg...@gmail.com wrote: Hey Ed, We're using jqGrid with XML data. Something thoughts (if you haven't tried them already): 1.) Try your grid with the FireBug plugin for FireFox and look at the response being returned to the grid

[web2py:18481] jquery jqGrid JSON url problem

2009-03-23 Thread ed
:'lname', width:160}, Maybe the url address format is wrong or whatever. Can someone help me on this. Thank you very much. Ed --~--~-~--~~~---~--~~ You received this message because you

[web2py:13525] FORM Table horizontal

2008-12-12 Thread ed
Hi, I wanted to create a horizontal search prompt using the code below. I tried using TD tag after TR on all the fields but unfortunately the display was still vertical. Can somebody help me, please? Thanks form = FORM(TABLE(TR(, INPUT(_name=submit, _type=submit, _value=Search)),\

[web2py:12131] form variables not validate in form.accepts

2008-11-18 Thread ed
you in advance. ed --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups web2py Web Framework group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED

[web2py:12140] Re: form variables not validate in form.accepts

2008-11-18 Thread ed
Massimo, My web2py version is 1.44. Is there any bug reported the same as what i encountered? ed On Nov 19, 1:09 pm, mdipierro [EMAIL PROTECTED] wrote: It works for me. Perhaps this is due to a bug that was introuced in 1.49 and was fixed today in trunk. I will repost on Thursday. Massimo

[web2py:12143] Re: form variables not validate in form.accepts

2008-11-18 Thread ed
Massimo, It seems the other app Puppy I downloaded had the same problem. Errors like blank fields are not displayed. Can this be a T2 problem, corrupted maybe? I tried JobSite and errors are displayed. Thanks ed On Nov 19, 2:25 pm, ed [EMAIL PROTECTED] wrote: Massimo, My web2py version is 1.44

[web2py:12145] Re: form variables not validate in form.accepts

2008-11-18 Thread ed
Massimo, Solved the problem, corrupted plugin_t2. Thanks ed On Nov 19, 3:16 pm, ed [EMAIL PROTECTED] wrote: Massimo, It seems the other app Puppy I downloaded had the same problem. Errors like blank fields are not displayed. Can this be a T2 problem, corrupted maybe? I tried JobSite