[web2py] Re: Mixing/supporting CMS with Web2py

2011-11-12 Thread Gour
On Fri, 11 Nov 2011 05:23:24 -0800 (PST) kenji4569 wrote: > I cannot help presenting my developing plugin, which has a concrete5- > like wysiwyg functionality: Wow! This looks very interesting. > Although it's very experimental and plenty remains to be done, the > core logic may be closely rel

[web2py] Re: Mixing/supporting CMS with Web2py

2011-11-12 Thread Gour
On Fri, 11 Nov 2011 14:34:32 -0800 (PST) Michael Ellis wrote: > For a site like this, the CMS feature that's needed most is to make it > dead simple for others to edit text and insert images for upcoming > concerts and have it come out in fonts and colors that are consistent > throughout the site

Re: [web2py] Re: Issue Tracker and web interface for Mercurial

2011-11-12 Thread Phyo Arkar
if apis are so broken shouldn't we just use hg commands directly (like hgeclipse did?) On Fri, Nov 11, 2011 at 2:20 PM, Gour wrote: > > it is really annoying that the mercurial apis are poorly documented > > and broke already 3 times with mercurial updates. > > Have you seen: > > http://article

[web2py] GAE & unit testing in web2py

2011-11-12 Thread Andrei Matveyeu
Hello, I am trying to migrate an application from MySQL relational database to GAE & Datastore. Could you please suggest how do I perform unit testing with GAE? Before I was following this tutorial and it worked great: http://web2py.com/AlterEgo/default/show/260 I am sure it can be done in a si

[web2py] Re: Unwanted submit on checkbox click ?

2011-11-12 Thread dlypka
maybe ;return false; at the end of _onclick (after the alert). false will indicate that the event did not complete and so Javascript will not post/submit. On Nov 11, 2:54 pm, BrendanC wrote: > I'm building a dynamic table with a checkbox in each row with the code > below. The table displays corr

[web2py] Re: Adding a column to the SQLFORM.grid table - one way to do it

2011-11-12 Thread Cliff
Anthony, Thanks for the pointer. Much better. Cliff Kachinske On Nov 11, 10:50 pm, Anthony wrote: > Also, using the .element() and .elements() methods provides some powerful > options for searching the DOM -- > seehttp://web2py.com/book/default/chapter/05#Server-side-DOM-and-Parsing. > > Antho

[web2py] Re: Mixing/supporting CMS with Web2py

2011-11-12 Thread Michael Ellis
Thanks, Gour. It's a nice looking framework and seems to be well- designed. I look forward to the web2py version! On Nov 12, 3:12 am, Gour wrote: > On Fri, 11 Nov 2011 14:34:32 -0800 (PST) > Michael Ellis > wrote: > > > For a site like this, the CMS feature that's needed most is to make it >

[web2py] Using web2py with a non-managed Oracle database

2011-11-12 Thread Tim Korb
We are considering using Web2Py as one of the front ends for a departmental database project based on Oracle. Since the Oracle database is independently managed, we need to turn off migration and use (I assume) the "legacy table" feature mentioned in Chapter 6 of the book--which is not current

[web2py] Re: Adding a column to the SQLFORM.grid table - one way to do it

2011-11-12 Thread Cliff
Here is a better way to do it, though: links = [ lambda row: A( SPAN(_class='icon plus'), SPAN(_class='buttontext button', _title='Create PO',), 'Create PO', _href = URL(

[web2py] Re: IS_MATCH()

2011-11-12 Thread annet
Jonathan, Thanks for your explanation. Kind regards, Annet.

Re: [web2py] Re: "ERROR:Rocket.Errors.Port8000:SSL Error: [Errno 8] _ssl.c:499: EOF occurred in violation of protocol" on Upgraded v1.99.1

2011-11-12 Thread Tito Garrido
Is it already fixed? On Thu, Sep 22, 2011 at 9:04 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Dirk and I ran some tests. 1.99.1 broke rocket with SSL. Do not > upgrade if you use rocket with SSL. We will have a fix asap. > > Massimo > > On Sep 22, 4:50 pm, Massimo Di Pierro > wr

[web2py] best way to contact a programmer

2011-11-12 Thread Marin Dodoub
Dear All, I have a nice project. I have already started to code it. 1) First I would like to make sure that there are no technical limitations to Web2py. For example I have never seen any jQuery multiple autocomplete plug-in implemented in a website powered by Web2py. Why ? Can Web2py really comp

[web2py] Re: Mixing/supporting CMS with Web2py

2011-11-12 Thread Gour
On Sat, 12 Nov 2011 06:46:18 -0800 (PST) Michael Ellis wrote: > Thanks, Gour. It's a nice looking framework and seems to be well- > designed. Yup, it's quite nice. > I look forward to the web2py version! Let's see if it will happen...otherwise (without decent CMS) we'd have to tinker wiht P

[web2py] Re: application installation problem

2011-11-12 Thread petrasadi
No special characters. web2py doesn't see it. It does not appear in the application list, and it does not find the application when i try to call it in the browser.

[web2py] Re: application installation problem

2011-11-12 Thread Anthony
What is in your application folder? Have you successfully run it in another installation of web2py? On Saturday, November 12, 2011 12:52:54 PM UTC-5, petrasadi wrote: > > No special characters. web2py doesn't see it. It does not appear in the > application list, and it does not find the applicat

Re: [web2py] application installation problem

2011-11-12 Thread Jonathan Lundell
On Nov 12, 2011, at 10:09 AM, Anthony wrote: > What is in your application folder? Have you successfully run it in another > installation of web2py? > > On Saturday, November 12, 2011 12:52:54 PM UTC-5, petrasadi wrote: > No special characters. web2py doesn't see it. It does not appear in the >

[web2py] Fluxflex + Oauth facebook

2011-11-12 Thread Tito Garrido
Hi Folks! Are you able to login using Oauth2.0 on fluxflex? I'm trying to but seems that OAuthAccount grabs the ip of my instance and the facebook never recognizes my redirect URL. Anybody with this problem? Regards, Tito -- Linux User #387870 . _/_õ|__| ..º[ .-.___.-._| .

Re: [web2py] application installation problem

2011-11-12 Thread Khalil KHAMLICHI
You probably copied it as root, you might need chown to unlock it.

[web2py] Passing the newly created record's id to another function in the controller

2011-11-12 Thread tsvim
Hi, In my current project I have a function (a) in the controller which calls Crud to create a new record. After which function (a) sends the user to function (b) using the "next" directive in Crud. I'd like to have function (b) know the id of the record created which sent them over so it could st

[web2py] Re: Passing the newly created record's id to another function in the controller

2011-11-12 Thread Anthony
The 'next' URL literally has to contain the substring '[id]', so you would probably need to do: next=URL('b') + '/[id]' There is a newer feature that allows you to replace any of the form vars in the URL via Python string formatting notation: next=URL('b') + '/%(id)s' Note, I don't think you

[web2py] Need File Chooser which does NOT upload upon form Submit

2011-11-12 Thread dlypka
Is there a widget / technique in web2py forms to choose a file but not upload it?

Re: [web2py] best way to contact a programmer

2011-11-12 Thread Bruno Rocha
> > 1) First I would like to make sure that there are no technical > limitations to Web2py. For example I have never seen any jQuery > multiple autocomplete plug-in implemented in a website powered by > Web2py. Why ? Some web2py plugins which implement auto-complete http://dev.s-cubism.com/web2py

[web2py] Re: Need File Chooser which does NOT upload upon form Submit

2011-11-12 Thread Anthony
What do you want to do with the file? On Saturday, November 12, 2011 5:12:39 PM UTC-5, dlypka wrote: > > Is there a widget / technique in web2py forms to choose a file but not > upload it?

[web2py] Is there a controller post-action hook? Or should we use a decorator.

2011-11-12 Thread Robert Clark
Is there a simple way to register code for execution after each controller action has been executed? Our problem is that most of our controller actions eventually obtain a pymongo connection object (from cache.ram) which itself pools connections internally and are thread-safe. These connection o

[web2py] Re: Need File Chooser which does NOT upload upon form Submit

2011-11-12 Thread dlypka
Parse it on the local machine. On Nov 12, 4:53 pm, Anthony wrote: > What do you want to do with the file? > > > > > > > > On Saturday, November 12, 2011 5:12:39 PM UTC-5, dlypka wrote: > > > Is there a widget / technique in web2py forms to choose a file but not > > upload it?

[web2py] Re: Need File Chooser which does NOT upload upon form Submit

2011-11-12 Thread Anthony
An input field with type="file" will give you the upload widget. Then I suppose you'd need some Javascript to catch the form submission and do something with the file instead of submitting the form to web2py. That would require client-side Javascript and wouldn't depend on web2py. See http://ww

[web2py] Re: Need File Chooser which does NOT upload upon form Submit

2011-11-12 Thread dlypka
This is going into a web2py app which I have running in a major U.S. corporation. So far it has 10 users who depend on it 24x7. It is "saving their butts"... Many thanks. On Nov 12, 6:33 pm, Anthony wrote: > An input field with type="file" will give you the upload widget. Then I > suppose you'd n

[web2py] Re: Need File Chooser which does NOT upload upon form Submit

2011-11-12 Thread Anthony
Cool. Keep in mind that the methods described in the link below will only work in browsers that implement the HTML5 File API (e.g., works in IE9, but probably not earlier versions of IE). Anthony On Saturday, November 12, 2011 8:07:51 PM UTC-5, dlypka wrote: > > This is going into a web2py app

[web2py] Re: best way to contact a programmer

2011-11-12 Thread dlypka
I am a certified MCSD .NET developer using both ASP.NET 4 and web2py on my current job in a very large company. I consider .NET to be best for 'legacy' .NET designs, and web2py best for green field designs. .NET is fundamentally flawed for web work because it depends on old style compiled dlls. .N

[web2py] web2py dal not creating database

2011-11-12 Thread Jimmy Stewpot
Hello, I have been playing around with web2py for about a month.. I have finally got to the point where I wanted to test the packing of my app to test the install on another system. However when I load the app into web2py on the new system the database is never created. I've even gone so far as to

[web2py] Re: web2py dal not creating database

2011-11-12 Thread Anthony
web2py will only create the db for you if you're using SQLite -- otherwise you have to create the db (once the db is created, though, web2py will create tables for you). See http://web2py.com/book/default/chapter/06#Connection-Strings. Anthony On Saturday, November 12, 2011 11:10:18 PM UTC-5,

[web2py] Re: Mongo DB, AMFRPC3 and http 500 errors

2011-11-12 Thread Sathvik Ponangi
I keep getting a RestrictedError for certain kinds of output, especially when I try using modules in my views & they are usually hard to trace. I think web2py restricts the kind of things you can output, probably for security reasons... Hope that helped!

Re: [web2py] Re: web2py dal not creating database

2011-11-12 Thread Jimmy Stewpot
Hi, Thanks for the quick response.. I have the DB created in mysql. The user has rights (using the root user).. still no luck. I've turned on query logging in mysql, the app queries are all working as expected but it won't create the model. Regards, Jimmy - Original Message - Fr

Re: [web2py] Re: web2py dal not creating database

2011-11-12 Thread Bruno Rocha
what is in your: define_table(..., *migrate=?*) and db = DAL(, * migrate_enabled=?*) It needs to be setted to True or ommited to create the tables. On Sun, Nov 13, 2011 at 4:14 AM, Jimmy Stewpot wrote: > Hi, > > Thanks for the quick response.. > > I have the DB created in mysql. The user h