[web2py] Populating widgets with queries

2012-09-08 Thread Mike Girard
I have a checkboxes widget which I invoke like so: form = SQLFORM.factory( Field('test', type='string', requires=IS_IN_DB(db, db.city.name_url, '%(name)s', multiple=True), widget=lambda f, v: SQLFORM.widgets.checkboxes.widget(f, v, style='divs'), default

[web2py] Re: Populating widgets with queries

2012-09-08 Thread Mike Girard
I should add that it would be easy for me to customize form elements this way, but I would like to do so in a way that does not sacrifice existing form functionality and is just generally in conformance with the web2py way. On Saturday, September 8, 2012 2:22:21 AM UTC-4, Mike Girard wrote:

Re: [web2py] Re: Why would I use DIV classes/helpers, over an html template?

2012-09-08 Thread pbreit
I would never/rarely do what Cliff describes. I generally put as little logic into the views as possible. That is totally perfectly fine with Web2py. But it's nice to have full Python available. It's basically the best of both worlds. If you need to have the templating literally forbid you

Re: [web2py] Populating widgets with queries

2012-09-08 Thread Bruno Rocha
maybe this? form = SQLFORM.factory( Field('test', type='string', requires=IS_IN_DB(*db(db.table.field == xyz)*, db.city.name_url, '%(name)s', multiple=True), widget=lambda f, v: SQLFORM.widgets.checkboxes.widget(f, v, style='divs'), default = 'New-York'),

[web2py] Re: [OT] Ubuntu 12.10 will no longer ship with Python 2

2012-09-08 Thread pbreit
As far as I can tell, Python 2 remains the default Python, at least in server. Defaulting to 3 would be completely insane. On Friday, September 7, 2012 5:56:59 AM UTC-7, Luther Goh Lu Feng wrote: FYI: Ubuntu 12.10 Quantal Quetzal says bye bye to Python 2. Take note if you run web2py and

Re: [web2py] Populating widgets with queries

2012-09-08 Thread Mike Girard
The IS_IN_DB etc didn't work for me -- perhaps I did something wrong -- but the variations with IS_IN_SET do. Thanks! On Saturday, September 8, 2012 2:46:24 AM UTC-4, rochacbruno wrote: maybe this? form = SQLFORM.factory( Field('test', type='string',

[web2py] Web2py. for a minimalist app, it feels bloated. Do it I need it?

2012-09-08 Thread Shawn McElroy
I am somewhat new to python, and * shock * have an idea for a simple app I want to build. To start the app will be relatively light weight, but if it works out in my grand scheme could be far more complex.but the core will be fairly simple. something an experienced python dev could probably whip

Re: [web2py] Re: static blog

2012-09-08 Thread Andrew W
Thanks. That would be great. On Saturday, September 8, 2012 8:31:16 AM UTC+12, Massimo Di Pierro wrote: Yes. I will post the script soon. I need to fix it because I changed the markmin syntax of links so my previous script broke. On Friday, 7 September 2012 14:58:06 UTC-5, Andrew W wrote:

[web2py] Re: Getting auth.wiki pages to display without login

2012-09-08 Thread Andrew W
The S comes from Welcome App's layout.html, line 80: div class=nav-collapses On Saturday, September 8, 2012 8:41:35 PM UTC+12, Andrew W wrote: Just Checking, were you logged in when you tried to open up the page ? Just to clarify, if I'm logged in it will take me directly to the page -

[web2py] Re: How do I incorporate git into my web2py workflow?

2012-09-08 Thread Andrew W
I've noticed that on Windows with tortoiseHG installed, that web2py doesn't recognise it as a Mercurial Installation.I guess I have to install Mercurial separately, although I'm using it through TortoiseHG ? On Saturday, September 8, 2012 10:46:13 AM UTC+12, Massimo Di Pierro wrote: One

Re: [web2py] Re: web2py book on github

2012-09-08 Thread Andrew W
I use TortoiseHG on Windows which I find quite simple to use, although sometimes I have to go back to the command line. I recommend it. In any case, the tar.gz should work. Are you getting an error ? On Saturday, September 8, 2012 7:47:38 AM UTC+12, ikdme wrote: Hello, Please am a windows

[web2py] Routing a .json request

2012-09-08 Thread Daniel Gonzalez
Hi, I am trying to access an action returning json data. According to Example 12 here: http://www.web2py.com/examples/default/examples, all actions requested with .json and returning a dict are automatically converted to json. But this is not working for me, maybe because routing is

Re: [web2py] Re: web2py book on github

2012-09-08 Thread Alec Taylor
The documentation is starting to look much better :) Maybe the chapters have gotten a little large though and should each be separated into Basic use and Advanced use... Also the new code boxes are much nicer than before, but still doesn't have python syntax-highlighting. Can we get this also?

[web2py] Can I insert a template into a form?

2012-09-08 Thread lyn2py
I have a SQLFORM with many fields. I want to insert a html file (like {{include abc.html}} in views) into the middle of the form. Can I do that? --

Re: [web2py] Re: web2py book on github

2012-09-08 Thread Ezugworie Ikechukwu
I'm not getting any errors. The images are not displaying. Every other is working well. I miss the line numbers. On Sat, Sep 8, 2012 at 10:30 AM, Alec Taylor alec.tayl...@gmail.com wrote: The documentation is starting to look much better :) Maybe the chapters have gotten a little large though

[web2py] modified_by and modified_on not updating

2012-09-08 Thread Joel Carrier
I want to maintain an audit history of all my objects. So near the beginning of my model definition I have db._common_fields.append(auth.signature) and at the very end I have auth.enable_record_versioning(db) The problem I am having is that when I pull up all the records representing the

Re: [web2py] Re: web2py book on github

2012-09-08 Thread Niphlod
are you on the latest web2py version ? BTW: the book is still online at web2py.com/book if you want to read it: it's not required to download the app to read it ^_^ On Saturday, September 8, 2012 2:16:44 PM UTC+2, ikdme wrote: I'm not getting any errors. The images are not displaying. Every

[web2py] Object Row. Error in 2.0.8 not in 2.0.0

2012-09-08 Thread Jose
Hi all In Version 2.0.0 (2012-06-04 18:49:33) dev works well Model: tb_studio = db.define_table('studio', Field('name', label=T('Name')), #... format='%(name)s', migrate=MIGRATE ) tb_emails = db.define_table('emails', Field('studio', tb_studio, readable=False,

[web2py] Re: need help testing google checkout with pos plugin

2012-09-08 Thread greaneym
Hi, reading through the recent posts about user_signature=False/True I have a better understanding of digitally signed signatures and why they are important for security. I think this answers my question. Thanks! On Tuesday, September 4, 2012 6:08:56 PM UTC-5, greaneym wrote: Hello, I

[web2py] select entries from database

2012-09-08 Thread BlueShadow
I got a table for articles which contains an ids of users which commented on that particular image. now I like to read all the user ids of an particular aricle and display a list off all articles those users commented on. here is my first attempt: but its pretty aweful:

[web2py] Re: Web2py. for a minimalist app, it feels bloated. Do it I need it?

2012-09-08 Thread Massimo Di Pierro
http://web2py.com/books/default/chapter/29/14#Building-a-minimalist-web2py On Saturday, 8 September 2012 02:39:26 UTC-5, luckysmack wrote: I am somewhat new to python, and * shock * have an idea for a simple app I want to build. To start the app will be relatively light weight, but if it

[web2py] Re: Getting auth.wiki pages to display without login

2012-09-08 Thread Massimo Di Pierro
I do not have that extra s. Are you saying it in the distribution? On Saturday, 8 September 2012 03:51:35 UTC-5, Andrew W wrote: The S comes from Welcome App's layout.html, line 80: div class=nav-collapses On Saturday, September 8, 2012 8:41:35 PM UTC+12, Andrew W wrote: Just Checking,

[web2py] Re: How do I incorporate git into my web2py workflow?

2012-09-08 Thread Massimo Di Pierro
yes. On Saturday, 8 September 2012 03:54:55 UTC-5, Andrew W wrote: I've noticed that on Windows with tortoiseHG installed, that web2py doesn't recognise it as a Mercurial Installation.I guess I have to install Mercurial separately, although I'm using it through TortoiseHG ? On

[web2py] Re: select entries from database

2012-09-08 Thread lyn2py
Use belongs (http://web2py.com/books/default/chapter/29/06#belongs) db(db.Articles.User.belongs([make,user_ids,into,a,list])).select() On Saturday, September 8, 2012 9:48:43 PM UTC+8, BlueShadow wrote: I got a table for articles which contains an ids of users which commented on that

[web2py] Re: Object Row. Error in 2.0.8 not in 2.0.0

2012-09-08 Thread Massimo Di Pierro
Short answer: if you cache the select, subqueries are missing. So you have to replace email = row.emails.select().first() with email = db(db.emails.studio==row.id).select().first() This is probably the only change of behavior and it is due to the need of speedup. before cache was caching

[web2py] Re: Routing a .json request

2012-09-08 Thread Massimo Di Pierro
works for me. Do you have a views/generic.json? If you do did you enable it? response.generic_patterns = ['/myapp/dashboard/call_stats.json'] On Saturday, 8 September 2012 03:59:47 UTC-5, Daniel Gonzalez wrote: Hi, I am trying to access an action returning json data. According to Example

[web2py] Re: Object Row. Error in 2.0.8 not in 2.0.0

2012-09-08 Thread Anthony
Does this break backward compatibility? If so, should we make caching the full Rows object an option (maybe just via the new cacheable argument)? Anthony On Saturday, September 8, 2012 10:06:56 AM UTC-4, Massimo Di Pierro wrote: Short answer: if you cache the select, subqueries are missing.

[web2py] Re: modified_by and modified_on not updating

2012-09-08 Thread Massimo Di Pierro
I am trying to reproduce the problem but I cannot. Are you running 2.0.8? On Saturday, 8 September 2012 07:34:19 UTC-5, Joel Carrier wrote: I want to maintain an audit history of all my objects. So near the beginning of my model definition I have db._common_fields.append(auth.signature)

[web2py] Re: Can I insert a template into a form?

2012-09-08 Thread Anthony
If you are building a custom form in the view, then yes, you should be able to do an include in the middle of it. If you just have the SQLFORM object and want something inserted when it is serialized in the view, it's trickier but probably doable (need to call response.render() and insert the

[web2py] What is the plan for the replacement of plugin_wiki with auth.wiki ?

2012-09-08 Thread apps in tables
--

[web2py] Re: What is the plan for the replacement of plugin_wiki with auth.wiki ?

2012-09-08 Thread villas
Like you, I understand that plugin_wiki will eventually be deprecated, but you can still use it as it is and I am sure Massimo will accept patches and fix bugs etc. However, I can't imagine there would ever be any kind of 'conversion' program. The basic design of auth_wiki is better and

[web2py] Re: Getting auth.wiki pages to display without login

2012-09-08 Thread villas
Just a thought, but doesn't the wiki page have an is_public field? If so, did you tick it? On Saturday, September 8, 2012 9:41:35 AM UTC+1, Andrew W wrote: Just Checking, were you logged in when you tried to open up the page ? Just to clarify, if I'm logged in it will take me directly

[web2py] Re: Can I insert a template into a form?

2012-09-08 Thread lyn2py
Thanks Anthony for stepping up. I have a views file, it has quite a chunk of html in it. If I could put it in the controller, I would, but it's quite hefty. I have about 15 fields, displayed via SQLFORM, just a simple form = SQLFORM(db.table) I want to insert a {{include html_file}} in the

[web2py] Re: Object Row. Error in 2.0.8 not in 2.0.0

2012-09-08 Thread Massimo Di Pierro
What do other people think? We can make the new behavior optional and only ckickin when both cache!=None and cacheable=True. Massimo On Saturday, 8 September 2012 09:20:24 UTC-5, Anthony wrote: Does this break backward compatibility? If so, should we make caching the full Rows object an

[web2py] Re: modified_by and modified_on not updating

2012-09-08 Thread Joel Carrier
At first I thought it was related to running on a windows machine using the development server. Then I deployed to a linux machine using the setup-web2py-ubuntu.sh script Yes, the version is: Version 2.0.8 (2012-09-07 03:47:51) stable db.py: # -*- coding: utf-8 -*- if 0: from gluon.sql

[web2py] Re: modified_by and modified_on not updating

2012-09-08 Thread Massimo Di Pierro
Supposed to work any update_record but let me give it a try. On Saturday, 8 September 2012 12:39:20 UTC-5, Joel Carrier wrote: At first I thought it was related to running on a windows machine using the development server. Then I deployed to a linux machine using the setup-web2py-ubuntu.sh

[web2py] Re: modified_by and modified_on not updating

2012-09-08 Thread Massimo Di Pierro
works for me db= DAL() from gluon.tools import Auth auth = Auth(db) auth.define_tables() db._common_fields.append(auth.signature) db.define_table('thing', Field('name'), Field('name2', writable=False, compute=lambda

[web2py] Re: modified_by and modified_on not updating

2012-09-08 Thread Niphlod
raising a little hand here... 2.0.8 and salt=True in auth are incompatible. Someone here is: - posting the wrong code - use the wrong web2py version - telling lies :P @Joel: jokes apart, can you please verify ? On Saturday, September 8, 2012 7:48:14 PM UTC+2, Massimo Di Pierro wrote: Supposed

[web2py] Re: modified_by and modified_on not updating

2012-09-08 Thread Joel Carrier
Hmmm... i never call auth.define_tables I guess because I wanted to customize the auth_user table. And yet the following tables all get created: | auth_cas | | auth_cas_archive | | auth_event | | auth_event_archive

Re: [web2py] Re: web2py book on github

2012-09-08 Thread Ezugworie Ikechukwu
Hi, am currently running version 2.0.7. Also, my internet access is not always up. On Sat, Sep 8, 2012 at 1:46 PM, Niphlod niph...@gmail.com wrote: are you on the latest web2py version ? BTW: the book is still online at web2py.com/book if you want to read it: it's not required to download

[web2py] Re: modified_by and modified_on not updating

2012-09-08 Thread Joel Carrier
Ha, as soon as I pasted this snippet I realized that and was looking to modify. When developing I was working off the trunk and having this problem. For some reason I thought maybe after deploying to linux and using a stable version the problem would go away. Then I deployed to a linux machine

[web2py] Re: modified_by and modified_on not updating

2012-09-08 Thread Joel Carrier
Good eye Niphlod! On Saturday, September 8, 2012 1:59:11 PM UTC-4, Joel Carrier wrote: Ha, as soon as I pasted this snippet I realized that and was looking to modify. When developing I was working off the trunk and having this problem. For some reason I thought maybe after deploying to

Re: [web2py] Re: Object Row. Error in 2.0.8 not in 2.0.0

2012-09-08 Thread Marin Pranjić
I don't understand (ckickin?) It should be optional and it shouldn't default to current behavior as it breaks old apps. On Sat, Sep 8, 2012 at 7:22 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: What do other people think? We can make the new behavior optional and only ckickin when

[web2py] Re: How do I incorporate git into my web2py workflow?

2012-09-08 Thread Pystar
I actually meant having a git repository on your local development machine not pushing to github or something similar. How do you use git and web2py? On Friday, September 7, 2012 11:46:13 PM UTC+1, Massimo Di Pierro wrote: One of the new features is that in admin you can use a git url to

[web2py] Re: Web2py. for a minimalist app, it feels bloated. Do it I need it?

2012-09-08 Thread luckysmack
Thanks, that is helpful. I'll have to try it out when I get to my computer. --

[web2py] Re: Object Row. Error in 2.0.8 not in 2.0.0

2012-09-08 Thread Anthony
I'd say, when cacheable=True and cache!=None, then cache the entire Rows object (new behavior). However, if cacheable=False, then revert to the old caching behavior (which should be the default). Anthony On Saturday, September 8, 2012 1:22:32 PM UTC-4, Massimo Di Pierro wrote: What do other

[web2py] Re: What is the plan for the replacement of plugin_wiki with auth.wiki ?

2012-09-08 Thread apps in tables
Thanks, Villas I understand that i can use both. The first one will be deprecated, but it is documented. The second one has better design and integrated, but it is not documented. I prefer to wait for the second to be documented. Regards, Ashraf --

[web2py] Re: Can I insert a template into a form?

2012-09-08 Thread Anthony
On Saturday, September 8, 2012 12:14:16 PM UTC-4, lyn2py wrote: Thanks Anthony for stepping up. I have a views file, it has quite a chunk of html in it. If I could put it in the controller, I would, but it's quite hefty. I have about 15 fields, displayed via SQLFORM, just a simple form

[web2py] Re: What is the plan for the replacement of plugin_wiki with auth.wiki ?

2012-09-08 Thread Massimo Di Pierro
Most of the functionality of plugin_wiki is in auth.wiki. Only comments and star ratings are missing. Everything else is done better in auth.wiki. yet we provide plugin_comments and plugin_ratings as separate which work with auth.wik() On Saturday, 8 September 2012 14:55:19 UTC-5, apps in

[web2py] Re: Web2py. for a minimalist app, it feels bloated. Do it I need it?

2012-09-08 Thread Massimo Di Pierro
Let us know if everything works fine. I have not used the script in a while. On Saturday, 8 September 2012 14:46:46 UTC-5, luckysmack wrote: Thanks, that is helpful. I'll have to try it out when I get to my computer. --

[web2py] Re: Object Row. Error in 2.0.8 not in 2.0.0

2012-09-08 Thread Jose
El sábado, 8 de septiembre de 2012 16:47:56 UTC-3, Anthony escribió: I'd say, when cacheable=True and cache!=None, then cache the entire Rows object (new behavior). However, if cacheable=False, then revert to the old caching behavior (which should be the default). +1 --

[web2py] auth.wiki with style

2012-09-08 Thread Andrew W
auth.wiki is looking pretty good (for what I need it for). Sorry, but just can't wait for the doco to arrive. I want to create a doco site with a look and feel like http://hginit.com/01.html. Note the tags off to the left. This is done with div class=cheatcontent style=margin-top:-50px div

Re: [web2py] Re: need a simple wiki...

2012-09-08 Thread Tito Garrido
auth.wiki shouldn't include a WYSIWYG widget by default instead of a text box? On Mon, Sep 3, 2012 at 10:16 PM, Andrew W awillima...@gmail.com wrote: I've just done some tests on tools.py On edit: The page.body is being updated correctly, but page.html does not change. I've added some

[web2py] Re: What is the plan for the replacement of plugin_wiki with auth.wiki ?

2012-09-08 Thread villas
Yes, I guess we just need a few notes to encourage everyone to use it. I was disappointed at first with auth_wiki because I was unsure how to use my previous work with plugin_wiki, but I think I will be able to re-use this making use of the 'component' which is really more flexible. The

Re: [web2py] Re: need a simple wiki...

2012-09-08 Thread Andrew W
Good point. On Sunday, September 9, 2012 8:44:32 AM UTC+12, Tito Garrido wrote: auth.wiki shouldn't include a WYSIWYG widget by default instead of a text box? On Mon, Sep 3, 2012 at 10:16 PM, Andrew W awill...@gmail.comjavascript: wrote: I've just done some tests on tools.py On edit:

[web2py] Re: Object Row. Error in 2.0.8 not in 2.0.0

2012-09-08 Thread Massimo Di Pierro
In trunk. Could you check it? On Saturday, 8 September 2012 15:40:37 UTC-5, Jose wrote: El sábado, 8 de septiembre de 2012 16:47:56 UTC-3, Anthony escribió: I'd say, when cacheable=True and cache!=None, then cache the entire Rows object (new behavior). However, if cacheable=False, then

Re: [web2py] Re: need a simple wiki...

2012-09-08 Thread Massimo Di Pierro
I guess it can be made an option but I really hate WYSIWG. I think wiki markup are superior. On Saturday, 8 September 2012 15:46:16 UTC-5, Andrew W wrote: Good point. On Sunday, September 9, 2012 8:44:32 AM UTC+12, Tito Garrido wrote: auth.wiki shouldn't include a WYSIWYG widget by default

[web2py] Re: Web2py. for a minimalist app, it feels bloated. Do it I need it?

2012-09-08 Thread luckysmack
Ok will do. But im still curious though if web2py as a whole would fit my idea? In web2py I you have applications, one for each app.If I had this core as one app, and the others build on it (they wouldnt just use the api, the api would be part of the app). So it seems like I would need to

Re: [web2py] Re: Object Row. Error in 2.0.8 not in 2.0.0

2012-09-08 Thread Bruno Rocha
I am using: cache_key = %s_%s_%s % (query, start, end) total, rows = cache.ram(cache_key, lambda: (db(query).count(), db(query).select(limitby=(start, end), cacheable=True)), 3600) Should I put a dummy cache=(...) just to have the benefits? --

[web2py] Re: What is the plan for the replacement of plugin_wiki with auth.wiki ?

2012-09-08 Thread apps in tables
And the documentation of auth.wiki will be ready on Regards, Ashraf --

[web2py] Re: Object Row. Error in 2.0.8 not in 2.0.0

2012-09-08 Thread Jose
El sábado, 8 de septiembre de 2012 17:47:49 UTC-3, Massimo Di Pierro escribió: In trunk. Could you check it? Works fine! Jose --

Re: [web2py] Re: Object Row. Error in 2.0.8 not in 2.0.0

2012-09-08 Thread Massimo Di Pierro
No, what you have will work as expected. On Saturday, 8 September 2012 17:02:00 UTC-5, rochacbruno wrote: I am using: cache_key = %s_%s_%s % (query, start, end) total, rows = cache.ram(cache_key, lambda: (db(query).count(), db(query).select(limitby=(start, end), cacheable=True)), 3600)

[web2py] short term roadmap

2012-09-08 Thread Massimo DiPierro
I have been speaking with some friends and heavy web2py users and we agree that the following issue need to be addressed: 1) Improve Mercurial and Git support. Currently Git+web2py allows clone and push whirl Hg+web2py allows commit, status and revert. I think we need an abstraction layer that

Re: [web2py] short term roadmap

2012-09-08 Thread Ovidio Marinho
I think we need to come together and make donations of at least U.S. 10:00 U.S. dollars to fund the changes. The community web2py will be happier, harder and making the job easier. Ovidio Marinho Falcao Neto Web Developer ovidio...@gmail.com

[web2py] Re: Web2py. for a minimalist app, it feels bloated. Do it I need it?

2012-09-08 Thread Anthony
Maybe have a look at http://web2py.com/books/default/chapter/29/04#Cooperation and http://web2py.com/books/default/chapter/29/09#Central-Authentication-Service . Anthony On Saturday, September 8, 2012 5:19:03 PM UTC-4, luckysmack wrote: Ok will do. But im still curious though if web2py as a

Re: [web2py] short term roadmap

2012-09-08 Thread Massimo Di Pierro
While this is a possibility, it may be easier if people publicly sponsor features they want and pay directly the developer who gets it done. Massimo On Saturday, 8 September 2012 18:59:28 UTC-5, Ovidio Marinho wrote: I think we need to come together and make donations of at least U.S. 10:00

Re: [web2py] Re: need a simple wiki...

2012-09-08 Thread Anthony
On Saturday, September 8, 2012 5:16:32 PM UTC-4, Massimo Di Pierro wrote: I guess it can be made an option but I really hate WYSIWG. I think wiki markup are superior. I think it really depends on the end user -- some folks just aren't realistically going to learn wiki markup and will expect

Re: [web2py] Re: need a simple wiki...

2012-09-08 Thread Massimo Di Pierro
Looking at the source code... this is already possible. Wiki(render=lambda page: page.body) I now exposed in auth.wiki(render=lambda page: page.body). This option will allow html in wiki. We may want to allow autolinks as well. On Saturday, 8 September 2012 19:42:18 UTC-5, Anthony wrote:

[web2py] Re: Can I insert a template into a form?

2012-09-08 Thread lyn2py
Thanks Anthony, that worked! On Sunday, September 9, 2012 4:03:07 AM UTC+8, Anthony wrote: On Saturday, September 8, 2012 12:14:16 PM UTC-4, lyn2py wrote: Thanks Anthony for stepping up. I have a views file, it has quite a chunk of html in it. If I could put it in the controller, I

Re: [web2py] Re: Web2py. for a minimalist app, it feels bloated. Do it I need it?

2012-09-08 Thread Shawn McElroy
Ahh thats excellent. Thanks! So it seems that the cooperation portion will work great with what I need. and the auth system using CAP will be great too. thanks. On Sat, Sep 8, 2012 at 5:20 PM, Anthony abasta...@gmail.com wrote: Maybe have a look at

Re: [web2py] Re: need a simple wiki...

2012-09-08 Thread Massimo Di Pierro
Now in trunk: auth.wiki(render='html') will allow html, will do autolink, oembed and allows @ syntax as well as @{component:...} syntax. On Saturday, 8 September 2012 20:34:25 UTC-5, Massimo Di Pierro wrote: Looking at the source code... this is already possible. Wiki(render=lambda

[web2py] help test codemirrorw

2012-09-08 Thread Massimo Di Pierro
we are considering replacing the admin editor with codemirror since it should work with IE. Can you please help us try it? get web2py form github and edit admin/models/0.py and set the editor to 'codemirror'. let us know what browser you try and your findings. Massimo --

[web2py] Re: Getting auth.wiki pages to display without login

2012-09-08 Thread Andrew W
Worth a look, but I couldn't find this magic checkbox. I thought I must have missed something so obvious. Sorry Massimo, I must have accidentally put the s there while having a look at layout.html. Here is what I'm doing, keeping it as simple as possible (using trunk version). Steps: 1)

[web2py] problem with jQuery UI modal and LOAD helper

2012-09-08 Thread shartha
Hello everyone, I am trying to duplicate an issue I have with jQuery UI and load helper. I have the following in a file named test.load (test.load contains a link that upon clicking will show a jQuery UI modal -- AKA dialog box) script $(document).ready(function() { $('div#thedialog').dialog({

Re: [web2py] help test codemirrorw

2012-09-08 Thread Bruno Rocha
Thats great! I started using codemirror on another project and I find it awesome. I will update from trunk now and test in Ubuntu.. --

Re: [web2py] help test codemirrorw

2012-09-08 Thread Bruno Rocha
code mirror works ok for me in chrome, opera and firefox (ubuntu). --