[web2py] bootstrap layout adaption

2015-06-26 Thread Manuele Pesenti
Can anyone tell me if it could be easy to adapt this[1] bootstrap layout in order to be used for a web2py application? The best would be to create a plugin I guess... but the folder structure seams not to fit to web2py standards... Any suggest will be appreciated :) Thank you very mutch Best

Re: [web2py] Re: set of rows as input to smart grid

2015-06-26 Thread Manuele Pesenti
Il 26/06/15 06:31, Davy Jacops ha scritto: More general question: since there is no SELECT() call: how can SELECT() arguments such as DISTINCT be applied here? If you need a more general query you can try to use SQLTABLE class[1] Cheers M. [1]

Re: [web2py] How to refer uploads files

2015-06-26 Thread Manuele Pesenti
Il 24/06/15 21:23, Chaitu P ha scritto: I want to compile the files that were uploaded. But the files are getting uploaded with some random name. So how can I refer them. Please give more ditails of what you are trying to do... I guess you are using a no dal form to upload your files... right?

[web2py] For those using ractive or vuejs. I need help !!

2015-06-26 Thread António Ramos
Hello , so far so good i created my second vuejs page inside web2py and this time using components. my doformind.js has some components and changes the delimiters to avoid colision with curlies. Vue.config.delimiters = ['(%', '%)']; Vue.component('pote', { props: ['name','items'], template:

[web2py] Re: fillable pdf forms

2015-06-26 Thread Mark Billion
You are correct. That said, the issue -- as it turns out -- is that the script requests access to /proc/self/stat but PA doesnt grant access to the same in the sandbox. Id rather host remotely but Im stumped at how to work around this... On Friday, June 26, 2015 at 8:02:38 AM UTC-4, Massimo

Re: [web2py] Re: What if Massimo got hit by a Bus?

2015-06-26 Thread Massimo Di Pierro
LOL. On Friday, 26 June 2015 07:10:22 UTC-5, Iuri Guilherme dos Santos Martins wrote: According to the original topic, in this case this OP would wish you hit the bike more often... iuri.neocities.org 2015-06-26 9:08 GMT-03:00 Massimo Di Pierro massimo.dipie...@gmail.com: LOL ... and

[web2py] Re: Request.vars based on dropdown

2015-06-26 Thread Dave S
On Friday, June 26, 2015 at 3:12:49 AM UTC-7, Carla Raquel wrote: I have two dropdown lists like the ones below and I would like to compose my URL using the month and year as vars, after I click a certain link.How can I change my current request.vars to the selected values? Are these

[web2py] record versioning on auth tables

2015-06-26 Thread 黄祥
hi, just wondering about record versioning on auth tables, why the table auth events and auth cas don't have archives table when i use record versioning on auth tables? thanks and best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: dynamic query on web2py

2015-06-26 Thread Dave S
On Friday, June 26, 2015 at 2:00:19 PM UTC-7, 黄祥 wrote: hi, is it possible to have dynamic query on web2py? i don't know the techincal name for this, but what i want to achieve is about the product view is display dinamically (after refresh the orderby rules is change (i think) ). e.g.

[web2py] Re: fillable pdf forms

2015-06-26 Thread info
Very true, and Ive loaded it I run the standard example and get this in response: class 'subprocess.CalledProcessError' Command '/usr/bin/pdftk https://mmb21167.pythonanywhere.com/IW_Test/static/bk_forms/sch_a.pdf fill_form /tmp/tmpwwY6xU output /tmp/tmpDT0sFG' returned non-zero exit

[web2py] dynamic query on web2py

2015-06-26 Thread 黄祥
hi, is it possible to have dynamic query on web2py? i don't know the techincal name for this, but what i want to achieve is about the product view is display dinamically (after refresh the orderby rules is change (i think) ). e.g. *when first time access it show product : * men watches A B C D

[web2py] Re: bootstrap layout adaption

2015-06-26 Thread Niphlod
folder-what ? just download the styles and refer to the correct url in your layout... On Friday, June 26, 2015 at 8:23:06 AM UTC+2, Manuele wrote: Can anyone tell me if it could be easy to adapt this[1] bootstrap layout in order to be used for a web2py application? The best would be to

[web2py] Multilingual static on GAE problem

2015-06-26 Thread Sébastien Loix
Hello to all, When I set the src of my static image with the helper {{=URL('static', 'img/logo.png', scheme=True, host=True)}} I get this path in my view: http://192.168.1.12:8080/corporate/en/static/img/logo.png The language en is not routed like it should (and said in the manual) to

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

2015-06-26 Thread Chaitu P
Hi Paolo, I have installed your application and it is working perfectly. I want have same multiimage upload functionality in my application. So I changed one of the table names. But unfortunately it is not working. Iam not sure what Iam missing I have copied the css and js files as well. Is

[web2py] Re: What if Massimo got hit by a Bus?

2015-06-26 Thread Najtsirk
Massimo got a motorbike. On Thursday, 26 May 2011 16:15:17 UTC+2, Bob Blanchett wrote: I just read this presentation by by GvR/BDFL http://mvdirona.com/jrh/TalksAndPapers/GuidoVanRossum_21_years_of_python.pdf on 21 years of Python and wondered for Web2py as some one did for Python

[web2py] Request.vars based on dropdown

2015-06-26 Thread Carla Raquel
I have two dropdown lists like the ones below and I would like to compose my URL using the month and year as vars, after I click a certain link.How can I change my current request.vars to the selected values? select id=month name=mn class=selectClass option value=Select month:/option

[web2py] Transitioning/Bug/unable to save

2015-06-26 Thread Mark Billion
Seems the easiest way to handle the fillable pdf issue is to move over to rackspace. Ive loaded a server and have w2p up and running. Welcome app works fine and is editable. I moved the entire folder from PA to rackspace, and it loaded up fine. That said, I uploaded a bunch of views, and

[web2py] Bug in XML(...,sanitize=True) ?

2015-06-26 Thread Brian M
I'm working on upgrading to the latest web2py version and may have uncovered a bug in the sanitizer. If you use XML(form.var.something, sanitize=True) and form.var.something is just a plain string without any tags then what you end up getting returned is an empty string rather than the

[web2py] Re: record versioning on auth tables

2015-06-26 Thread Massimo Di Pierro
Because they do not have a signature (modified_by, modified_on). They do not have a signature because they are meant to be write only and they are meat to be written even before a user logs in. On Friday, 26 June 2015 15:52:56 UTC-5, 黄祥 wrote: hi, just wondering about record versioning on

[web2py] Re: fillable pdf forms

2015-06-26 Thread Massimo Di Pierro
One method I have used in the past is using latex to generate a new document where the original PDF is used as background and the you fill the form by writing the appropriate text at the right coordinates in PDF. Then convert the resulting latex in PDF. Perhaps the same trick may be used with

[web2py] Re: Bug in XML(...,sanitize=True) ?

2015-06-26 Thread Massimo Di Pierro
I this with the latest trunk or earlier version. It may be a recent bug. Will fix it today. On Friday, 26 June 2015 18:05:27 UTC-5, Brian M wrote: I'm working on upgrading to the latest web2py version and may have uncovered a bug in the sanitizer. If you use XML(form.var.something,

[web2py] Re: Bug in XML(...,sanitize=True) ?

2015-06-26 Thread Massimo Di Pierro
The bug was introduced yesterday. Fixed in trunk now. On Saturday, 27 June 2015 00:12:10 UTC-5, Massimo Di Pierro wrote: I this with the latest trunk or earlier version. It may be a recent bug. Will fix it today. On Friday, 26 June 2015 18:05:27 UTC-5, Brian M wrote: I'm working on

[web2py] Re: fillable pdf forms

2015-06-26 Thread Massimo Di Pierro
I looked at the source code of pypdftk and it does not appear to depend on windows. It does require pdftk installed under /usr/bin/pdftk On Thursday, 25 June 2015 15:19:57 UTC-5, Mark Billion wrote: I would like to fill a form with an FDF dict, i.e, form.pdf % {element:data}. I have seen a

Re: [web2py] Re: What if Massimo got hit by a Bus?

2015-06-26 Thread Michele Comitini
You go too fast @Massimo! :D 2015-06-26 14:10 GMT+02:00 Iuri Guilherme dos Santos Martins aindatenhoco...@gmail.com: According to the original topic, in this case this OP would wish you hit the bike more often... iuri.neocities.org 2015-06-26 9:08 GMT-03:00 Massimo Di Pierro

[web2py] thumbnails plugin updated

2015-06-26 Thread Carlos Cesar Caballero Díaz
Hi, again post this to the list because of my imposibility to upload plugins to web2pyslices. I have updated my thumbnails plugin, and now we can use the use_imageops option to crop the original image and fit the desired proportion, there is other minor updates, the project url is:

Re: [web2py] Re: Layout problem

2015-06-26 Thread Chaitu P
Thank you for reply. Iam using windows operating system. I have created a new application in web2py and copied all the .html, controller, db files and it is working fine. Iam just anxious to know the reason why it was happend. I don't think there is something wrong in my code because it worked

[web2py] Re: What if Massimo got hit by a Bus?

2015-06-26 Thread Massimo Di Pierro
LOL ... and I got into an accident. Broke the bike but I am fine. P.S. No buses involved. ;-) Side effect: more time to improve web2py. On Friday, 26 June 2015 05:07:36 UTC-5, Najtsirk wrote: Massimo got a motorbike. On Thursday, 26 May 2011 16:15:17 UTC+2, Bob Blanchett wrote: I just

Re: [web2py] Re: What if Massimo got hit by a Bus?

2015-06-26 Thread Iuri Guilherme dos Santos Martins
According to the original topic, in this case this OP would wish you hit the bike more often... iuri.neocities.org 2015-06-26 9:08 GMT-03:00 Massimo Di Pierro massimo.dipie...@gmail.com: LOL ... and I got into an accident. Broke the bike but I am fine. P.S. No buses involved. ;-) Side