Re: [web2py] customized the id field in sqlite

2011-10-28 Thread ramesh ramesh
please dont disturb me i am bussy in my bussiness .

[web2py] Re: Best practice of organizing/present static pages

2011-10-28 Thread Anthony
On Saturday, October 29, 2011 1:17:43 AM UTC-4, pbreit wrote: > > Not the best urls but could you put them in static? I assume he meant the main page content is static but the pages still need to take advantage of web2py views for navigation, etc., so they aren't true "static" files.

Re: [web2py] Re: Appending to a query

2011-10-28 Thread pbreit
Anthony's suggestion is good in general. Bruno's is good if you are not able to specify an initial or base query (to add to).

[web2py] Re: Best practice of organizing/present static pages

2011-10-28 Thread pbreit
Not the best urls but could you put them in static? Even if it's 20 or 50 pages, I would suggest just doing it the web2py way with functions.

Re: [web2py] sqlform.grid

2011-10-28 Thread Nik Go
That's nice Peter. Good work! Thanks for sharing. On Wednesday, October 26, 2011, peter wrote: > I am using and enjoying sqlform.grid. I have the latest version of > web2py, however, I think that the css files within my application have > become out of date. > > If I have ten pages, then the pag

Re: [web2py] SQLFORM.grid awesomeness and some questions

2011-10-28 Thread Nik Go
Johan, we're you able to specify your own icons for your custom buttons? If so, may I know how you did it? On Thursday, October 27, 2011, Johann Spies wrote: > > > On 26 October 2011 19:15, Cliff 'cvml', 'cjk...@gmail.com');>> wrote: > >> So you need a column on the right for an "Add to Cart" bu

Re: [web2py] sqlform.grid and represent vs. format

2011-10-28 Thread Nik Go
I experience the same unexpected behavior. On Friday, October 28, 2011, szimszon wrote: > I have to tables > > db.define_table( 'wdirs', > Field( 'name', type = 'string', > requires = IS_NOT_EMPTY()), > *(a)* *format='%(name)s %(id)s'* > ) > > db.define_table( 'files',

Re: [web2py] SQLFORM.grid collection of posts

2011-10-28 Thread Nik Go
It mentions: "If you use jqueryui then the links are rendered as buttons. " am still trying to find an answer about how to use icons for your custom buttons. On Friday, October 28, 2011, Cliff wrote: > I'll try to keep an eye on it. > > On Oct 27, 1:47 pm, Massimo Di Pierro > > > > wrote: > >

[web2py] Re: Best practice of organizing/present static pages

2011-10-28 Thread Anthony
Also, using the parameter-based router, you could make 'content' the default function, so it would be hidden in the URL. On Friday, October 28, 2011 9:58:58 PM UTC-4, Anthony wrote: > > You could create a single function (maybe call it something like > 'content') and pass an argument in the URL

[web2py] Re: Best practice of organizing/present static pages

2011-10-28 Thread Anthony
You could create a single function (maybe call it something like 'content') and pass an argument in the URL to determine the view to display: def content(): response.view = 'default/%s.%s' % (request.args(0), request.extension) if request.args else 'default/index.html' return dict() URL

Re: [web2py] Re: Massimo Di Pierro talks about web2py on FLOSS Weekly

2011-10-28 Thread Ovidio Marinho
Excellent testimony, you could prepare an academic version to incorporate the library of examples of web2py. Ovidio Marinho Falcao Neto Web Developer ovidio...@gmail.com ovidiomari...@itjp.net.br ITJP - itjp.net.br

[web2py] CSS3PIE

2011-10-28 Thread Daniel Aguayo
Hi all, I want to share that CSSPIE could be a good prospect to include in web2py. From its website: "PIE stands for Progressive Internet Explorer. It is an IE attached behavior which, when applied to an element, allows IE to recognize and display a number of CSS3 properties." It is curren

[web2py] Best practice of organizing/present static pages

2011-10-28 Thread YesYesYes++
Dear All, I'm developing a website for introduction of something. In this case there is quite a lot of static contents (img+text) spreading over several pages, like: Home |-Introduction 1 ||-page 1 ||-page 2 ||- |-Int

[web2py] unql

2011-10-28 Thread elffikk
hi, I am thinking how to extend DAL so it could be suitable for OriendDB SQL or for http://www.unqlspec.org/display/UnQL/Home do you have any thoughts on that? gae storage is already an example of DAL variations by not supporting joins and other features

[web2py] SparkleShare

2011-10-28 Thread Robert Marklund
If someone is looking for a nice mission with web2py why not create a web UI for the sparkleshare service. More info here: http://sparkleshare.org/ https://github.com/hbons/SparkleShare Whats available today: https://github.com/hbons/SparkleShare-Dashboard /R

[web2py] Re: How can I retain form data across a web2py_component() refresh?

2011-10-28 Thread Anthony
On Friday, October 28, 2011 6:50:20 PM UTC-4, TheSweetlink wrote: > > Do you mean something like use jQuery from the outer part of the page > which contains the component? > > I do not know how I would do that. I tried something along those > lines unsuccessfully before but I may have just impl

[web2py] Re: How can I retain form data across a web2py_component() refresh?

2011-10-28 Thread TheSweetlink
Do you mean something like use jQuery from the outer part of the page which contains the component? I do not know how I would do that. I tried something along those lines unsuccessfully before but I may have just implemented it incorrectly. My trouble is having js interact with the stuff loaded

[web2py] Re: How can I retain form data across a web2py_component() refresh?

2011-10-28 Thread Anthony
Since the whole page isn't reloading, can't you capture what is being typed using Javascript and then fill the content back in once the component refreshes (i.e., do everything client side)? On Friday, October 28, 2011 5:56:54 PM UTC-4, TheSweetlink wrote: > > Hi Anthony and thanks for your repl

[web2py] Re: Massimo Di Pierro talks about web2py on FLOSS Weekly

2011-10-28 Thread Anthony
On Friday, October 28, 2011 4:21:30 PM UTC-4, Gour wrote: > > > One more concern: Massimo answered during the show that Web2py is mostly > used > in Intranet. so I wonder if there is, in general, enthusiasm withing this > community to push out to build Internet sites as well and having > CMS/blog/

[web2py] ldap_auth bug report

2011-10-28 Thread Carlos Hanson
Greetings, We use DNS in our Active Directory domain, so we get some extra results in a search: [(None, ['ldap://ForestDnsZones.domain.com/DC=ForestDnsZones,DC=domain,DC=com']), (None, ['ldap://DomainDnsZones.domain.com/DC=DomainDnsZones,DC=ttsd,DC=ttsd,DC=k12,DC=or,DC=us']), (None, ['

[web2py] Re: Caching a gluon.storage.Storage instance on GAE

2011-10-28 Thread howesc
can you suggest an improvement to storage to make it pickable on GAE? i certainly would use it. :)

Re: [web2py] Re: Massimo Di Pierro talks about web2py on FLOSS Weekly

2011-10-28 Thread Justin Heath
You can use hg-git to interface with git repos from mercurial. http://hg-git.github.com/ On Fri, Oct 28, 2011 at 4:21 PM, Gour wrote: > On Wed, 26 Oct 2011 17:17:51 -0200 > Bruno Rocha wrote: > >> VIDEO: http://twit.tv/show/floss-weekly/188 > > Watched video today...very nice presentation fo We

[web2py] Re: How can I retain form data across a web2py_component() refresh?

2011-10-28 Thread TheSweetlink
Hi Anthony and thanks for your reply. I do not believe that I can separate the form from the component. Think of the component like a message board with a form up top for a main post with comment forms for each post all wrapped into one component. All of the forms get blanked upon component relo

Re: [web2py] Re: Appending to a query

2011-10-28 Thread Bruno Rocha
http://showmethecode.tumblr.com/post/9583103076/web2pydaldynamicqueries

Re: [web2py] Re: Google App Engine (GAE) does not support database LIKE statement...

2011-10-28 Thread Bruno Rocha
http://showmethecode.tumblr.com/post/9624208451/likeingae On Fri, Oct 28, 2011 at 5:41 PM, $p00ky wrote: > Find answer: > http://stackoverflow.com/questions/4512181/web2py-like-equivalents-with-google-app-engine > > So a real equivalent is not possible super.. > -- Bruno Rocha [

[web2py] Re: Massimo Di Pierro talks about web2py on FLOSS Weekly

2011-10-28 Thread peter
I have just written an ecommerce site in web2py. ukjazz.net. At the moment it is in demo form, so you can buy things for free when you click pay now. You will find that then it has things like view downloads, and view order history. It also has a facility for the record labels to look at their sale

[web2py] Best practices for packaging an app?

2011-10-28 Thread Matt Gorecki
I've built an app that I'd like to give to someone to use. It's essentially a photo booth program. It's built in web2py, but it also requires node.js, gphoto2, Chrome, as well as some configuration changes to Gnome. What's the best way to package something like this? Can my 'installer' handle t

[web2py] Re: Massimo Di Pierro talks about web2py on FLOSS Weekly

2011-10-28 Thread Gour
On Wed, 26 Oct 2011 17:17:51 -0200 Bruno Rocha wrote: > VIDEO: http://twit.tv/show/floss-weekly/188 Watched video today...very nice presentation fo Web2py! One question: Massimo mentioned that web2py is going to move to github soon and I wonder whether one will be able to still use hg to fetch

[web2py] Re: Caching a gluon.storage.Storage instance on GAE

2011-10-28 Thread pepper_bg
Just rewrote the thing to use not nested Storages but dicts and the problem went away. C'mon, GAE...

[web2py] Re: Appending to a query

2011-10-28 Thread Anthony
Maybe: query &= ~db.mytable.id.belongs(blacklist) or just: query = query & another_condition On Friday, October 28, 2011 3:45:45 PM UTC-4, Cliff wrote: > > I'm pretty sure I saw a thread about this, but I can't find it. > > I need to do something like > > query = ((db.mytable.id==somevalue) &

[web2py] Re: How can I retain form data across a web2py_component() refresh?

2011-10-28 Thread Anthony
Can you separate the form being typed in from the data being displayed by the refresh (i.e., maybe used two separate components)? On Friday, October 28, 2011 3:16:41 PM UTC-4, TheSweetlink wrote: > > I have an app that polls for new messages and reloads a component when > there are new messages.

[web2py] Re: Manual Upload with FORM

2011-10-28 Thread Anthony
On Friday, October 28, 2011 3:02:11 PM UTC-4, Ross Peoples wrote: > > I was originally going to suggest checking for FieldStorage rather than > StringIO, but wasn't sure if I wanted to suggest adding another import (of > cgi). Maybe hasattr(file, 'file') would be sufficient. I'm not sure file h

[web2py] Appending to a query

2011-10-28 Thread Cliff
I'm pretty sure I saw a thread about this, but I can't find it. I need to do something like query = ((db.mytable.id==somevalue) & (db.mytable.active==True)) if blacklist: query.append(~db.mytable.id.belongs(blacklist)) How do I do this? The reason I'm doing this is psycopg2 raises an excep

[web2py] Re: Google App Engine (GAE) does not support database LIKE statement...

2011-10-28 Thread $p00ky
Find answer: http://stackoverflow.com/questions/4512181/web2py-like-equivalents-with-google-app-engine So a real equivalent is not possible super..

Re: [web2py] Re: Found a bug: XMLRPC with basic authorization fails

2011-10-28 Thread thodoris
Hi Hong-Khoan, Sure, send it to me and i will try it. Regards, Thodoris

[web2py] Google App Engine (GAE) does not support database LIKE statement...

2011-10-28 Thread $p00ky
Dear all, Apparently, Google App Engine datastore does not support "WHERE myfield LIKE '%search%'" feature... 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. Traceback (most recent call last): File "/base/data/home/apps/s~ddl-lagoon/1.354289280423718203/gluon/restricted.py

[web2py] Mongo DB, AMFRPC3 and http 500 errors

2011-10-28 Thread Mike D
Hi, I'm pretty new to python, mongoDB and pymongo so I'm hoping this is pretty easy to track down. When I invoke the following method from a flex client I am seeing the error described below: @service.amfrpc3("mydomain") def test(): dbh = getConnection() record = dbh.events.find_one({"eve

[web2py] Re: Manual Upload with FORM

2011-10-28 Thread TheSweetlink
Hello Ross, Here is a bunch of info from another post I made regarding manual uploads with SQLFORM.factory. Now that I notice it though, you are using FORM and I'm uncertain whether or not FORM worked for me, I had to use SQLFORM. The whole thread can be found here for more info, relevant stuff

[web2py] How can I retain form data across a web2py_component() refresh?

2011-10-28 Thread TheSweetlink
I have an app that polls for new messages and reloads a component when there are new messages. My problem is that when the component is refreshed/reloaded while a user is typing, the message being typed disappears. This makes sense because the component contains the form being submitted. For exa

[web2py] Re: Auth in MongoDB

2011-10-28 Thread Francisco Costa
Hi Samuele, thanks for your answer. Do you have any idea whats the status of the mongodb adapter development? > You will be able to do that using DAL with the mongodb adapter (once it > is finished); you get that error since Auth() expects a DAL object as > the second argument to constructor, in o

[web2py] Re: Manual Upload with FORM

2011-10-28 Thread Ross Peoples
I was originally going to suggest checking for FieldStorage rather than StringIO, but wasn't sure if I wanted to suggest adding another import (of cgi).

[web2py] Caching a gluon.storage.Storage instance on GAE

2011-10-28 Thread pepper_bg
This one just hit me when I uploaded the app on GAE. No problems whatsoever on the local development environment where I can pickle/ unpickle any Storage instance with Python 2.5. The trace looks like: Traceback (most recent call last): File "/base/data/home/apps/s~b-stock-staging/1.354286568593

Re: [web2py] Re: curious DAL timeout issue

2011-10-28 Thread Ovidio Marinho
One of the investigations would be to install postgres and see if it's the samemistake, becauseI'm almost thinking that is a problem with mysql relationships. Ovidio Marinho Falcao Neto Web Developer ovidio...@gmail.com ovidiomari...@itjp.net.br

[web2py] Re: Manual Upload with FORM

2011-10-28 Thread Anthony
On Friday, October 28, 2011 12:37:04 PM UTC-4, Ross Peoples wrote: > > The list part was a typo, because the controller was just an example. I > found the original thread where I got the store() code from: > > > https://groups.google.com/forum/#!searchin/web2py/manual$20upload/web2py/a5YanKxNbVU/9

[web2py] Re: book version 3.1 online

2011-10-28 Thread mikech
Is there somewhere that lists the diff between the most current and prior versions?

[web2py] CSS for book printing

2011-10-28 Thread ~redShadow~
I just wrote a small CSS that changes a bit the layout of the web2py book in order to make it more printer-friendly. I tested it using Stylish Firefox addon, and PDF generated by print to pdf looks nice. I'm attaching two versions of the CSS: web2py_book_stylish.css is the one I used with Styl

[web2py] Re: list of usernames

2011-10-28 Thread Archibald Linx
Thank you Anthony, I have given it a thought and I will create another table called "status". The "message" table contains the fields : "id" and "to" among others. The "status" table contains the fields : "id", "message_id", "person" and "status" among others. "to" is readable and writable. "messa

[web2py] Re: Specifying Field Focus

2011-10-28 Thread horridohobbyist
I tried this, replacing the document.forms[0].elements[0].focus() line. It didn't work. Thanks, Richard On Oct 28, 10:11 am, Richard G wrote: >  Or if you don't have much info on the page and just want the first visible > field to have focus you could do: > $("input:visible:enabled:first").focu

Re: [web2py] Re: Found a bug: XMLRPC with basic authorization fails

2011-10-28 Thread Hong-Khoan Quach
Hi, I think that depends on Massimo. I sent him the patch yesterday, I think. So Massimo, maybe you can say something about that? Of course I can also send the patch to you, thodoris, so that you can also test whether the bug is fixed. Regards Hong-Khoan Am 28.10.2011 17:47, schrieb thodoris:

Re: [web2py] PowerGrid x PowerTable

2011-10-28 Thread Bruno Rocha
if you want a solid and updated solution use SQLFORM.grid or SQLFORM.smartgrid if you need more flexibility on client side, templates and a grid based in ajax with JSON use PowerGrid. I am not updating PowerTable, it needs to be completelly rewriten. if someone wants to addopt it the code is in

[web2py] Re: A helper and icon

2011-10-28 Thread annet
Hi Anthony, Thanks, problem solved: Home Lesrooster Kind regards

[web2py] Re: Manual Upload with FORM

2011-10-28 Thread Ross Peoples
The list part was a typo, because the controller was just an example. I found the original thread where I got the store() code from: https://groups.google.com/forum/#!searchin/web2py/manual$20upload/web2py/a5YanKxNbVU/99bxaB7A82IJ See Massimo's first reply. Also see this thread, because this per

[web2py] Re: Manual Upload with FORM

2011-10-28 Thread Anthony
On Friday, October 28, 2011 12:07:08 PM UTC-4, Anthony wrote: > > On Friday, October 28, 2011 10:57:05 AM UTC-4, Ross Peoples wrote: >> >> I'm starting to think this is a bug since SQLFORM calls store() like this: >> >> store(f.file, f.filename) >> >> I could do the same thing in my code, but the d

[web2py] Re: Manual Upload with FORM

2011-10-28 Thread Anthony
On Friday, October 28, 2011 10:57:05 AM UTC-4, Ross Peoples wrote: > > I'm starting to think this is a bug since SQLFORM calls store() like this: > > store(f.file, f.filename) > > I could do the same thing in my code, but the documentation I've seen so > far only requires you to pass one parameter

[web2py] Re: Manual Upload with FORM

2011-10-28 Thread Anthony
On Friday, October 28, 2011 10:38:10 AM UTC-4, Ross Peoples wrote: > > Having a little trouble with getting an attachment to work. This is a > simplified version of the controller: > > form = FORM('Attach', [INPUT(_name='attachment', _type='file')]) > Is the above a typo? INPUT should either not

[web2py] Re: Web2py won't connect to MSSQL

2011-10-28 Thread Omi Chiba
Massimo, Chris Thank you both of your reply! I added import pyodbc in db.py and here's what I get. This is expected just like Chris described. "ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed." Then I tried mt.exe things. (See attached file) Strangely

[web2py] Re: Found a bug: XMLRPC with basic authorization fails

2011-10-28 Thread thodoris
Hi, i have come across the same problem. Do you have any idea when will the patch be included in a realease?

[web2py] Re: Exceeding memory limits in webfaction

2011-10-28 Thread Jose
After creating the Symbolic link I have not had any problems. I hope that continues. thanks annet Jose

Re: [web2py] unicode support for args

2011-10-28 Thread Jonathan Lundell
On Oct 25, 2011, at 11:26 PM, Pawel Jasinski wrote: > On Oct 26, 5:25 am, Jonathan Lundell wrote: >> On Oct 25, 2011, at 2:06 PM, Pawel Jasinski wrote: >> >>> hi, >> >>> thanks! That solved my ~ problem. >> >>> Unfortunately for my öäü (chars above 128 and below 255 in latin-1) I >>> still nee

Re: [web2py] Re: Found a bug: XMLRPC with basic authorization fails

2011-10-28 Thread szimszon
Tnx,

[web2py] Re: Manual Upload with FORM

2011-10-28 Thread Ross Peoples
I'm starting to think this is a bug since SQLFORM calls store() like this: store(f.file, f.filename) I could do the same thing in my code, but the documentation I've seen so far only requires you to pass one parameter to store(). So, if the DAL was changed to look something like this (starting

Re: [web2py] Re: Found a bug: XMLRPC with basic authorization fails

2011-10-28 Thread Hong-Khoan Quach
Hi, I sent you the patch as a pm since I don't know whether it is ok to post the patch here. Regards Hong-Khoan Am 28.10.2011 09:01, schrieb szimszon: > Hi! > > Could you please post the patch here or pm me I need it as fast as > possible :-o > > Tnx. signature.asc Description: OpenPGP dig

[web2py] Manual Upload with FORM

2011-10-28 Thread Ross Peoples
Having a little trouble with getting an attachment to work. This is a simplified version of the controller: form = FORM('Attach', [INPUT(_name='attachment', _type='file')]) if form.accepts(request): v = form.vars.attachment if not v is None and not v == '': v = db.attachments.att

[web2py] Re: Specifying Field Focus

2011-10-28 Thread Richard G
You could also use jquery syntax: $('#item' :input:visible:enabled:first).focus() Or if you don't have much info on the page and just want the first visible field to have focus you could do: $("input:visible:enabled:first").focus() More info on the jquery selectors is at: http://docs.jquery.com

[web2py] Re: Specifying Field Focus

2011-10-28 Thread Anthony
Use jQuery -- it's a lot easier to find particular elements within the DOM. http://api.jquery.com/focus/ On Friday, October 28, 2011 9:51:36 AM UTC-4, horridohobbyist wrote: > > Problem sol-ved... > > > document.forms[0].elements[0].focus(); > > > Richard > > On Oct 28, 7:13 am, horridohob

Re: [web2py] Suggestions for multiple files upload in form

2011-10-28 Thread Paolo Caruccio
Ovidio thank you for your consideration. In fact, I have not given much attention to the results grid because the goal of my work was to create a control for uploading multiple files. In addition, the visual aspect is only demonstration. The essential css rules are on the top of multiuploads.css

[web2py] Re: Specifying Field Focus

2011-10-28 Thread horridohobbyist
Problem sol-ved... document.forms[0].elements[0].focus(); Richard On Oct 28, 7:13 am, horridohobbyist wrote: > I've searched the archive and have found several solutions for > specifying field focus using JavaScript, but they all seem to be out > of date, ie, they don't work. What is the curr

[web2py] Re: SQLFORM.grid behavior with an empty table

2011-10-28 Thread apple
This is fixed in trunk. On Oct 28, 1:44 am, Bob St John wrote: > using 1.99.2 > > SQLFORM.grid... > > I don't see the need for this statement... > > line 1641: if not searchable and not rows: return DIV(T('No records > found')) > > If it was removed a user would see an empty grid rather than just

[web2py] Re: SQLFORM.grid behavior with an empty table

2011-10-28 Thread Cliff
I think an Add button by itself would look better, maybe with the same background as the search header. On Oct 27, 8:44 pm, Bob St John wrote: > using 1.99.2 > > SQLFORM.grid... > > I don't see the need for this statement... > > line 1641: if not searchable and not rows: return DIV(T('No records

[web2py] PowerGrid x PowerTable

2011-10-28 Thread Ovidio Marinho
Estava pensando em usar um grid e fiquei na duvida PowerGrid ou PowerTable, quando usar um ou outro? e quais suas diferenças particulares? I was thinking of using a grid and I was in doubt or PowerTable PowerGrid, when using one or the other? and what their particular differences? Ovidio

Re: [web2py] crud update problem with 1.99.2?

2011-10-28 Thread Richard Vézina
Without model I think it difficult to debug... But the problem come from a float type error, so there must be a failing constrain on one of your field... Look at you member model if there is a double type field or decimal and make sure you have a validator with appropriate constraining domain...

[web2py] Re: A helper and icon

2011-10-28 Thread Anthony
A(_onclick='web2py_component("%s","component")' % URL('locator','imagetext.load',args=company.id), ...) On Friday, October 28, 2011 5:55:14 AM UTC-4, annet wrote: > > Is there a way in web2py to generate the following element: > > 283","component");return false;" href="/init/locator/imagetext.l

[web2py] Re: curl post with authentication

2011-10-28 Thread szimszon
Could be related: https://groups.google.com/forum/#!topic/web2py/lLCCUrwB5x0

[web2py] The -f command line switch seems to break custom_import

2011-10-28 Thread pgergo
Hi! I started to use the debian version of web2py, which comes with an executable '/usr/bin/web2py'. It was run from a custom directory under '/home/web2py'. This script gets the current directory, and adds it to the command line with a '-f' switch, and chdir-s into '/usr/share/ web2py'. This work

[web2py] curl post with authentication

2011-10-28 Thread thodoris
Hi, I have this simple configuration: db.define_table( 'files', Field('file','upload')) @auth.requires_login() def upload(): db.files.id.default = request.args(0) form = crud.create(db.files) return dict(form=form) If i remove authentication from upload() i can upload a file usi

[web2py] Re: New questions about the book

2011-10-28 Thread Archibald Linx
Thank you very much Anthony. I have read Chapter 7 up to the "Hidden Fields" section and it is already more clear in my head. Archibald On 28 oct, 02:12, Anthony wrote: > On Thursday, October 27, 2011 7:57:31 PM UTC-4, Archibald Linx wrote: > > > 1) Sometimes I see in the documentation "if for

[web2py] Web2py + Sencha Ext Designer

2011-10-28 Thread António Ramos
Hello, is it a good thinking to use Ext Designer for the ui and web2py for the background BI? Other alternatives for Rapid App Devel.?

[web2py] Specifying Field Focus

2011-10-28 Thread horridohobbyist
I've searched the archive and have found several solutions for specifying field focus using JavaScript, but they all seem to be out of date, ie, they don't work. What is the current accepted method of specifying field focus? I have a form with a text area field named "message". Something like: do

[web2py] A helper and icon

2011-10-28 Thread annet
Is there a way in web2py to generate the following element: Home using the A helper: {{=A('Home',_href=URL('locator','imagetext.load',args=[company.id]),cid='component')}} This is part of an icon menu: {{=A('Home',_href=URL('locator','imagetext.load',args=[company.id]),cid='component'

[web2py] sqlform.grid and represent vs. format

2011-10-28 Thread szimszon
I have to tables db.define_table( 'wdirs', Field( 'name', type = 'string', requires = IS_NOT_EMPTY()), *(a)* *format='%(name)s %(id)s'* ) db.define_table( 'files', Field( 'wdirs_id', db.wdirs, requires = IS_IN_DB( db, db.wdirs.id, "%(name)s

Re: [web2py] Re: Found a bug: XMLRPC with basic authorization fails

2011-10-28 Thread szimszon
Hi! Could you please post the patch here or pm me I need it as fast as possible :-o Tnx.