[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 - Chang

[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 th

[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) auth.enable_record_versionin

[web2py] No module named connections

2013-05-27 Thread ed
oes not have a module named connections yet it runs on his 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 m

[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 imp

[web2py] Re: exceptions in modules

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

[web2py] exceptions in modules

2012-03-22 Thread Ed Greenberg
lasses match, yet I cannot catch the exception. I hope somebody can point out the error of my ways... Ed Greenberg

[web2py] Access to app variables in modules

2012-02-26 Thread Ed Greenberg
class, I use them as self.settings.foo (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] Re: DAL: select column in ("a","b")

2012-02-11 Thread Ed Greenberg
"belongs()" Thanks. On Feb 11, 7:09 am, Marin Pranjić wrote: > http://web2py.com/books/default/chapter/29/6#belongs > > Marin > > On Sat, Feb 11, 2012 at 12:34 PM, Ed Greenberg wrote: > > > > > > > > > I feel like I should know this. I'

[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] Default controller function

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

[web2py] DAL and date calculations

2012-01-28 Thread Ed Greenberg
raw sql? 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 wrote: > I can access that link. > You may try to hit the link again. > > --- Vineet > > On N

[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] 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 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, woul

[web2py] IS_NOT_IN_DATABASE with a formatted value

2011-10-08 Thread Ed Greenberg
ATABASE(...) to make 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] set initial dropdown selection

2011-09-28 Thread Ed Greenberg
I've tried and tried, but can't find a google search term that answers this. I have a FORM(), not a SQLFORM(), with a SELECT and a bunch of options in it, and I need to set the _selected attribute on one of them. When I construct the SELECT, I don't know which one needs to be selected until late

[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] 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 wrote: > gluon/tools.py contains this code: > >                 if self.settings

[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: mai

[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] Enabling logging

2011-05-11 Thread Ed Greenberg
t that in a separate post. Thanks, Ed

[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 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
reset within my code. Can 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
the large frame 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

[web2py] Re: Log the user out

2011-03-11 Thread Ed Greenberg
o you have any 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
f you have further suggestions, I'm very interested. Ed On Mar 1, 2:26 pm, Massimo Di Pierro wrote: > this should work, no? > > def index(): >     auth.logout() >     response.flash="bye bye user" > > On Mar 1, 1:12 pm, Ed Greenberg wrote: > > > At the

[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 summari

[web2py] sending password and username emails fail

2011-02-26 Thread Ed Greenberg
When I click password and username recovery in my app, the app flashes "Mail Sent" but it isn't. Reviewing the mail server logs I find... Feb 27 03:45:10 admin01 sendmail[13140]: STARTTLS=server, relay=localhost [127.0.0.1], version=TLSv1/SSLv3, verify=NO, cipher=DHE-RSA-AES256-SHA, bits=256/256

[web2py] Choosing your view

2011-02-24 Thread Ed Greenberg
Can one have more than one view share a controller? In cases where more than one operation shares a common amount of HTML, this would be useful.

[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 'room/list.htm

[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] SQLFORM hide some fields

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

[web2py] Re: SQLFORM limit contents of dropdown

2011-02-15 Thread Ed Greenberg
lected. I want to take a few bytes to than everybody for their assistance in this forum. Ed On Feb 15, 9:47 am, villas wrote: > Not this: >     query = "select id from properties where customer = %d" % > > Try something like this instead: >     query = (db.properties.cust

[web2py] Re: SQLFORM limit contents of dropdown

2011-02-15 Thread Ed Greenberg
: 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 wrote: > def index(): >     query = .

[web2py] Re: SQLFORM limit contents of dropdown

2011-02-14 Thread Ed Greenberg
Way cool, and many thanks. On Feb 14, 4:19 pm, Massimo Di Pierro wrote: > def index(): >     query = >     db.table.field.requires=IS_IN_DB(db(query),) >     form=SQLFORM(...) >     if form.accepts(...) >         ... >     return dict(form=form) > > On Fe

[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

[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] 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, bu

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

2011-02-11 Thread Ed Greenberg
, I could handle it in my select. There's probably a web2py 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] creating html for the user to save or copy/paste

2011-01-27 Thread Ed Greenberg
ll know what to send to the user? Thanks, Ed G

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

2011-01-27 Thread Ed Greenberg
from, so why does my 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 wrote: > My todo list is getting long

[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
installed? Thanks Ed

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

2009-12-17 Thread ed
;click to check for upgrades" but still the problem persists. I am out of solution. - On Dec 10, 6:00 pm, "hamdy.a.farag" wrote: > Hi ed > > I assume you upgraded your web2py to the latest svn v

[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 upgrad

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

2009-12-09 Thread ed
'Get a new challenge' button in Recaptcha box. Email Address: td>/td> Password: Copyright © 2009 - Powered by web2py Thank you again. Ed On Dec 4, 2:24 pm, mdipierro wrote: > I am puzzled. Does it show or does it no

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

2009-12-09 Thread ed
f not auth.is_logged_in(): redirect (auth.settings.login_url) It was what i needed. Thanks a lot. Cheers, ed On Dec 9, 4:26 pm, "hamdy.a.farag" wrote: > --Quote from web2py manual - > >   auth.settings.login_next = URL(r=request, f='index') > >   By defau

[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

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

2009-12-03 Thread ed
Hi Massimo, It doesn't work in the sense that Recaptcha was not displayed even if i used the latest code. Thanks again. Ed On Dec 4, 2:17 pm, ed wrote: > Hi Massimo, > I now understand that it's a special case. I copied your code and > restarted th

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

2009-12-03 Thread ed
Hi Massimo, I now understand that it's a special case. I copied your code and restarted the server, but still " auth.settings.login_captcha " doesn't work. Ed On Dec 4, 1:19 pm, mdipierro wrote: > Now I understand better. It does not work because the recaptcha has to

[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 wrote: >

[web2py:36381] Recaptcha not working in Login

2009-12-02 Thread ed
key,private_key))) form[0][-1][1].append(INPUT (_type='button',_value='Cancel',_onclick="window.location='%s';"%URL (r=request,f='index'))) return dict(form=form) --- Views -- user.html {{if request.args(0)=='reg_col':}} Coll

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

2009-10-21 Thread ed
be nice to post an errata on this 'cuz 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 > > > > jQuery(document).ready(function(){ > >     jQ

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

2009-10-20 Thread ed
er.last_name}} {{=usc_ed}}     Fill all form fields. {{=form}} jQuery(document).ready(function(){ jQuery('#no_table_usceduc_updt_row').hide(); jQuery('#no_table_educ_updt').change(function(){ if(jQuery('#no_table_educ_updt').attr('checked'))

[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 wrote: > no_table_fieldname > > so "no_table" is what you need > >

[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 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 something s

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

2009-10-14 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
o about this? Thanks again. On Oct 10, 10:58 pm, mdipierro wrote: > On Oct 9, 9:40 pm, ed wrote: > > > Hi Massimo, > > Your suggestion is very neat and beyond my limited web2py knowledge: > > ---

[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 wro

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

2009-10-09 Thread ed
ge2(): >     rows=db(db.auth_user.email==request.vars.em).select() >     if not rows: redirect(URL(r=request,f='page1')) >     return dict(name=rows.first().first_name) > > {{extend 'layout.html'}}Hello {{=name}} > > Mind that you do not need anything like

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

2009-10-08 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. Tha

[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 th

[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 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:32457] Re: newbie: returning Controller variable to View

2009-10-08 Thread ed
'}} Hi {{=name}} . On Oct 8, 4:04 pm, ed 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): >  

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

2009-10-08 Thread ed
n dict(red=redirect(URL(r=request,f='loggedin')), name=row) ... View: {{extend 'layout2.html'}} Hi {{=name}} . Even if i used this code in my Controller: name = "Ed" , the View will display the same only "Hi None". I've been trying

[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 wrote: > Hi ed, > > you can do: > > if form.accepts(...): >   if request.vars.toyr     form.errors.toyr='Valid Years: %s - 2000'%request.vars.fromyr >   else: >     # code to handle vali

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

2009-09-30 Thread ed
'toyr' variable like in Example 2. Thanks again Massimo. On 1 Okt, 11:48, mdipierro wrote: > sorry. I do not understand. Can you provide an example? > > On Sep 30, 10:44 pm, ed wrote: > > > Sorry Massimo for mixing up my question. What I mean is, when there is > >

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

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

[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 e

[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 you

[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" gro

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

2009-09-04 Thread ed
ont-family: 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 ad

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

2009-08-26 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:/] 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 wrote: > This is the error ticket: > > Error traceback > 1.Traceback (most recent call last): > 2.  File "gluon/restricted.py", line 178, in

[web2py:28984] Re: Adding fields in auth_user

2009-08-20 Thread ed
ost with this. Is there a stable web2py version with auth_user? Thanks On Aug 20, 2:37 pm, Richard wrote: > the error is thrown from default.py (line 55), so it might be > unrelated. > Richard > > On Aug 20, 4:25 pm, ed wrote: > > > I didn't change the gluon dire

[web2py:28974] Re: Adding fields in auth_user

2009-08-19 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 auth.s

[web2py:28918] Adding fields in auth_user

2009-08-18 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:28878] Re: Welcome login does not work with mysql

2009-08-18 Thread ed
mdipierro wrote: > Yes, after auth.define_tables() > > db.auth_user.password.requires=[] > > On Aug 18, 2:30 am, ed 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 possi

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

2009-08-18 Thread ed
else? > Has anybody else tried Ath with mysql? > > Massimo > > On Aug 18, 2:13 am, ed wrote: > > > auth_user.registration_key is blank. > > > On Aug 18, 3:00 pm, mdipierro wrote: > > > > All I meant is visithttp:///yourapp/appadmin > > >

[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 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 wrote: > > > I registered 2 users and both were in

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

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

[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 wrote: > Hi, > I recently downloaded web2py 1.66 and tried Welcome app out of the box > using sqlite, it worked. I changed to mysql and "Inv

[web2py:28858] Welcome login does not work with mysql

2009-08-17 Thread ed
Thank you in advance. Cheers, ed --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2p

[web2py:22447] pdf upload/download and show

2009-05-22 Thread ed
layout.html'}} Image: {{=image.title}} {{if len(comments):}} Comments {{for comment in comments:}} {{=comment.author}} says {{=comment.body}} {{pass}} {{else:}} No comments posted yet {{pass}} Post a comment {{=form}} Thank you very much in advance for your help. Ed

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

2009-04-16 Thread ed
[10,20,30], sortname:'empno', viewrecords:false, sortorder:'asc', caption:'Employees Personal File' }).navGrid('#pager2', {edit:false, add:false, del:false}); }); - I've seen some examples

[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 wrote: > Hi Ed... > > I'm no expert but here's wha

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

2009-03-24 Thread ed
on this for everyone interested in this technology. Thanks in advance. Ed On 24 Mar, 01:36, Mike 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 an

[web2py:18481] jquery jqGrid JSON url problem

2009-03-23 Thread ed
Hi, I've been trying to execute a jquery jqGrid url to return JSON data but failed. Only a blank table with exact headings is displayed. I tried changing the url several times but no data is displayed. The following is part of the code. -

[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:13524] Re: free surveys for everybody

2008-12-12 Thread ed
Very neat and a good start. But some websites require authenticated respondents, database should be optional. On Dec 13, 6:30 am, mdipierro wrote: > GAE produces strange errors once in a while. I have seen it too. They > are not web2py errors they do not show up in the logs. > > Massimo > > On

[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, >

[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 web2p

[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 rep

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

2008-11-18 Thread ed
return dict(Employee=form) ------- Checked the FORM code but failed to see potential problems. Please help. Thank you in advance. ed --~--~-~--~~~---~--~~ You received this

[web2py:12125] Re: web2py book in PDF at $12.50

2008-11-18 Thread ed
Massimo, Just downloaded the book. I am glad it is very affordable than the $50 book. Thank you very much. ed On Nov 19, 10:37 am, cesmiga <[EMAIL PROTECTED]> wrote: > Massimo, > > I just ordered the book also. Thank you for making this much more > affordable. Are you going

[web2py:12049] Re: web2py.net?

2008-11-17 Thread ed
Vihang, You are a great guy! Very unselfish. Cheers! ed On Nov 16, 5:02 pm, vihang <[EMAIL PROTECTED]> wrote: > Thank you everyone. I am sure the domain will be put to good use by > the community, which was always the intention. Looking forward to > collaborating further... >

  1   2   >