Re: [web2py] Re: uWSGI Permission denied

2020-11-04 Thread Roberto Perdomo
Try adding this to "[Service]": User=root Group=www-data I think is not a good idea have your app running as root user, you can change the user, first move your .ini (don't forget change this path in your uwsgi.service file) to your app path and do a recursive chown to define user and group, som

Re: [web2py] Re: web2py with js framework

2020-02-19 Thread Roberto Perdomo
I made an app some time ago with Web2py/Vue is not being maintained anymore, but maybe can help you. https://github.com/robertop23/web2py_vuejs_vuetify On Wed, Feb 19, 2020 at 4:18 PM Geordanis Baño Vega wrote: > > API with web2py and SPA|PWA with Vue, could be an option. Regards > > El mié., 19

Re: [web2py] Re: dna analysis web2py github project error ?

2019-07-01 Thread Roberto Perdomo
Try with Python 2.7 On Mon, 1 Jul 2019 at 16:11, imran tube wrote: > > yes .my windows python 3.7.3 now ! what can i do for removing error ? suggest > me where i should change for update python code .? > > thanks for replay > > On Mon, Jul 1, 2019 at 8:29 PM 黄祥 wrote: >> >> which python version

Re: [web2py] Issues using pydal

2018-11-05 Thread Roberto Perdomo
You forgot import Field: from dal import DAL, Field El lun., 5 de nov. de 2018 5:25 p. m., Ben Duncan escribió: > I put together this simple test case to get familiar with DAL (using Pydal) > > Connection stuff works, but I get this message > [postgres@su-postgres-ben-3 mec_layouts]$ ./pydalget

Re: [web2py] Re: web2py_osx on Sierra (OSX 10.12)

2016-10-25 Thread Roberto Perdomo
I'm using Web2py 2.14.6 in sierra and cannot reproduce your errors. Can you show the errors or warnings? El 25 oct. 2016 10:36 AM, "Scott Hunter" escribió: > Am I to interpret from the deafening silence that I am the only one seeing > this problem? Even if that is the case, any ideas how I can

Re: [web2py] Re: how to show multiple controller's views on the same page?

2016-02-21 Thread Roberto Perdomo
Why not return two vars in one controller? Instead of two controllers with one return, you can return two vars in one controller: return (project1 = project1, project2 = project2) 2016-02-21 17:39 GMT-04:30 Ron Chatterjee : > Any other way to do this without using LOAD? > > I have two controller

Re: [web2py] Re: Handling JSON stream

2016-02-21 Thread Roberto Perdomo
Hello kenneth, That JSON is not well formed. Try adjusting with this: js = {"product_package":"basic_m","products":"31349","billing_name":"Kenneth","billing_surname":"Lundstr\u00f6m","e_mail":"kenneth.lundst...@tester.com","billing_organization":"Testing","billing_job_description":"Tester","billi

Re: [web2py] Re: Wrong installed apps list in admin

2015-03-18 Thread Roberto Perdomo
Thanks and dont worry. 2015-03-18 10:55 GMT-04:30 Massimo Di Pierro : > oops. It is broken on my side. Will fix it asap. Sorry. > > > On Tuesday, 17 March 2015 23:15:39 UTC-5, Roberto Perdomo wrote: >> >> On a fresh download using web2py_osx.zip after uncompress:

Re: [web2py] Re: Wrong installed apps list in admin

2015-03-17 Thread Roberto Perdomo
015 at 10:35:55 AM UTC-4, Massimo Di Pierro wrote: >>> >>> ca you get a directory listing under web2py/applications? I think you >>> have accidentally copied something there. I do not see those folders in >>> web2py. >>> >>> On Monday, 16 March 20

Re: [web2py] Re: not web2py question - test timezone detection

2015-02-25 Thread Roberto Perdomo
America/Caracas El feb. 25, 2015 4:55 PM, "Dave S" escribió: > > > On Wednesday, February 25, 2015 at 7:45:03 AM UTC-8, Niphlod wrote: >> >> if a module is required, it is imported. >> > > What names can be be imported? Must a 3rd-party module be renamed to fit > the plug-in scheme? My understa

Re: [web2py] after_update

2014-11-24 Thread Roberto Perdomo
I dont ser the displayName field in you SuperObject table. Try change this: ThisSuperObject.update_record(displayName=displayName) For this: ThisSuperObject.update_record(ObjectDisplayName=displayName) El nov. 24, 2014 3:17 AM, "Alex Glaros" escribió: > anyone see what the error is with this a

Re: [web2py] Re: Bad url decode %2B

2014-08-20 Thread Roberto Perdomo
Thanks Massimo El ago. 20, 2014 1:41 PM, "Massimo Di Pierro" escribió: > yes. web2py does not like spaces in the URL. If you want you can get the > request.raw_args before they are parsed. > > On Tuesday, 19 August 2014 22:30:37 UTC-5, Roberto Perdomo wrote: >> >

[web2py] Bad url decode %2B

2014-08-19 Thread Roberto Perdomo
Hi everybody, I have a URL with a encoded string as first argument, when this string have a "+", web2py generate the URL with a "%2B", and when web2py go to read this argument, the "+" is converted to a underscore, the question is why?, this is ok? I can solve this using a form with the encoded s

Re: [web2py] Need to have "def 4()" and "def dir()" to 301 redirect. Is it possible?

2014-06-24 Thread Roberto Perdomo
Hello Kenneth, A way is see the 4 and dir as string argument from the url and read this from the index function, then check that string argument, and apply a conditional. This was not tested, but I think that works for you needs: def index(): argument = request.args[0] if argument == '4'

Re: [web2py] Re: appointment application doesn't work out of box

2014-05-10 Thread Roberto Perdomo
m with a grid: http://web2py.com/books/default/chapter/29/07/forms-and-validators#SQLFORM-grid-and-SQLFORM-smartgrid 2014-05-10 21:13 GMT-04:30 Roberto Perdomo : > Hello, > > Try changing the line 8 in default/appointment_read.html: > > {{for t,f in db.t_appointment._referenced_by:}}{{if

Re: [web2py] Re: appointment application doesn't work out of box

2014-05-10 Thread Roberto Perdomo
Hello, Try changing the line 8 in default/appointment_read.html: {{for t,f in db.t_appointment._referenced_by:}}{{if not t[-8:]=='_archive':}}[{{=A(t[2:],_href=URL('%s_select'%t[2:],args=(f, form.record.id)))}}]{{pass}}{{pass}} to this: {{for f in db.t_appointment._referenced_by:}}{{t=f.tablena

Re: [web2py] Get data associated with known id from DAL object

2014-04-19 Thread Roberto Perdomo
Simply: phones[1].prof_phone.phone and phones[1].provider.edomain if we supouse that the id 3 is the second result in the row (1 is the index of the phones rows). If you don't know the position in the result, but know the id of the row: for phone in phones: if phone.prof_phone.id == 2: print 'Pho

Re: [web2py] Re: T when sending email

2014-04-16 Thread Roberto Perdomo
Try something like this if you are using simple text email: line1 = T('This is line one') line2 = T('This is line two') message = '%s\n%s' % (line1, line2) mail.send(to='y...@example.com', subject='hello', # If reply_to is omitted, then mail.settings.sender is used r

Re: [web2py] Re: HELP with bootstrap 3

2014-02-23 Thread Roberto Perdomo
Login menu works good, but web2py menu with submenu appears still disordered. 2014-02-24 1:17 GMT-04:30 Roberto Perdomo : > 2014-02-23 23:59 GMT-04:30 Massimo Di Pierro : > > What do we need: >> 1) testing of the latest welcome >> 2) the Login menu does not work show the

Re: [web2py] Re: HELP with bootstrap 3

2014-02-23 Thread Roberto Perdomo
2014-02-23 23:59 GMT-04:30 Massimo Di Pierro : > What do we need: > 1) testing of the latest welcome > 2) the Login menu does not work show the dropdown on mouseover. I do not > know why. > Just put this in bootstrap.min.css: .dropdown:hover .dropdown-menu { display: block; } Missing files:

Re: [web2py] New record creates on Select?

2014-01-25 Thread Roberto Perdomo
With "SQLFORM(db.mascotas," you generate a form with Database (insert/update/delete), try using SQLFORM.factory or SQLFORM without database IO ( http://www.web2py.com/book/default/chapter/07#SQLFORM-without-database-IO) 2014/1/25 Luciano Laporta Podazza > Hello, > > I created a form(SQLFORM) to

Re: [web2py] How to include symbols as ✎ or ✆ in a the helper A()?

2013-12-17 Thread Roberto Perdomo
Try with something like: {{=A(XML('✖'), _href=URL('default', 'delete', args=[row.id]))}} 2013/12/17 Omar Meat Boy Gutiérrez > > I have a table of items with a special column to delete each item. I'd > like include a symbol like: ✖ or ✕ or ✗, in this way: > > X Y Z Delete > ---

Re: [web2py] Re: Proposal for big but simple improvement: [add view] in IDE view

2013-12-09 Thread Roberto Perdomo
https://github.com/web2py/web2py/pull/322/ 2013/12/9 Roberto Perdomo > Sometime ago I do an "Create" button in the "files toggle" menu, to allow > create files from the editor page, when a new file is created the "files > toggle" menu is updated using j

Re: [web2py] Re: Proposal for big but simple improvement: [add view] in IDE view

2013-12-09 Thread Roberto Perdomo
Sometime ago I do an "Create" button in the "files toggle" menu, to allow create files from the editor page, when a new file is created the "files toggle" menu is updated using javascript to show the new files created. Due to something problems I forgot to send the pull request for this, I can try

Re: [web2py] Re: codemirror tabbing problem

2013-10-12 Thread Roberto Perdomo
Dont be angry, only write us, and we help to solve your suggestions. For now, codemirror have the extrakeys option "indentMore" but the "IndentLess" is missing. Thanks for reporting, I have tested and sent a pull request to add "IndentLess" 2013/10/12 LightOfMooN > fixed by adding extraKeys i

Re: [web2py] Re: Newer version worse and worse

2013-10-11 Thread Roberto Perdomo
https://github.com/web2py/web2py/pull/248 Please check and comment/send suggestions if you find errors. Tested with Chrome in Mac OS X 2013/10/11 LightOfMooN > To reproduce redirect problems please look here: > https://groups.google.com/forum/#!topic/web2py/qZFL6kLNIp0 > > суббота, 12 октября

Re: [web2py] Re: Newer version worse and worse

2013-10-11 Thread Roberto Perdomo
We can add an option button in the editor config page to enable autoclose tags El oct 11, 2013 6:40 PM, "Massimo Di Pierro" escribió: > Since we have problems reproducing two of your issues (redirect after > login and editor js) I suspect you have an incomplete installation. Did you > upgrade via

Re: [web2py] Newer version worse and worse

2013-10-11 Thread Roberto Perdomo
El oct 11, 2013 8:25 AM, "LightOfMooN" escribió: > > It's really headache for me with new 2.7.2 version of web2py. > > There are no more redirects after users login and logout. > Double click in mirror editor on empty string leads to crash browser. (fixed by removing from admin/views/default/edit

Re: [web2py] Re: contributing patches

2013-09-27 Thread Roberto Perdomo
We speak about that few days ago here: https://groups.google.com/forum/m/#!topic/web2py-developers/DvRqziEe_GE El sep 27, 2013 2:28 PM, "Michele Comitini" escribió: > Massimo, Niphlod > can we add those instructions to the book? A chapter "Contributing to > web2py" can be helpful, don't you thi

Re: [web2py] Trouble Updating to 2.6.4 from 2.5.1

2013-09-22 Thread Roberto Perdomo
What kind of failure you are presenting? 2013/9/22 > When I try to update from 2.5.1 to 2.6.4 the admin is no longer > operational. Is there any fix for this? I am not sure where the error logs > are held. > > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) >

Re: [web2py] Re: Frustration with SQLFORM and date formata

2013-09-20 Thread Roberto Perdomo
Try changing this in web2py_ajax.html: var w2p_ajax_date_format = "{{=T('%Y-%m-%d')}}"; var w2p_ajax_datetime_format = "{{=T('%Y-%m-%d %H:%M:%S')}}"; 2013/9/20 Joe Barnhart > Hi Niphlod -- > > This is what I thought as well. Yet in my controller I have set this: > > > > dbrw.birth.requires=

Re: [web2py] Re: web2py 2.6.1 is OUT - IMPORTANT READ

2013-09-12 Thread Roberto Perdomo
Great news!. Thanks to everybody for do a better web2py every day. El sep 12, 2013 8:21 PM, "Massimo Di Pierro" escribió: > Thank you. The majority of the improvements in this version come from you > (Michele) and niphlod (Simone). > > Massimo > > On Thursday, 12 September 2013 18:53:50 UTC-5, M

Re: [web2py] Smartgrid line color

2013-08-29 Thread Roberto Perdomo
Hi António, You can use a conditional represent to change the color of the date field in your outdated record. something like: 1) db.table.field.represent =lambda value, row: ""+value+"" if CONDITION else value Or you can put the outdated field inside an specific div with an id and iterate over

Re: [web2py] Begginer questions about web2py

2013-08-27 Thread Roberto Perdomo
Hi, 2013/8/27 Gallien Labeyrie > Hello, > > Coming from a PHP background, I've recently discovered Web2Py framework > and I am amazed Its embed functionalities. > However I'm wondering If someone among the community could enlighten me : > > - What's the easiest way to debbug in web2py ? (=> what

Re: [web2py] How to detect the browser time zone?

2013-08-12 Thread Roberto Perdomo
Doing some research, I found this, it might be what you need: https://github.com/niphlod/w2p_timezone_plugin 2013/8/12 Luca > I see that the validators (such as DATETIME) take a timezone object, so > that the time can be stored in utc and converted to localtime. > However, I did not see if

Re: [web2py] Bootstrap Carousel and bootstrap

2013-08-08 Thread Roberto Perdomo
dont worry, it's a pleasure for me. ;-) Kind Regards. 2013/8/8 Hugo Costa > You sir, made my day. > > Thanks a lot Roberto! :) > > Quinta-feira, 8 de Agosto de 2013 20:33:45 UTC+1, Roberto Perdomo escreveu: >> >> The {{pass}} of the if is not needed

Re: [web2py] Bootstrap Carousel and bootstrap

2013-08-08 Thread Roberto Perdomo
Bezegaio Frito >Acrilico sobre Tela, 45x40 cm >2013-08-07 17:52:27.399172 > > > > > > The code in the source in browser. > > Quinta-feira, 8 de Agosto de 2013 19:43:36 UTC+1, Roberto Perdomo escreveu: >>

Re: [web2py] Bootstrap Carousel and bootstrap

2013-08-08 Thread Roberto Perdomo
gt;{{=post.post}} >{{=post.created_on}} > > {{pass}} > {{pass}} > >href="#carousel-example-generic" data-slide="prev">‹ >href="#carousel-example-generic" data-slide

Re: [web2py] Bootstrap Carousel and bootstrap

2013-08-07 Thread Roberto Perdomo
pass}} > {{pass}} > >href="#carousel-example-generic" data-slide="prev">‹ > href="#carousel-example-generic" data-slide="next">› > > > > > I don't understand why, but I'm getting this error: >

Re: [web2py] Bootstrap Carousel and bootstrap

2013-08-07 Thread Roberto Perdomo
Hi Hugo, I dont know bootstrap carousel, but in the view you are iterating many times the main div "carousel-example-generic". In your case you need iterate only the dinamic content of the carousel, and the carousel content are divs. See this example with my comments:

Re: [web2py] Re: Scheduler period

2013-08-03 Thread Roberto Perdomo
:-D Thanks Niphold, using repeats = 2 and no stop_time is the best solution. I did not realize that I could do it that way. Thanks again. Best regards. 2013/8/3 Niphlod > ok, explanation is clearer. Although scheduler was not meant to be > executing task on a precise-timing (its a queue proce

Re: [web2py] Re: Scheduler period

2013-08-03 Thread Roberto Perdomo
understand completely what you need and what > you're tryning to achieve, however, if you set a period, your task needs to > be executed multiple times... is that the case ? > Why do you need to set such a high period (assuming it's indeed derived > from hours) ? > > > O

[web2py] Scheduler period

2013-08-02 Thread Roberto Perdomo
Hi, I have a little question: Exists a way to disable the period of a scheduler_task row? I have to do a task in a stop_time - n_hours and stop_time, I have set the period to n_hours (in seconds), but in the first run the next_run_time field is set to stop_time + few seconds and this are over t

Re: [web2py] SQLFORM.grid icons

2013-05-13 Thread Roberto Perdomo
If you like change the icons I recomend rewrite the links with the links parameter of the grid, something like: links = [lambda row: A(TAG[''](SPAN(_class="icon icon-list"),SPAN('List', _class="buttontext button", _title="list")), _class="w2p_trap button btn", _href=URL('see_list', args=[row.id]))

Re: [web2py] SQLFORM.grid icons

2013-05-13 Thread Roberto Perdomo
2013/5/12 Ovidio Marinho > How to replace icons link inside the sqlform.grid??? > > > > Ovidio Marinho Falcao Neto > Web Developer > ovidio...@gmail.com >83 8826 9088 - Oi >83 9336 3782 - Claro > Br

Re: [web2py] code generation in web2py like cake bake in cakephp

2013-05-05 Thread Roberto Perdomo
Web2py does not have a console for scaffolding like cake bake. I think a CLI like cake bake or Spring Roo would be an interesting proposal for Web2py El may 5, 2013 9:00 AM, "黄祥" escribió: > hi folks, > > is web2py support for code generation in web2py like cake bake in cakephp? > if support di

Re: [web2py] Re: Why compute does not work to get image filename?

2013-03-27 Thread Roberto Perdomo
Sorry, the function must be return a string in order to concatenate with the filename El mar 27, 2013 4:59 PM, "Roberto Perdomo" escribió: > And what about something like this: > > Field('image_filename', readable=False, writable=False, compute = lambda > row:

Re: [web2py] Re: Why compute does not work to get image filename?

2013-03-27 Thread Roberto Perdomo
This was written from my cel phone and dont test it but hope that helps ;-) El mar 27, 2013 3:25 PM, "Roberto Perdomo" escribió: > :-S > I was thinking on represent attribute from fields, not compute. > El mar 27, 2013 3:07 PM, "Niphlod" escribió: > >> boy

Re: [web2py] Re: Why compute does not work to get image filename?

2013-03-27 Thread Roberto Perdomo
:-S I was thinking on represent attribute from fields, not compute. El mar 27, 2013 3:07 PM, "Niphlod" escribió: > boys . how can the id be present if what you're trying to insert is > not yet a row in a table > > On Wednesday, March 27, 2013 8:18:38 PM U

Re: [web2py] Re: Why compute does not work to get image filename?

2013-03-27 Thread Roberto Perdomo
;slug': '', 'descricao': ''}>" > > > On Wed, Mar 27, 2013 at 2:24 PM, Roberto Perdomo wrote: > >> Try: >> >> Field('image_filename', readable=False, writable=False, compute = lambda >> row: requ

Re: [web2py] Re: Why compute does not work to get image filename?

2013-03-27 Thread Roberto Perdomo
Try: Field('image_filename', readable=False, writable=False, compute = lambda row: request.post_vars.image.filename + row.id), El mar 27, 2013 12:39 PM, "Tito Garrido" escribió: > How could I also append the id of the row in image_filename? > > Thanks! > > Tito > > > On Mon, Mar 25, 2013 at 4:58

Re: [web2py] Re: REF: Change order of fields in a form??!

2013-01-04 Thread Roberto Perdomo
try changing font-style in web2py.css from web2py/applications/admin/static/codemirror/theme. Something like: .cm-s-web2py { line-height: 1.40em; font-family: "sans-serif"; /* set your font style here */ } 2013/1/5 Teddy Nyambe > Thanks, what about the ide font in web2py how do u change i

Re: [web2py] Update codemirror to V3 on admin

2013-01-03 Thread Roberto Perdomo
x27;d be happy to incude this when the debugger issue is fixed. Can you and > Mariano work together to fix this problem? > > On Thursday, 3 January 2013 19:01:48 UTC-6, Roberto Perdomo wrote: >> >> 2013/1/3 Mariano Reingart >> >> On Thu, Jan 3, 2013 at 5:54

Re: [web2py] Update codemirror to V3 on admin

2013-01-03 Thread Roberto Perdomo
2013/1/3 Mariano Reingart > On Thu, Jan 3, 2013 at 5:54 AM, Roberto Perdomo > wrote: > > Hi, > > > > I have changed the edit.html from admin to get work codemirror 3. > > > > In some changes, I include closetag.js to autocomplete html tags and > works >

Re: [web2py] Re: Form Vars and request Vars

2012-12-31 Thread Roberto Perdomo
The problem is that Lanier_report don't have request.vars when is redirected. Try putting something like: redirect(URL('Labor_report', args=[form.vars.startDt, form.cars.endDT])) El 31/12/2012 20:21, "Paul Rykiel" escribió: > > On Monday, December 31, 2012 6:29:33 PM UTC-6, Paul Rykiel wrote: >

Re: [web2py] book 5th ed. Need help

2012-12-27 Thread Roberto Perdomo
I can help with that. Tonight beginning, and I send you some example. PS: No need to pay me for it. Regards. 2012/12/27 Massimo Di Pierro > I need help to redo all screenshots in the book using the latest web2py. > > I am looking for a few volunteers. Almost all of the screenshots are in > ch

Re: [web2py] General iframes question

2012-12-24 Thread Roberto Perdomo
I work with iframes loading form generated by web2py controllers and all works without problems, only session.flash does not show because I remove the include of layout.html but for me is not a problem. El 24/12/2012 16:58, "jarrodwilcox" escribió: > Is anyone using iframes to bring in own websit

Re: [web2py] help with finding syntax error in nested if loop in view

2012-12-24 Thread Roberto Perdomo
Why not try this: --

Re: [web2py] Merry Christmas everybody!

2012-12-24 Thread Roberto Perdomo
Thanks Massimo for your good wishes. May this and all your days are filled with health and wellness and enjoy it in the company of their loved ones. A big hug to everybody. El 24/12/2012 13:52, "Massimo Di Pierro" escribió: Merry Christmas everybody! -- --

Re: [web2py] Re: Smartgrid searching a referenced column

2012-12-05 Thread Roberto Perdomo
Sorry, the conversation is here: https://groups.google.com/forum/?fromgroups=#!searchin/web2py/reference$20web2py$20smartgrid/web2py/xN0813r58Nc/aSGonwPH580J and the patch: https://gist.github.com/ff543a5c6d3bc14b9079 2012/12/5 Massimo Di Pierro > I do not recall what this is about and the li

Re: [web2py] Re: Smartgrid searching a referenced column

2012-12-04 Thread Roberto Perdomo
The solution to this problem was resolved by Mike Leone and wait for the approval of Massimo. Conversation can be found here: https://groups.google.com/forum/?fromgroups=#!topic/web2py/xN0813r58N May soon be included in Web2py. 2012/12/4 Derek > I did a search on this error message and every

Re: [web2py] Problem with fresh install of web2py on Linux

2012-11-14 Thread Roberto Perdomo
El 14/11/2012 07:44, "gabriele dantona" escribió: > > Hello, Hi, > I've installed web2py on Linux Redhat 64bit with Python 2.7.3. > > After starting the server, the first request fails with this stack trace. Anyone can help please? > Thanks > > friol@test:~/web2py> python web2py.py --ip 192.168.

Re: [web2py] Grid inside Form

2012-10-27 Thread Roberto Perdomo
Try changing the route for the edit button with routes.py, and before create your own controller with the form edit and the grid El 27/10/2012 09:45, "Santiago Avendaño" escribió: > Hello, > > My example app has two models. > > db.define_table('person', Field('name')) > db.define_table('dog', Fie

[web2py] Grid with multiple joins

2012-10-14 Thread Roberto Perdomo
Hi, the grid support left joins from multiple tables? I try this code: fields= [db.examen_factura.id_factura, db.factura.fecha, db.examen.descripcion] left = (db.factura.on(db.factura.id==db.examen_factura.id_factura), db.examen.on(db.examen.id==db.examen_factura.id_examen)) orderby = ['factu

Re: [web2py] Re: delete row question

2012-05-25 Thread Roberto Perdomo
well as similar lists for before and after insert and > update. > > If the deletion is happening via a form submission, you could also simply > add some logic to the form processing code to run the function. > > Anthony > > On Friday, May 25, 2012 12:19:37 PM UTC-4, Roberto Perdo

[web2py] delete row question

2012-05-25 Thread Roberto Perdomo
Hi, I have a single question, There is a way to run a feature automatically when you delete a record from a particular table?

[web2py] Date search and smartgrid

2012-03-02 Thread Roberto Perdomo
Sorry, the date search is implemented in grid and smartgrid? I Haven a table only with date fields and this option not works

Re: [web2py] Cherokee deployment config

2012-01-27 Thread Roberto Perdomo
handler process: works like a charm. > > mic > > p.s. ;-) good thing you can't use apache+wsgi with cherokee+scgi my > system is able to handle 5 times more requests (with session.forget()) > ;-) > > > > 2012/1/27 Roberto Perdomo : > > Hi, > > > &g

[web2py] Re: Cherokee deployment config

2012-01-27 Thread Roberto Perdomo
I found that setting alternative doccument root to /var/web2py/applications the server work, but in the documentation that change does not appear. Solved my self, thanks 2012/1/27 Roberto Perdomo : > Hi, > > I have problems with the configuration of a server cherokee with we2py. > &g

[web2py] Cherokee deployment config

2012-01-27 Thread Roberto Perdomo
Hi, I have problems with the configuration of a server cherokee with we2py. I follow the  Cherokee with FastCGI manual from: http://www.web2py.com/books/default/chapter/29/13. 1) create the file /var/web2py/startweb2py.sh and set as executable with this content: #!/bin/sh sudo -u www-data pytho

[web2py] Smartgrid and create link

2011-11-04 Thread Roberto Perdomo
Hi, i need to put this code in new form from the add button of smartgrid: $(document).ready(function() { $('#beneficiarios_cedula_personal__row').hide(); }); I can edit the edit and delete links, but i need a custom new link. How i can do this? Thanks.

[web2py] Smartgrid litle bug

2011-10-03 Thread Roberto Perdomo
When i delete a row, the records dissapear fron the grid, but the counter still mantains the previus value

Re: [web2py] Re: Adding hidden field to a form

2011-09-29 Thread Roberto Perdomo
Do the form normally and try this with jquery: $('#totalitems').hide(); 2011/9/28 Anthony > I think the 'hidden' argument goes inside FORM() -- looks like you've got > it inside DIV(). > > Anthony > > > On Wednesday, September 28, 2011 10:14:40 PM UTC-4, Joseph Jude wrote: >> >> Hi, >> I de

Re: [web2py] Re: table, grid, smartgrid, getting better

2011-09-27 Thread Roberto Perdomo
Can change the line 1556 of sqlhtml.py from: message = error or T('%(nrows)s records found' % dict(nrows=nrows)) to: message = error or '%(nrows)s' % dict(nrows=nrows) + T(' records found') because every time a new row appear y get 1 records found, 2 records found ... n records found, and i ha

Re: [web2py] Re: table, grid, smartgrid, getting better

2011-09-23 Thread Roberto Perdomo
Thanks you 2011/9/23 Jim Steil > Ok, do this. > > linked_tables = ['memberTag'] > grid = SQLFORM.smartgrid(db.member, linked_tables=linkedTables) > > Only the related tables included in the list will be displayed. > > -Jim > > On 9/23/2011 2:59 PM, R

Re: [web2py] Re: table, grid, smartgrid, getting better

2011-09-23 Thread Roberto Perdomo
Hi, Can I Hide the aditional links created at every row related to foreign heys in SQLFORM.smartgrid? I have many tables relationed to the table that I using with smartgrid and this added button to that tables making the row very long 2011/9/23 Jim Steil > Add paginate=5 to your smartgrid cal

Re: [web2py] Re: Some powerTable questions

2011-08-31 Thread Roberto Perdomo
Bruno, please add #refreshLabel = 'Refresh' to you example of powergrid, or the best solution: why not use T('label') as example self.attributes['refreshLabel'] = T('Refresh') in powergrid.py for translate support? 2011/8/29 Bruno Rocha > something like this: > http://wijmo.com/Wijmo-Complete

Re: [web2py] Re: table, grid, smartgrid, getting better

2011-08-21 Thread Roberto Perdomo
and new link too 2011/8/21 Roberto Perdomo > Great work, thanks > > I just wanted to make a suggestion, you can place the links to to view and > edit as modal windows , and when close it, reload the table page? > > > > 2011/8/21 mart > >> Hi Massimo, >>

Re: [web2py] Re: table, grid, smartgrid, getting better

2011-08-21 Thread Roberto Perdomo
Great work, thanks I just wanted to make a suggestion, you can place the links to to view and edit as modal windows , and when close it, reload the table page? 2011/8/21 mart > Hi Massimo, > > So all is working great! I just have one question :) > > i think I am making a real mess of things wh

Re: [web2py] Re: powertable ( multiple tables on the same page )

2011-07-20 Thread Roberto Perdomo
Bruno, if you can send me PowerGrid for test it, i'd appreciate it, looks great. 2011/7/20 Roberto Perdomo > Hi, thanks for your work with powertables. > > Today i resolved the problem, editing plugin_powertable.py. > > I have replace live for bind, but not only load the d

Re: [web2py] Re: powertable ( multiple tables on the same page )

2011-07-20 Thread Roberto Perdomo
Hi, thanks for your work with powertables. Today i resolved the problem, editing plugin_powertable.py. I have replace live for bind, but not only load the details for the first 10 records. The solution was load the table with all records (iDisplayLength = -1), but recentlly discovered that live i

Re: [web2py] Re: powertable ( multiple tables on the same page )

2011-07-20 Thread Roberto Perdomo
9:40 am, Chris Baron wrote: > > Thank you for the prompt responses. > > > > On Jul 19, 4:12 pm, Roberto Perdomo wrote: > > > > > > > > > > > > > > > > > Hello, it's me again. > > > > > Well, I discovered that the

Re: [web2py] Re: powertable ( multiple tables on the same page )

2011-07-19 Thread Roberto Perdomo
Christopher Baron > wrote: > >> Does anyone know where, what to set the 'aoColumns' property to ? >> >> The documentation for this plugin is not helpful... >> >> On Jul 18, 1:25 pm, Roberto Perdomo wrote: >> > I now discover that only show the d

Re: [web2py] powertable ( multiple tables on the same page )

2011-07-18 Thread Roberto Perdomo
I now discover that only show the details only for the first 10 records. I send you to your mail my app, because is very hevy for the group mail. 2011/7/18 Bruno Rocha > include ownTable._id = "something" and ownTable._class = "something" to set > different class and id to the tables. > > > > O

Re: [web2py] Re: Load view or controllers without load

2011-07-18 Thread Roberto Perdomo
me this can be done in web2py controller: >table = plugins.PowerTable >table._id = "mytable1" > > On Jul 18, 3:31 am, Roberto Perdomo wrote: > > Hi, i have problems loading powertables with LOAD and I wonder if > > there is a way > > to get from on

[web2py] Load view or controllers without load

2011-07-17 Thread Roberto Perdomo
Hi, i have problems loading powertables with LOAD and I wonder if there is a way to get from one view to another controller without using LOAD or view as hereby POWERTABLES tables do not work properly. Mainly I like to charge two or three tables from a controller in a view. thanks in advance

Re: [web2py] Problem using load with powertables

2011-07-15 Thread Roberto Perdomo
> > 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 issue on bitbucket? > > https://bitbucket.org/rochacbruno/powertable/issues?status=new&status=open > > On

[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

Re: [web2py] Re: Powertable and virtual columns

2011-07-12 Thread Roberto Perdomo
Do with links. I add a new column with links to edit and delete records. The example: @virtualsettings(label=T('Acciones')) def editar(self): id = 1 link_editar = URL(request.application,'default', 'editar_tipo_nomina/') link_icono_editar = IMG(_src=UR

Re: [web2py] Re: Datatables, jqgrid

2011-07-11 Thread Roberto Perdomo
Thanks, was solved using: onclick="$('#id_tab').load('url_to_page');" My complete code of the tans page: {{extend 'layout.html'}} $(function() { $("#tabs").tabs(); $("#tabs1").tabs(); $("#tabs2").tabs(); }); {{=T('Nomin

[web2py] Datatables, jqgrid

2011-07-09 Thread Roberto Perdomo
Hi, i need know how is your experience in the use of javascript tables. I like to do a system and need a good table that can update and delete record from the client size. the table must be localizated in jquery ui tabs. I do tabs with powertables, but when put the table in a tab inside other