Re: [web2py] Re: can we use javascript in sqlform How?

2011-07-15 Thread sagar nigade
thanks Anthony, On Fri, Jul 15, 2011 at 9:18 PM, Anthony wrote: > The id of the 'type' widget will be 'template_properties_type', so you can > add JS to the page to listen for the selection event and display/create a > text box whenever 'custom' is selected. If you want the content of the text >

[web2py] Re: Python 3 and the future of web2py

2011-07-15 Thread Luther Goh Lu Feng
I'm all for having not spending effort to move to Python 3 due to resource constraints etc. However, I am curious as to whether having a minimum viable python 3 port will help bring more eyeballs/users to web2py, since hardly any python web frameworks have moved to Python 3. The main development

Re: [web2py] Re: Problem with CRUD using fancybox dialog

2011-07-15 Thread Jim Steil
Thanks Anthony I'm out for the next 10 days but will get on this straight away when I get back. Thanks again for all the help. -Jim On 7/15/2011 5:09 PM, Anthony wrote: On Friday, July 15, 2011 5:42:43 PM UTC-4, Jim S wrote: Ok, two last things stumping me now. 1. How do I r

[web2py] Re: Python 3 and the future of web2py

2011-07-15 Thread Massimo Di Pierro
+1 On Jul 13, 11:26 am, Bruno Rocha wrote: > May be, the new project could be a kind of merge with Bottle > (http://bottlepy.org/docs/dev/, Web2py libs fits perfectly with Bottle, and > bottle has a very nice base system. Maybe we cam have a bottle2py-project > with Python3 as goal.

[web2py] Re: Python 3 and the future of web2py

2011-07-15 Thread FirefighterBlu3
for the record, i -only- use py3. python 3.2 came out almost half a year ago and i deployed it on my pack of servers a couple months ago. everything i do is in 3.2 now. previously i used 3.1. i've ported a few projects to py3 for my own uses - tried to provide patches but many packages are dorma

[web2py] request - mmodal examples

2011-07-15 Thread niknok
I just "discovered" this modal plugin: web2py.com/plugins/default/ mmodal Sorry for being a little slow, but would someone please post an example of how I can use crud inside modals?

[web2py] Re: Message to the creator of Tenthrow regarding Paypal

2011-07-15 Thread howesc
Andrew, what's the specific problem you are having (you can email just me if you prefer) i guess i need to learn how to create web2py plugin files, haven't done that yet realistically it will be aug before i get to trying to make a further generalization of the code posted on the slice du

Re: [web2py] Re: Getting a reproducible web2py internal error

2011-07-15 Thread Gary Herron
Yes, I am using sqlite. And I'm using web2py straight out of the box (so to speak) -- just a straight download and unzip. And the problem is more pervasive then originally mentioned:Any attempt to insert a record into any table that has a reference Field results in the error.I've che

[web2py] "pythoncom isn't in frozen sys.path".

2011-07-15 Thread António Ramos
Can someone explain why i have this error a lot? I google it and seems that del sys.frozen resolves the problem but the next time i run web2py i have the same error thank you António

Re: [web2py] Re: Problem with CRUD using fancybox dialog

2011-07-15 Thread Anthony
On Friday, July 15, 2011 5:42:43 PM UTC-4, Jim S wrote: > > Ok, two last things stumping me now. > > 1. How do I reload my component using javascript > First, when you initially call LOAD() to create the component, explicitly specify the 'target' argument, which will become the id of the div t

[web2py] Re: Getting a reproducible web2py internal error

2011-07-15 Thread Massimo Di Pierro
OperationalErrors originate from database, not web2py. Are you using sqlite? It could be a file permission issue. On Jul 15, 12:23 pm, Gary Herron wrote: > Has anyone seen this error, or know what it means?  Any advice, > workaround or solution would be greatly appreciated. > > On a machine (some

Re: [web2py] Re: Problem with CRUD using fancybox dialog

2011-07-15 Thread Jim Steil
Ok, two last things stumping me now. 1. How do I reload my component using javascript 2. I have a CRUD form open in my iframe. When I click submit it want it to submit and if it updates, close the iframe. If not, redisplay with errors showing (it does this part already, just don't want to lo

[web2py] missing STYLE in sqlhtml.py

2011-07-15 Thread Carlos
Hi, Just to let you know that STYLE is missing in sqlhtml.py, which is required when using renderstyle for SQLTABLE. from html import STYLE Thanks, Carlos

Re: [web2py] Pagination

2011-07-15 Thread Anthony
Very cool. Thanks for the breakdown. Anthony On Friday, July 15, 2011 4:31:57 PM UTC-4, rochacbruno wrote: > On Fri, Jul 15, 2011 at 5:16 PM, Anthony wrote: > >> Is PowerGrid intended to have a different purpose from PowerTable, or is >> it just an alternative grid plugin? What are the diff

Re: [web2py] Pagination

2011-07-15 Thread Bruno Rocha
On Fri, Jul 15, 2011 at 5:16 PM, Anthony wrote: > Is PowerGrid intended to have a different purpose from PowerTable, or is it > just an alternative grid plugin? What are the differences? > PowerGrid is not only a grid plugin, besides the name it is a Paginator. One can use it to paginate anythin

Re: [web2py] Pagination

2011-07-15 Thread Anthony
Is PowerGrid intended to have a different purpose from PowerTable, or is it just an alternative grid plugin? What are the differences? Anthony On Friday, July 15, 2011 3:52:39 PM UTC-4, rochacbruno wrote: > PowerGrid does that http://labs.blouweb.com/PowerGrid > > I hope to release for downlo

Re: [web2py] Problem using load with powertables

2011-07-15 Thread Roberto Perdomo
OK, thanks. I need to place many tables inside different tabs of jquery ui, exist other way to do that without load? 2011/7/15 Bruno Rocha > The problem is that the JavaScript necessary to load data to table is not > being loaded in the component, I will try to reproduce it here to test. > > I

Re: [web2py] Pagination

2011-07-15 Thread Bruno Rocha
PowerGrid does that http://labs.blouweb.com/PowerGrid I hope to release for download within a week or two... sorry, I have too much JavaScript to clear before make the plugin public. or, if you want to test it at your own risk.. I can send to you by email. On Fri, Jul 15, 2011 at 3:17 PM, contat

Re: [web2py] Problem using load with powertables

2011-07-15 Thread Bruno Rocha
The problem is that the JavaScript necessary to load data to table is not being loaded in the component, I will try to reproduce it here to test. I never tested PowerTable plugin within a component or ajax modals, I need to test to see what to do with Java Script needed to load. Can you open an i

Re: [web2py] Re: Problem with CRUD using fancybox dialog

2011-07-15 Thread Anthony
Glad you got it working. An iframe sounds like the simplest solution. On Friday, July 15, 2011 3:37:25 PM UTC-4, Jim S wrote: > Hey, I think i got it working. Using fancybox I can specify to open in an > iframe. When I do so, things react as you'd expect. I still have some work > to do with

Re: [web2py] Re: Problem with CRUD using fancybox dialog

2011-07-15 Thread Jim Steil
Hey, I think i got it working. Using fancybox I can specify to open in an iframe. When I do so, things react as you'd expect. I still have some work to do with formatting and flow, but I now have the updates working. Thanks again for helping out, without the help I don't think I could have

[web2py] Re: Good jQuery UI Library

2011-07-15 Thread Ross Peoples
If you were to remove jQuery and replace with QooXDoo, you would have to rewrite the AJAX, LOAD, and JS validation code. Basically, everything in web2py_ajax.js

Re: [web2py] SOLVED - list:string - IS_IN_SET

2011-07-15 Thread Anthony
Looks like it has something to do with the use of an uppercase letter in itemType (the keyerror indicates it is looking for 'itemtype' -- no uppercase). Maybe related to https://groups.google.com/d/topic/web2py/tziBAOJFzJE/discussion. Anthony On Friday, July 15, 2011 3:23:21 PM UTC-4, Jim S w

Re: [web2py] SOLVED - list:string - IS_IN_SET

2011-07-15 Thread Jim Steil
I just went and recreated my db from scratch and then sync'd my old records over. No big deal this time... On 7/15/2011 2:15 PM, Jim Steil wrote: Did that already and couldn't find anything. On 7/15/2011 2:16 PM, Anthony wrote: Not sure about that -- check out http://web2py.com/book/defaul

Re: [web2py] SOLVED - list:string - IS_IN_SET

2011-07-15 Thread Jim Steil
Did that already and couldn't find anything. On 7/15/2011 2:16 PM, Anthony wrote: Not sure about that -- check out http://web2py.com/book/default/chapter/06#Fixing-Broken-Migrations. On Friday, July 15, 2011 3:09:37 PM UTC-4, Jim S wrote: Ok, I updated my table def here to be Field(

Re: [web2py] SOLVED - list:string - IS_IN_SET

2011-07-15 Thread Anthony
Not sure about that -- check out http://web2py.com/book/default/chapter/06#Fixing-Broken-Migrations. On Friday, July 15, 2011 3:09:37 PM UTC-4, Jim S wrote: > Ok, I updated my table def here to be > > Field('itemType', length=50, required=True, label='Item Type'), > > , ran with migrate=False,

Re: [web2py] SOLVED - list:string - IS_IN_SET

2011-07-15 Thread Jim Steil
Ok, I updated my table def here to be Field('itemType', length=50, required=True, label='Item Type'), , ran with migrate=False, fake_migrate=True and everything works. When I remove migrate=False, fake_migrate=True, then I get the following traceback: Traceback(most recent call last): Fil

[web2py] Re: Pagination

2011-07-15 Thread Anthony
Have you seen this section in the book: http://web2py.com/book/default/chapter/12#Pagination? The PowerTable plugin uses DataTables, which allows server-side processing, including pagination. jqGrid also allows server-side pagination. Anthony On Friday, July 15, 2011 1:32:53 PM UTC-4, Gilson

Re: [web2py] Re: Problem with CRUD using fancybox dialog

2011-07-15 Thread Anthony
On Friday, July 15, 2011 1:15:55 PM UTC-4, Jim S wrote: > > Watching firebug I don't see anything happen. No validation runs because > even if I have an error on my form, it goes away. When I setup my form > using CRUD, I set the 'next' parameter to the same Edit Price Backer form > that is d

[web2py] Re: Good jQuery UI Library

2011-07-15 Thread Mengu
why qooxdoo would not integrate into web2py? it would fit awesome without any problems. :) On Jul 15, 2:57 pm, Ross Peoples wrote: > I have evaluated several UI libraries. ExtJS is the nicest, but you can only > use it for open source projects, otherwise you have to buy it. QooXDoo looks > cool,

[web2py] Re: Get date from datetime with DAL

2011-07-15 Thread DenesL
Hi Angelo, On Jul 15, 12:12 pm, Angelo Compagnucci wrote: > Hi Denes, > > thank you for your time! > > row.data.date() could be the solution to the problem, but it forces me > to traverse the table returned by the query and build another table > with dates instead of datetimes... Not the best sol

[web2py] Re: Good jQuery UI Library

2011-07-15 Thread stargate
Thank everybody for the help. I have been also looking into this http://angularjs.org/ Not a UI library but a JavaScript MVC On Jul 15, 7:57 am, Ross Peoples wrote: > I have evaluated several UI libraries. ExtJS is the nicest, but you can only > use it for open source projects, otherwise you ha

Re: [web2py] Pagination

2011-07-15 Thread contatogilson...@gmail.com
They are not good when you have thousands of records to be consulted. Do I need anyplugin that calls the paging of data via the database. _ *Gilson Filho* *Web Developer http://gilsondev.com*

Re: [web2py] SOLVED - list:string - IS_IN_SET

2011-07-15 Thread Anthony
And if you did need list:string, then I think you'd want to set multiple=True in the IS_IN_SET validator. On Friday, July 15, 2011 2:05:21 PM UTC-4, Jim S wrote: > Found this one myself. Don't use 'list:string'. This is just a regular > string field. > > On 7/15/2011 12:55 PM, Jim Steil wrot

Re: [web2py] SOLVED - list:string - IS_IN_SET

2011-07-15 Thread Jim Steil
Found this one myself. Don't use 'list:string'. This is just a regular string field. On 7/15/2011 12:55 PM, Jim Steil wrote: Hi Having another problem today with the following: table defined as: priceBackerItem = db.define_table('priceBackerItem', Field('priceBackerItemId', 'id

[web2py] list:string - IS_IN_SET

2011-07-15 Thread Jim Steil
Hi Having another problem today with the following: table defined as: priceBackerItem = db.define_table('priceBackerItem', Field('priceBackerItemId', 'id'), Field('priceBackerId', db.priceBacker, required=True, label='Price Backer'), Field('itemType', 'list:

Re: [web2py] Re: multiselect with part of a table

2011-07-15 Thread Nicolas Palumbo
works perfect. Thanks!

Re: [web2py] Pagination

2011-07-15 Thread Gary Herron
On 07/15/2011 10:32 AM, contatogilson...@gmail.com wrote: Hello guys, I was wondering if anyone knows any plugin for web2py which makes data paging. _ *Gilson Filho* *Web Developer http://gilsondev.com* Both webgrid (a web2py plugin) and jqgrid (j

[web2py] Pagination

2011-07-15 Thread contatogilson...@gmail.com
Hello guys, I was wondering if anyone knows any plugin for web2py which makes data paging. _ *Gilson Filho* *Web Developer http://gilsondev.com*

[web2py] Problem using load with powertables

2011-07-15 Thread Roberto Perdomo
Hi, i am using powertables an i like load a table using {{=LOAD(c='default',f='finction',args='',extension='html',ajax=False,ajax_trap=False)}}, but the table not show details when click the green plus button. The error is: Cannot read property '_aData' of undefined. I load the table inside a tab

[web2py] Getting a reproducible web2py internal error

2011-07-15 Thread Gary Herron
Has anyone seen this error, or know what it means? Any advice, workaround or solution would be greatly appreciated. On a machine (somewhere in the cloud), I'm trying to get a small web2py site working and I'm running into a persistent reproducible bug that's killing me. The error I get is:

Re: [web2py] Re: multiselect with part of a table

2011-07-15 Thread Anthony
On Friday, July 15, 2011 12:27:19 PM UTC-4, Anthony wrote: > > The table format string/function should be stored in its ._format > attribute, so you might also be able to do: > > db.audienceInstances.instances.requires=IS_IN_DB(db(db.instance.type==auth.user.product), > > 'instance.id',db.ins

Re: [web2py] Re: multiselect with part of a table

2011-07-15 Thread Anthony
The table format string/function should be stored in its ._format attribute, so you might also be able to do: db.audienceInstances.instances.requires=IS_IN_DB(db(db.instance.type==auth.user.product), 'instance.id',db.instance._format,multiple=True) Maybe that should actually be the default

Re: [web2py] Re: Get date from datetime with DAL

2011-07-15 Thread Angelo Compagnucci
Hi Denes, thank you for your time! row.data.date() could be the solution to the problem, but it forces me to traverse the table returned by the query and build another table with dates instead of datetimes... Not the best solution in speed and elegance! I think that a query like the one I made i

Re: [web2py] Re: multiselect with part of a table

2011-07-15 Thread Nicolas Palumbo
I fixed it like this: db.audienceInstances.instances.requires=IS_IN_DB(db(db.instance.type==auth.user.product),'instance.id',lambda r: '%s %s' % (db.application[r.app].name,db.server[r.server].hostname),multiple=True) On Fri, Jul 15, 2011 at 2:52 PM, Nicolas Palumbo wrote: > Although this i

[web2py] Re: can we use javascript in sqlform How?

2011-07-15 Thread Anthony
The id of the 'type' widget will be 'template_properties_type', so you can add JS to the page to listen for the selection event and display/create a text box whenever 'custom' is selected. If you want the content of the text box saved in the table, you should add a field for it, and initially se

[web2py] can we use javascript in sqlform How?

2011-07-15 Thread sagar
I am using sql form db.py data=db.define_table('template_properties', Field('temp_uid', 'string',default=uuid.uuid1(), writable=False, readable=False), Field('template_name', default=''), Field('deadline','datetime'), F

Re: [web2py] Re: XSRF attacks

2011-07-15 Thread Anthony
Note, an alternative to completely hand coding forms is to hand code everything but the opening, closing, and widgets, and use form.custom as described here: http://web2py.com/book/default/chapter/07#Custom-forms. In that case, form.custom.end will include the two hidden fields (as well as the

Re: [web2py] Re: XSRF attacks

2011-07-15 Thread Carl Roach
that is *so* cool. thanks Anthony. I've modify my controller code to create a form and call accepts(): form = FORM(TEXTAREA(_name='message'), INPUT(_name='email')) if form.accepts(request.vars, session): etc and return the form so it's passed to my view My view is still hand-coded HTML but now I'

Re: [web2py] Re: New Plugin: plugin_ckeditor

2011-07-15 Thread Tito Garrido
Thanks! I was able to install it! I'm not sure why but flash player doesn't work for me... I've uploaded planets.flv (available on Massimo plugin page) and it didn't work... anybody able to put flash videos to work using ckeditor? Regards, tito On Fri, Jul 15, 2011 at 8:41 AM, Ross Peoples wrot

Re: [web2py] Re: Problem with CRUD using fancybox dialog

2011-07-15 Thread Anthony
It might help if you can show the code that generates the list component and then populates the fancybox with the edit form. On Friday, July 15, 2011 10:58:42 AM UTC-4, Jim S wrote: > Anthony > > Thanks for the reply. Unfortunately I am not understanding your > references. I am already using

Re: [web2py] Re: XSRF attacks

2011-07-15 Thread Anthony
On Friday, July 15, 2011 10:53:55 AM UTC-4, Carl wrote: > > that's excellent news (and thanks for those links). > > if I'm defining the HTML of a form in a file in my views/ directory > how do I leverage this gatekeeper? > If you're building forms manually in HTML, you'll still have to call form

Re: [web2py] Re: XSRF attacks

2011-07-15 Thread Ross Peoples
Anytime that you use {{=var}} in a view, the "var" or whatever it is you are injecting into the HTML is automatically escaped to prevent injection attacks. If you wanted to pass in some pre-formatted HTML, you would have to specifically wrap it in an XML() object for it to display properly, byp

[web2py] Re: XSRF attacks

2011-07-15 Thread Massimo Di Pierro
To clarify... crud.create and crud.update have XSRF protection. SQLFORM with accepts(request,session) has it too. SQLFORM with accepts(request) and no session passed has no XSRF. This is intentional to allow passing forms, for example, from other apps. On Jul 15, 9:53 am, Carl Roach wrote: > t

Re: [web2py] Re: XSRF attacks

2011-07-15 Thread Carl Roach
and relately... I'm using Web2py JSON api. is my site protected "out of the box" or do I need to pass parameters in a particular manner? On 15 July 2011 15:53, Carl Roach wrote: > that's excellent news (and thanks for those links). > > if I'm defining the HTML of a form in a file in my views/ di

Re: [web2py] Re: XSRF attacks

2011-07-15 Thread Carl Roach
that's excellent news (and thanks for those links). if I'm defining the HTML of a form in a file in my views/ directory how do I leverage this gatekeeper? On 15 July 2011 15:49, Anthony wrote: > web2py already uses the second method mentioned, as long as you call > form.accepts(request, sessio

Re: [web2py] XSRF attacks

2011-07-15 Thread David J
Web2py supports it out of the nox On Jul 15, 2011 10:39 AM, "Carl" wrote: > Any views/insight for adding (or not adding) one of this approaches to > web2py for its FORMS ? > http://www.codinghorror.com/blog/2008/10/preventing-csrf-and-xsrf-attacks.html

Re: [web2py] Re: multiselect with part of a table

2011-07-15 Thread Nicolas Palumbo
Although this is working: db.audienceInstances.instances.requires=IS_IN_DB(db(db.instance.type==auth.user.product),'instance.id',multiple=True) Is only showing ids , disregarding of the format defined here: db.define_table('instance',Field('app',db.application),Field('server',db.server),Fiel

[web2py] Re: XSRF attacks

2011-07-15 Thread Anthony
See http://web2py.com/book/default/chapter/01?search=CSRF and http://web2py.com/book/default/chapter/07#Hidden-fields. On Friday, July 15, 2011 10:49:08 AM UTC-4, Anthony wrote: > web2py already uses the second method mentioned, as long as you call > form.accepts(request, > session) in your fo

[web2py] Re: XSRF attacks

2011-07-15 Thread Anthony
web2py already uses the second method mentioned, as long as you call form.accepts(request, session) in your form action (you have to pass session to form.accepts because it stores the formkey in the session). Note, this also protects against double form submission (the formkey is only good for

[web2py] Re: Problem with CRUD using fancybox dialog

2011-07-15 Thread Anthony
Is the form being displayed in the fancybox via Ajax? If so, you might try including a component (http://web2py.com/book/default/chapter/13#Components), or look into Ajax form submission ( http://web2py.com/book/default/chapter/10#Ajax-Form-Submission). Anthony On Friday, July 15, 2011 9:56:52

[web2py] XSRF attacks

2011-07-15 Thread Carl
Any views/insight for adding (or not adding) one of this approaches to web2py for its FORMS ? http://www.codinghorror.com/blog/2008/10/preventing-csrf-and-xsrf-attacks.html

Re: [web2py] Problem with CRUD using fancybox dialog

2011-07-15 Thread Kenneth Lundström
Hello Jim, this is exactly the same thing that I have tried to achieve without much luck. Would it be possible to get a copy of how you have done it. I have no ideas to give you why it is not working, atleast not at the moment. Kenneth Hi I have a component on my page that lists a few r

[web2py] Problem with CRUD using fancybox dialog

2011-07-15 Thread Jim Steil
Hi I have a component on my page that lists a few records. Clicking on a link in the list will take me to a new page where I can edit the record using standard crud. I want this edit page to appear in a modal dialog so I'm using the fancybox tool (http://fancybox.net) to display the link.

[web2py] Re: Can't get linkto working in SQLFORM

2011-07-15 Thread Anthony
Please submit an issue on Google Code: http://code.google.com/p/web2py/issues/list On Friday, July 15, 2011 1:33:22 AM UTC-4, tcab wrote: > I get this too - a spurious "list_records." prepended to the query. > Latest web2py 1.97.1 > > -Andy > > On Jul 12, 10:08 pm, jc wrote: > > Hi, > > Tr

[web2py] Re: how to get user name before login is completed

2011-07-15 Thread Anthony
On Friday, July 15, 2011 4:25:47 AM UTC-4, puercoespin wrote: > > In a view: > > {{if auth.user_id:}} > {{=H4(T('Welcome ') + db.auth_user[auth.user_id].first_name)}} > {{pass} I think he just wants the message to flash once upon login, not any time a logged in user visits the page. Aut

[web2py] Using T with IS_IN_DB

2011-07-15 Thread Kenneth Lundström
I have a requires with IS_IN_DB like this: IS_IN_DB(db(db.t_status.id > 0), 't_status.id', '%(f_status)s / %(f_name)s') I´d like to translate the f_name with T(). Is it possible? Kenneth

[web2py] Re: timeout: timed out

2011-07-15 Thread Manuele Pesenti
On 15/07/2011 11:23, Manuele Pesenti wrote: how could come? Could it be due to the package?... before uploading the new package I downloaded from the portal the old working version and this package can be loaded even after uninstallation... not the new one... any idea?? many thanks

Re: [web2py] Help : SQLFORM.factory with multiple submit button ?

2011-07-15 Thread Patrick Installe
Solved :-) I respond to myself :-) I was looking in the wrong direction :-( Thank for the previous reponses, but in my case they doesn't fit since I construct a graph instead of a list. The solution template that works for me : In the controler : def widget_submit_button(field,value): # w

[web2py] Re: ajax not updating the client; got me stumped

2011-07-15 Thread Cliff
More clues: Firebug reports this came back from the host as a response. Are the line breaks and white space a problem? Otherwise it looks clean to me. jQuery('#training_plan_status').html('Not qualifiedCourse nameReasonActionAvailable training different nameNo training record found. Rem

[web2py] Re: Recurly with web2py

2011-07-15 Thread Carl
Recurly have two APIs: 1) a full on integration API requiring you to be PCI Compliant (level C) and the API I referred to my first post and 2) what they call Transparent Post api which submits a form to them for processing but the returns to you via a redirect when you can query their server for su

Re: [web2py] Good jQuery UI Library

2011-07-15 Thread Ross Peoples
I have evaluated several UI libraries. ExtJS is the nicest, but you can only use it for open source projects, otherwise you have to buy it. QooXDoo looks cool, but wouldn't integrate into web2py very well if you wanted to completely replace jQuery. Then you have YUI (Yahoo User Interface), which

Re: [web2py] Re: New Plugin: plugin_ckeditor

2011-07-15 Thread Ross Peoples
>From BitBucket, download the model, the controller, the view, and the static plugin_ckeditor folder to your project.

[web2py] ajax not updating the client; got me stumped

2011-07-15 Thread Cliff
This ajax call is doing the server side stuff but failing to update the client. I am about at wit's end with this. This is the client side call to ajax: ajax('{{=URL('add_training')}}', ['user_training_id', 'user_training_source'], ':eval') This is the server si

Re: [web2py] Good jQuery UI Library

2011-07-15 Thread Phyo Arkar
I am using JQUI most of the time , it is less bloated than any of other UI Libs exist out there. For full UI i am looking into QooXDoo but it is not jquery , it is more like Java. On 7/14/11, stargate wrote: > I loved using the following library > > http://flowplayer.org/tools/index.html > > bec

[web2py] timeout: timed out

2011-07-15 Thread Manuele Pesenti
how could come? Traceback (most recent call last): File "/data/www/meteoproject_all/WEB2PY-1.97.1/gluon/main.py", line 442, in wsgibase parse_get_post_vars(request, environ) File "/data/www/meteoproject_all/WEB2PY-1.97.1/gluon/main.py", line 276, in parse_get_post_vars request.bod

Re: [web2py] Re: Recurly with web2py

2011-07-15 Thread cjrh
If you find errors as you go through your book, check to see whether they are still here: http://www.web2py.com/book If so, post them in this group.

Re: [web2py] Re: Recurly with web2py

2011-07-15 Thread Carl Roach
I'll be needing that erratum :) In the meantime happy to support Massimo with the purchase On 15 Jul 2011, at 09:28, cjrh wrote: > On Thursday, July 14, 2011 6:00:29 PM UTC+2, Carl wrote: > separately... had my head down when the 3rd edition of the Web2py book > came out... have just ordere

[web2py] Re: hack doc: web2py's handling of incoming URLs

2011-07-15 Thread cjrh
Would you like me to document it somewhere actual? :)

Re: [web2py] Re: web2py with jquery mobile?

2011-07-15 Thread António Ramos
([Error 32] The process cannot access the file because it is being used by another process: 'D:/web2py10/web2py/deposit/web2py.plugin.jqmobile.w2p') Em 15 de julho de 2011 09:28, António Ramos escreveu: > "download and install the plugin in a web2py app" gives me error!!! > > > 2011/7/14 Anthony

Re: [web2py] Re: web2py with jquery mobile?

2011-07-15 Thread António Ramos
"download and install the plugin in a web2py app" gives me error!!! 2011/7/14 Anthony > http://web2py.com/plugins/plugin_jqmobile/about > >

[web2py] Re: Recurly with web2py

2011-07-15 Thread cjrh
On Thursday, July 14, 2011 6:00:29 PM UTC+2, Carl wrote: > > separately... had my head down when the 3rd edition of the Web2py book > came out... have just ordered it. Same happened to me, but I got out my frustration by asking Massimo whether I could be allowed to fix errors in the online vers

[web2py] Re: how to get user name before login is completed

2011-07-15 Thread puercoespin
In a view: {{if auth.user_id:}} {{=H4(T('Welcome ') + db.auth_user[auth.user_id].first_name)}} {{pass} On 14 jul, 14:42, Anthony wrote: > On Thursday, July 14, 2011 1:03:24 AM UTC-4, weheh wrote: > > > How would one get auth.messages.logged_in to be something like > > "Welcome Massimo"upon