[web2py] ajax and FieldStorage

2010-11-14 Thread leone
Hi all, I am using ubuntu and chrome. When I pass as ajax param the vale of a input['file'] tag I obtain not a FieldStorage object in request.vars.filepath, but the string C: \fakepath\websys.py that isn't the real directory of file How can I get Fieldstorage object with filename and file strea

[web2py] ajax and redirect

2010-11-14 Thread leone
Hi all, how can I use redirect() inside a ajax callback? Thanks in advance leone

[web2py] Re: Selecting a few latest records

2010-11-14 Thread Ruiwen Chua
Ah got it, thanks =) Missed that bit. On Nov 13, 8:40 pm, villas wrote: > Hi Ruiwen, > > See also 'orderby' in the book. Do something like this: > > db().select(db.person.ALL, orderby=~db.yourtable.created_date, > limitby=(0, 15)) > > Don't overlook the tilde (~), this is important because it mak

[web2py] web2py Version 1.89.1 bug?

2010-11-14 Thread leone
Hi, I have now installed web2py Version 1.89.1. >From /admin/default/index it return Internal error Ticket issued: admin/ 127.0.0.1.2010-11-14.10-27-16.28da5829-363a-47d4-8295-814808f71b52 It is impossible to open ticket, that calls another ticket in deadlock loop. (ubuntu os)

[web2py] Re: crud settings

2010-11-14 Thread leone
Thanks. I must be more trusted in web2py! On Nov 12, 3:16 pm, mdipierro wrote: >       crud.settings.update_next = URL(c=request,f='select') > > should be > >       crud.settings.update_next = URL(r=request,f='select') > > or > >       crud.settings.update_next = URL('select') > > On Nov 12, 6:52

[web2py] Re: web2py Version 1.89.1 bug?

2010-11-14 Thread villas
Restart the Web2py server. -D On Nov 14, 9:36 am, leone wrote: > Hi, > I have now installed web2py Version 1.89.1. > From /admin/default/index it return > Internal error > > Ticket issued: admin/ > 127.0.0.1.2010-11-14.10-27-16.28da5829-363a-47d4-8295-814808f71b52 > > It is impossible to open tic

Re: [web2py] Re: Discussion: Why is web2py bad for large deployments?

2010-11-14 Thread Branko Vukelic
On Sun, Nov 14, 2010 at 1:44 AM, b00m_chef wrote: > Let me just say that the chance that your app will have the traffic of > facebook or twitter or even livejournal (yes it is still alive) is so > small, that you really don't need to worry about it too much at such > an early stage. True. -- Br

[web2py] Re: Discussion: Why is web2py bad for large deployments?

2010-11-14 Thread ma...@rockiger.com
+1 Totally agree with that. Speed is a luxary problem - concentrate on making an awesome app, not a fast one. On Nov 14, 1:44 am, b00m_chef wrote: > Let me just say that the chance that your app will have the traffic of > facebook or twitter or even livejournal (yes it is still alive) is so >

Re: [web2py] Re: Discussion: Why is web2py bad for large deployments?

2010-11-14 Thread Albert Abril
And I wonder.. in large large large deployments: I suppose we should use distributed deployment as GAE, EC2.. or run on our servers APPScale, typhoonae, eucalyptus. I know we are not talking about the same, but there's related with that. On Sun, Nov 14, 2010 at 11:38 AM, Branko Vukelic wrote:

[web2py] Re: app uses SQLite but needs to also connect to MSSQL as well

2010-11-14 Thread Nico de Groot
Hi Mart, No problem, you can define a second connection, say db_ms, that connects to your ms sql database. And then query and insert across databases. Nico On 14 nov, 07:30, mart wrote: > Hi, > > So, application "build system" uses SQLite for most current and future > software builds. But woul

Re: [web2py] Re: Idea on web2py wizard

2010-11-14 Thread Boris Manojlovic
Hello, On Sun, Nov 14, 2010 at 2:11 AM, mdipierro wrote: > I do not remember the reason for that suggestion. > > My only concerns are: > 1) I would be best to have just one verison online (the most updated > one) even if hosted at multiple places. > You can host it by yourself or reuse mine a

Re: [web2py] Re: Discussion: Why is web2py bad for large deployments?

2010-11-14 Thread José Ignacio Hurtado
A good advise, but, not always possible. I am considering to migrate an App in the range of 70-100 tables to web2py and there are tables that are like pillars, belong to several groups (customers, employees, projects,...) How we could manage this shared tables? Also sometimes its hard to determine

Re: [web2py] Re: Discussion: Why is web2py bad for large deployments?

2010-11-14 Thread Branko Vukelic
2010/11/14 José Ignacio Hurtado : > A good advise, but, not always possible. I am considering to migrate an App > in the range of 70-100 tables to web2py and there are tables that are like I thought it would become obvious by now that you cannot _keep your existing architecture_ if your app hits t

Re: [web2py] Re: Discussion: Why is web2py bad for large deployments?

2010-11-14 Thread Branko Vukelic
On Sun, Nov 14, 2010 at 1:51 PM, Branko Vukelic wrote: > 2010/11/14 José Ignacio Hurtado : >> A good advise, but, not always possible. I am considering to migrate an App >> in the range of 70-100 tables to web2py and there are tables that are like > > I thought it would become obvious by now that

Re: [web2py] Re: Idea on web2py wizard

2010-11-14 Thread Branko Vukelic
On Sun, Nov 14, 2010 at 1:20 PM, Boris Manojlovic wrote: > You can host it by yourself or reuse mine at already mentioned location (it > is hosted on gae). Attached application can be deployed to GAE directly > after > adding corresponding route files Couldn't it just be included in the distribut

Re: [web2py] Re: Discussion: Why is web2py bad for large deployments?

2010-11-14 Thread José Ignacio Hurtado
I was trying to make a point and talk about boundaries of web2py and large applications, or better, applications with large models. I see the limits of scalability way far ;) 2010/11/14 Branko Vukelic > On Sun, Nov 14, 2010 at 1:51 PM, Branko Vukelic > wrote: > > 2010/11/14 José Ignacio Hurtad

[web2py] Re: plugin_matplotlib

2010-11-14 Thread richard.ree
matplotlib recently added an HTML5 backend: http://code.google.com/p/mplh5canvas/ It supports interactive plots using something called websockets. I've been wondering if it would be possible to implement an interactive plot widget for plugin_wiki. I use matplotlib a lot, both for interactive de

[web2py] Re: Idea on web2py wizard

2010-11-14 Thread blackthorne
I would love to see that.. SQL designer (somehow) distributed with web2py. I just think SQL designer needs a small extra work to better fit web2py. A while ago, one of my crazy ideas would help us on this, a small application update API for each application... On Nov 14, 1:00 pm, Branko Vukelic

[web2py] Re: app uses SQLite but needs to also connect to MSSQL as well

2010-11-14 Thread mart
sounds easy enough then :) I think I equated something I configured wrong to something not supported. SO, will do the second connection as you suggest. Thanks for the reply :) Mart On Nov 14, 6:28 am, Nico de Groot wrote: > Hi Mart, > > No problem, you can define a second connection, say db_ms,

[web2py] Re: app uses SQLite but needs to also connect to MSSQL as well

2010-11-14 Thread mart
I guess another question, is ... does the DAL support migrating the MSSQL DB (MS SQL server 2005) to SQLite? Thanks Mart :) On Nov 14, 9:37 am, mart wrote: > sounds easy enough then :) I think I equated something I configured > wrong to something not supported. SO, will do the second connection

[web2py] Re: ajax and redirect

2010-11-14 Thread qqsaqq
I assume you mean a redirect from within the browser, after recieving the ajax response and evaluating the retrieved data. In that case you must set the window.location object in your javascript. In the view you could do smthg like that: //... your callback code here window.location.href = {{=URL

Re: [web2py] bug in the book or in the code? linkedin instruction

2010-11-14 Thread Kuba Kucharski
thx, really, it saved my time, it works that way -- Kuba

[web2py] Re: ajax and redirect

2010-11-14 Thread leone
Right, i must be more specific. I have javascript code that call back (by ajax) a controller function in which i compute variables sent from ajax and i redirect forward a new address with args. Python code is simple but doesn't redirect using redirect(URL(...)). Is it possible redirect from python

Re: [web2py] Re: Discussion: Why is web2py bad for large deployments?

2010-11-14 Thread Thadeus Burgess
>>>A good advise, but, not always possible. I am considering to migrate an App in the range of 70-100 tables to web2py and there are tables that are like pillars, belong to several groups (customers, employees, projects,...) How we could manage this >>>shared tables? >>> >>>Also sometimes its hard

Re: [web2py] Re: ajax and redirect

2010-11-14 Thread Jonathan Lundell
On Nov 14, 2010, at 8:31 AM, leone wrote: > > Right, i must be more specific. > I have javascript code that call back (by ajax) a controller function > in which i compute variables sent from ajax and i redirect forward a > new address with args. > Python code is simple but doesn't redirect using r

[web2py] Re: ajax and FieldStorage

2010-11-14 Thread mdipierro
input file requires multipart forms. To use them via ajax you need this: http://jquery.malsup.com/form/ On Nov 14, 2:59 am, leone wrote: > Hi all, > I am using ubuntu and chrome. > When I pass as ajax param the vale of a input['file'] tag I obtain not > a FieldStorage object in request.vars.file

[web2py] Re: app uses SQLite but needs to also connect to MSSQL as well

2010-11-14 Thread mdipierro
connect to mssql db.export_to_csv_file(file) change uri to connect to sqlite db.import_from_csv_file(file) Should work On Nov 14, 8:54 am, mart wrote: > I guess another question, is ... does the DAL support migrating the > MSSQL DB (MS SQL server 2005) to SQLite? > > Thanks > Mart :) > >

[web2py] Re: Discussion: Why is web2py bad for large deployments?

2010-11-14 Thread mdipierro
Nothing prevents you in web2py to create a modules/models/mymodel.py then import applications.yourapp/modules/models.mymodel.py and then call a function in there that defines the tables you need. And you can have more than one mymodel. This anyway will be easy if we add support for lazy

[web2py] Re: ajax and redirect

2010-11-14 Thread mdipierro
depends how you make the ajax callback. If you use LOAD() the redirect should work. If you use ajax(...,':eval') you can return "document.location='%s'" % URL(...) On Nov 14, 3:23 am, leone wrote: > Hi all, > how can I use redirect() inside a ajax callback? > Thanks in advance > leone

[web2py] Re: Cookie stealing attack

2010-11-14 Thread guruyaya
Well, I'm afraid all the solutions you gave, though seem reasonable, won't solve the scenerio I talked about. The problem is with the face the session won't change on login (so I can just get into the website, before someone else does, copy the session data, and then wait for him to log in). On N

[web2py] Re: web2py 1.89.1 is OUT

2010-11-14 Thread mdipierro
I installed a modified version of timeentry instead of timepicker in trunk. It has less options, it is smaller, and has a more natural behaviour (in respect to tab and if you type a valid time, it will take it) Please give it a try and let us know if it works with your browser. Massimo On Nov 1

[web2py] Re: web2py 1.89.1 is OUT

2010-11-14 Thread mdipierro
P.S. I also removed the spinner and mouse wheel support. I hate the spinner. On Nov 14, 11:57 am, mdipierro wrote: > I installed a modified version of timeentry instead of timepicker in > trunk. > > It has less options, it is smaller, and has a more natural behaviour > (in respect to tab and if y

[web2py] Re: app uses SQLite but needs to also connect to MSSQL as well

2010-11-14 Thread mart
great! was going through the book and had just spotted something looking like that:) thanks :) One issue though: have been trying to connect to the remote mssql db for a while, and not really getting anywhere :( any tips and tricks with that one? I'm on MAC OS, 10.6 installed pyodbc the MSSQL db

[web2py] Re: ajax and redirect

2010-11-14 Thread leone
Thanks, i understand. On Nov 14, 6:24 pm, mdipierro wrote: > depends how you make the ajax callback. > > If you use LOAD() the redirect should work. > > If you use ajax(...,':eval') you can > > return "document.location='%s'" % URL(...) > > On Nov 14, 3:23 am, leone wrote: > > > > > > > > >

[web2py] Re: Cookie stealing attack

2010-11-14 Thread mdipierro
session.secure() does solve the problem since it forces the session over https and therefore it cannot be stolen. Even if the session were to be reset at login, without a https connection it can still be stolen after login. One solution is session.client=session.client or request.client if not se

[web2py] Select with autocomplete

2010-11-14 Thread oneroler
Is it possible to use the autocomplete widget on a select box where when someone clicks into the text field the dropdown with all the selections are available and then the user has the option to type and have the possible selections reduced? I have tried using the SQLFORM.widgets.autocomplete with

[web2py] is there a trick to install pyodbc on mac os?

2010-11-14 Thread mart
Hi, there must be a trick maybe? I can connect using something razor, but unable with web2py Just hoping has an undocumented trick :) I am on MAC OS 10.6. this is the connection string: db = DAL("mssql://sa:passw...@build-control:1433/quickbuild") ran it through a debugger, and drilled dow

[web2py] Re: Select with autocomplete

2010-11-14 Thread mdipierro
as a test... leave min_lenght=0 and in gluon.sqlhtml.py after attr['_onkeyup'] = "" add attr['_onfocues'] = attr['_onkeyup'] (occurs in two places) Does it do what you ask? On Nov 14, 1:56 pm, oneroler wrote: > Is it possible to use the autocomplete widget on a select box where > when

[web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread mdipierro
We have a new layout. Thanks Branko. Some people have not uploaded a profile. You must upload one. About the picture. You must upload a picture of yourself in decent quality. An orange does not qualify. Massimo On Nov 12, 9:42 am, mdipierro wrote: > Thank you for all the reported corrections. I

Re: [web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread Branko Vukelic
On Sun, Nov 14, 2010 at 10:20 PM, mdipierro wrote: > quality. An orange does not qualify. Unless you actually are an orange, obviously. :) -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.

[web2py] Re: provide a development flag for applications II

2010-11-14 Thread pierreth
On Nov 13, 11:33 pm, Christopher Steel wrote: > Works fine for me from the web2py shell: > > 1) install plugin > > 2) run the web2py shell:http://web2py.com/book/default/chapter/04?search=shell > OR > > 3) run shell from browser: > > http://127.0.0.1:8000/admin/shell/index/yourapp > > 3) set the v

[web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread Anthony
What a great idea! I don't yet have the skills to join, but for now e4s will certainly have my moral support (maybe some casual proofreading, too ;-). For those of us not directly involved in e4s, I think it would still be interesting to hear what's going on from time to time, so hopefully there w

[web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread mdipierro
The idea is that clients contact the members directly so I may not always know what is going on but I will report things that I know. Massimo On Nov 14, 3:56 pm, Anthony wrote: > What a great idea! I don't yet have the skills to join, but for now > e4s will certainly have my moral support (maybe

Re: [web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread Branko Vukelic
On Sun, Nov 14, 2010 at 10:58 PM, mdipierro wrote: > The idea is that clients contact the members directly so I may not > always know what is going on but I will report things that I know. You could add a page where clients can submit their impression of how the project went. That way you'll know

Re: [web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread Branko Vukelic
I've sent Massimo the more changes to the current theme. Please keep in mind that the profile image will be (brutally) rescaled to 100px x 100px using width and height CSS properties so I suggest you crop and scale your profile images. If you need a hand with that, please send me the image (private

[web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread Stefaan Himpe
Could it be that the corrected version is not online yet ?

Re: [web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread Branko Vukelic
On Sun, Nov 14, 2010 at 11:32 PM, Stefaan Himpe wrote: > Could it be that the corrected version is not online yet ? It's not online yet. I've sent Massimo the last version minutes ago. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.c

[web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread Stefaan Himpe
Hello, thanks for designing a beautiful theme! One remark though: on my screen the white "experts4solutions" logo (as inlined in the text) is hard to read. Best regards, Stefaan.

[web2py] Re: Custom JSON-RPC error codes

2010-11-14 Thread Matt
Hi Massimo, There's a small bug in this code. The line (3491) in Tools.py except Service.JsonRpcException, e: --> return return_error(id, e.code, e.info) Needs to include the id. As above. Cheers, Matt On Nov 12, 9:12 am, Matt wrote: > Thanks Massimo :) > > Will check it out.

Re: [web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread Branko Vukelic
On Sun, Nov 14, 2010 at 11:35 PM, Stefaan Himpe wrote: > Hello, thanks for designing a beautiful theme! > > One remark though: on my screen the white "experts4solutions" logo (as > inlined in the text) is hard to read. Yes, I'm aware of that. I'll think of a better solution. -- Branko Vukelić

[web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread Stefaan Himpe
Stefaan Himpe wrote: Could it be that the corrected version is not online yet ? To be clear: I'm referring to the spelling corrected version.

Re: [web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread Branko Vukelic
On Sun, Nov 14, 2010 at 11:37 PM, Stefaan Himpe wrote: > Stefaan Himpe wrote: >> >> Could it be that the corrected version is not online yet ? > > To be clear: I'm referring to the spelling corrected version. Oh that. Massimo gave me the application files before the spelling corrections were impl

Re: [web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread rochacbruno
Nice theme, The expert name at the top should be capitalized. http://www.experts4solutions.com/e4s/default/expert/2 Would be good to have a badge for linking this. Enviado via iPhone Em 14/11/2010, às 20:51, Branko Vukelic escreveu: > On Sun, Nov 14, 2010 at 11:37 PM, Stefaan Himpe > wr

[web2py] jqgrid with drowdown list

2010-11-14 Thread Napoleon Moreno
Good night. I am starting with jqgrid and i need a litle grid with a drowndonw list, and in line edit. Options to add a line and delele a line. It looks a bit complicated to me, I wonder if someone has something to start to work on it Thanks

[web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread Anthony
e4s should probably have its own favicon too (currently using the web2py favicon)... > From: Branko Vukelic > Date: Nov 14, 5:44 pm > Subject: web2py organization - important for consultants !!! > To: web2py-users > > > On Sun, Nov 14, 2010 at 11:35 PM, Stefaan Himpe > wrote: > > Hello, than

Re: [web2py] Re: Discussion: Why is web2py bad for large deployments?

2010-11-14 Thread Thadeus Burgess
Doesn't work with code completion, and will be a maintenance nightmare! I spent weeks trying different code organisation patterns with web2py including what you mentioned, everything I attempted just caused more problems and made the code less maintainable. Like I keep saying, it all comes down t

[web2py] Re: Custom JSON-RPC error codes

2010-11-14 Thread mdipierro
in trunk. thanks. On Nov 14, 4:42 pm, Matt wrote: > Hi Massimo, > > There's a small bug in this code. > > The line (3491) in Tools.py > >         except Service.JsonRpcException, e: > -->         return return_error(id, e.code, e.info) > > Needs to include the id. As above. > > Cheers, > Matt >

[web2py] Bug in saving changes to the about page for my application?

2010-11-14 Thread Audra Rudys
I just downloaded Version 1.89.1 source code version of web2py to upgrade (I skipped a few versions, in case that matters.) When I go to the "about" screen and click edit, I get an edit window and can type changes, but I can't save them. I clicked the disk icon in the upper left corner, but noth

[web2py] Trouble automatically updating dynamically generated image

2010-11-14 Thread G
Hello, I am using web2py to monitor and control an instrument. I am dynamically generating plots using matplotlib following the DNA application example from SC2009 (http://www.web2py.com/examples/static/ sc/sc_dna_talk.pdf) I was able to get the basic aspects working based on that example. However

[web2py] Stick web2py to one CPU?

2010-11-14 Thread David Zejda
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What do you think, would it be good idea to attach web2py process to one CPU core to avoid overhead related to switching between cores? Ryan Kelly writes: "I just halved the running time of one of my test suites." http://www.rfk.id.au/blog/entry/a-gi

Re: [web2py] Re: web2py organization - important for consultants !!!

2010-11-14 Thread Branko Vukelic
On Mon, Nov 15, 2010 at 12:39 AM, Anthony wrote: > e4s should probably have its own favicon too (currently using the web2py > favicon)... Mental note to self: * Capitalize names of experts in subheader area * Make a favicon for e4s * Go over typos again That should cover it? 1AM here, so if you

[web2py] Re: Manipulate Rows Object and/or SQLTABLE

2010-11-14 Thread Ivan Matveev
> I want to customize the result of SQLTABLE so that it can make me a > nice table without lines and lines of code in my view file.  To > achieve that,  I need for example to: > > 1) Add columns to hold icons and links and extra stuff. > 2) Customize the rows, e.g.  links which depend on content,  

[web2py] Re: Manipulate Rows Object and/or SQLTABLE

2010-11-14 Thread Ivan Matveev
> I want to customize the result of SQLTABLE so that it can make me a > nice table without lines and lines of code in my view file.  To > achieve that,  I need for example to: You can add any column to select result. The result can be passed to SQLTABLE. See: http://groups.google.com/group/web2py/b

[web2py] Re: Stick web2py to one CPU?

2010-11-14 Thread mdipierro
yes. On Nov 14, 5:50 pm, David Zejda wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > What do you think, would it be good idea to attach web2py process to one > CPU core to avoid overhead related to switching between cores? > > Ryan Kelly writes: "I just halved the running time of one

[web2py] Re: Manipulate Rows Object and/or SQLTABLE

2010-11-14 Thread villas
Nice one Ivan! Will the patch be included in Web2py? I hope Massimo likes it. -D On Nov 15, 12:27 am, Ivan Matveev wrote: > > I want to customize the result of SQLTABLE so that it can make me a > > nice table without lines and lines of code in my view file.  To > > achieve that,  I need for ex

[web2py] Unable to edit language files

2010-11-14 Thread pierreth
Hello, I've tried to edit my language files but my changes are all the time overwritten. When I use the web interface of web2py to edit these files, some fields are in yellow. What is the meaning of this? How should I edit these files to have permanent changes?

Re: [web2py] Re: Manipulate Rows Object and/or SQLTABLE

2010-11-14 Thread Ivan Matveev
>  Will the patch be included in Web2py?  I hope Massimo > likes it. So do I. Otherwise I will have to patch after every web2py update.

[web2py] Re: Select with autocomplete

2010-11-14 Thread oneroler
Massimo, Thanks, this basically does what I asked. Is the best way to get more advanced selection dropdowns to build a widget? What I'm really after is a dropdown more like the one linked here. http://developer.yahoo.com/yui/examples/autocomplete/ac_combobox.html Thanks again for you quick res

[web2py] Re: web2py 1.89.1 is OUT

2010-11-14 Thread villas
Hi Massimo Thanks for addressing this. Interesting that you removed the spinner altogether, I got a feeling from this thread that many users wanted to use the mouse almost exclusively for picking the time. Anyway that decision is fine with me. I only have one issue so far, that is tabbing out of

[web2py] Re: databases folder not created in shell

2010-11-14 Thread DenesL
^bump^

[web2py] Re: The primary key constraint on legacy tables

2010-11-14 Thread DenesL
On Nov 13, 10:25 pm, Ivan Matveev wrote: > DAL keyed tables support is fragile and outdated. Could you expand on why you say it is?.

[web2py] Re: Bug in saving changes to the about page for my application?

2010-11-14 Thread G
I have also encountered a similar problem. I have a View file called status.load that I could not save changes to. By renaming it to status.html, I could save changes as usual. It seems like some issue with file types that are not recognized. On Nov 14, 3:45 pm, Audra Rudys wrote: > I just downlo

[web2py] Re: jqgrid with drowdown list

2010-11-14 Thread Napoleon Moreno
Good night I currently could make a basic grid using the plugin_jqgrid or the plugin_editable_jqgrid. But i need include a drowndown list in a cell of the grid and the options to add or delete a line. Thanks for any advice. Napoleon On Sun, Nov 14, 2010 at 6:20 PM, Napoleon Moreno wrote: > Good

[web2py] Re: Unable to edit language files

2010-11-14 Thread mdipierro
On Nov 14, 7:00 pm, pierreth wrote: > Hello, > > I've tried to edit my language files but my changes are all the time > overwritten. Do you use windows? If so, do you Mark hammond win32 extesions > > When I use the web interface of web2py to edit these files, some > fields are in yellow. What

[web2py] Re: Manipulate Rows Object and/or SQLTABLE

2010-11-14 Thread mdipierro
I am confused. Where is the patch? On Nov 14, 7:16 pm, Ivan Matveev wrote: > >  Will the patch be included in Web2py?  I hope Massimo > > likes it. > > So do I. Otherwise I will have to patch after every web2py update.

[web2py] Re: Select with autocomplete

2010-11-14 Thread mdipierro
The change is in trunk On Nov 14, 7:18 pm, oneroler wrote: > Massimo, > > Thanks, this basically does what I asked.  Is the best way to get more > advanced selection dropdowns to build a widget?  What I'm really after > is a dropdown more like the one linked here. > > http://developer.yahoo.com/y

[web2py] Re: web2py 1.89.1 is OUT

2010-11-14 Thread mdipierro
I modified this... not sure if this is what you asked or not. In my version [tab] moves you to the next INPUT and [shift]+[tab] moves you back. To move across HH:MM:SS fields you have to use arrow keys. Massimo On Nov 14, 7:59 pm, villas wrote: > Hi Massimo > > Thanks for addressing this. > > I

[web2py] Re: Web2py Application Exhibition ( Version 2.0 )

2010-11-14 Thread Rahul
Hi, Can we submit closed w2p applications without source code? Any specific rules if one does not want to expose the code? Rahul On Nov 12, 5:23 pm, selecta wrote: > How do I submit? Should I just send you (NetAdmin) the code by email? > I am working on the project constantly, will you accep

[web2py] Re: databases folder not created in shell

2010-11-14 Thread mdipierro
fixed in trunk On Nov 14, 8:13 pm, DenesL wrote: > ^bump^

[web2py] Re: Bug in saving changes to the about page for my application?

2010-11-14 Thread mdipierro
fixed in trunk, although I may have to revise this solution. On Nov 14, 10:40 pm, G wrote: > I have also encountered a similar problem. I have a View file called > status.load that I could not save changes to. By renaming it to > status.html, I could save changes as usual. It seems like some issu

[web2py] db.export_to_csv_file(file) failing on Windows?

2010-11-14 Thread mart
Hi, Since connecting remotely is an issue for now, I went to the server hosting the MSSQL DB. I am cinnecting fine (to localhost), but this cmd : db.export_to_csv_file('quickbuild.csv') is getting this error: File "C:\Documents and Settings\buildmonkey\Desktop\blue_framework copy\src\mssql_

[web2py] Question about unique=True and IS_NOT_IN_DB

2010-11-14 Thread Percy
I am getting unexpected results using the IS_NOT_IN_DB validator and also the unique=True validator. I have the following code: Field('unique_id', type='integer', default=auth.user_id, label=T('Unique ID'),readable=True,writable=False,unique=True) db.bio.requires=IS_NOT_IN_DB(db, 'bio.u

[web2py] Re: Question about unique=True and IS_NOT_IN_DB

2010-11-14 Thread annet
Hi Percy, The validator should read: db.bio.unique_id.requires=IS_NOT_IN_DB(db,'bio.unique_id') I hope this solves the problem. Annet.