Hi, sometimes I need to deploy aplications to run locally and I write
this bash script for linux PCs that help to run a web2py application
like a desktop one, starting the web2py app in a browser, and killing
the web2py process when the browser is closed:
#!/bin/bash
WEB2PY_PORT=2024
That´s what I need, thanks.
El 12/10/13 08:08, Niphlod escribió:
no need... there's taskkill...
|
@echooff
setQCURDIR=%~dp0
setQWEB2PY_PORT=2024
setQWEB2PY_PID_FILE=%CURDIR%httpserver.pid
setQWEB2PY_PASSWORD=password
setQWEB2PY_APP=welcome
setQWEB2PY_PATH=%~dp0web2py.py
start
Hello, I've been using web2py for some time, but being close to begin
what would be by far the most serious project of my life, has made me
wonder, as if support for 2.7 version of python ends in 2 years (maybe a
little more), what will happen to web2py when there is no more python
2.x
and web2py is our
framework of choice for our current and future projects. YMMW.
Hope this helps a bit.
Regards
On Monday, December 9, 2013 4:04:09 PM UTC+1, Carlos Cesar Caballero
Díaz wrote:
Hello, I've been using web2py for some time, but being close to
begin what would be by far
I have a _before_update callback, and it works when I update a record
from appadmin, but when I update from scheduler don't run my callback
function, it is a sheduler problem or I am missing something?. I'm using
code from Massimo's haystack plugin.
--
Este mensaje le ha llegado mediante el
Thank you!! thats why I was thinking that callback was not called, I
check and the index is growing, but search functions allways return a
null query.
El 24/03/14 18:13, Niphlod escribió:
Working fine here:
steps to reproduce:
- install whoosh
- create a fresh app
- overwrite fresh app
I think that the function foo(a,b) could be in modules, you will be able
to call it from any place.
El 11/04/14 11:36, Mark Billion escribió:
This seems like a really dumb question to me, but I cant seem to find
an answer.
Controllers are 'default.py' and 'worker.py'
In worker.py, I
I need to reload a page when a component form is submitted, the book
says that |ajax_trap=False| indicates that forms must be submitted
normally, thus reloading the entire page. Using |ajax_trap=False |the
page is reloaded, but the form action is not executed (there is no new
entry in the db
to be
submitted to the action of the parent page rather than the action of
the component. Instead, in your form processing code, if the form is
accepted, you can do a redirect to the parent page URL, which will
cause that URL to reload.
Anthony
On Thursday, May 8, 2014 9:50:08 AM UTC-4, Carlos Cesar
)])}}
On Thursday, May 8, 2014 11:05:37 AM UTC-5, Carlos Cesar Caballero
Díaz wrote:
Anthony, thanks for your answer.
Of course, the form is submitted to the parent page... I think
that I should rest a litle and continue tomorrow...
Thanks again for your answer
El 08/05
I think Joe has a valid point, put the javascript at the end does not
show a real improvement in the loading time, but it gives users a
feeling of greater speed, but we must be careful when selecting which
javascript files can go to the end and which not.
I'm not entirely sure if is necessary
Hi, this is a first aproach of a thumbnails plugin, needs PIL to work.
Any recomendations will be apreciated (I don't like so much what I am
doing with the database)
--
Este mensaje le ha llegado mediante el servicio de correo electronico que
ofrece Infomed para respaldar el cumplimiento de
Hi, I uploaded it to github
(https://github.com/cccaballero/web2py-thumbnails), there are sources
and some instructions.
--
Este mensaje le ha llegado mediante el servicio de correo electronico que
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema
Nacional de Salud.
Hi, I need some help, when I call a view with .pdf this:
html
head
titleReport/title
/head
body
table
tr
td width=50%name/td
td width=50%pepe/td
/tr
/table
/body
/html
or this:
body
table
://code.google.com/p/pyfpdf/
2014-05-21 12:13 GMT-03:00 Carlos Cesar Caballero Díaz
desarro...@spicm.cfg.sld.cu mailto:desarro...@spicm.cfg.sld.cu:
Hi, I need some help, when I call a view with .pdf this:
html
head
titleReport/title
/head
Best regards
Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com
On Wed, May 21, 2014 at 2:04 PM, Carlos Cesar Caballero Díaz
desarro...@spicm.cfg.sld.cu mailto:desarro...@spicm.cfg.sld.cu wrote:
Thanks Mariano and Carlos, there is a simple code
Hi, is possible to run web2py (windows and linux versions) in a
read-only filesystem (like a cd or dvd) using sqlite, assuming that the
application does not require write changes to the database?.
--
Este mensaje le ha llegado mediante el servicio de correo electronico que
ofrece Infomed
Hi, I'm using web2py and whoosh in an application that stores documents
and makes google-like searches, using
https://github.com/mdipierro/web2py-haystack as starting point, but I'm
having problems with the character encoding when Latin letters (á é í
etc ...) appears. Someone has faced this
, Carlos Cesar Caballero Díaz
wrote:
Hi, I'm using web2py and whoosh in an application that stores
documents
and makes google-like searches, using
https://github.com/mdipierro/web2py-haystack
https://github.com/mdipierro/web2py-haystack as starting point,
but I'm
having
Hi, I am running web2py with apache and cgi using this approach on my
.htaccess:
RewriteEngine on
RewriteBase /home/devikhxr/public_lab-wp2
RewriteRule ^(admin|myapp)(/.*)?$ /cgi-bin/cgihandler.py
and cgihandler.py:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
Hi, what you think abaut chage the actual include_meta() implemetation:
def include_meta(self):
s = '\n'.join(
'meta name=%s content=%s /\n' % (k, xmlescape(v))
for k, v in (self.meta or {}).iteritems())
self.write(s, escape=False)
by something like:
def
Hi, I am trying to upload a plugin (for images thumbnails creation) to
web2pyslices, but I uploaded it 6 days ago, and there is no errors, no
notifications, and the only trace of my plugin is in activities, but if
I click on it, sends me to the web2pyslices home page. It is normal, o
there is
Hi, I have an app that have (among others) a blog controller, it only
has an index function, and I need that index never shows in the
controller url call, for example, if I call myapp/blog/test, I need that
test pass to index as an argument, and I need that behavior only in
the blog
I play with leaflet some time ago, and it looks like a good choice. It
is javascript based, and very easy to integrate in any web app.
El 06/11/14 06:39, nick name escribió:
Is there an example of using web2py together with OSM, similar to the
google maps examples?
Or some application I can
I am agree with many of JoeCodeswell´s points, in my experience, expert
developers reject web2py mostly because, even in the doc, users are
aimed to break the mvc writing code in controllers that belongs to
models or views.
El 04/02/15 a las 12:11, JoeCodeswell escribió:
Dear Dave,
Thanks
, if you need to re-use the form code, you can put it in a
template and include it where needed.
Anthony
On Wednesday, February 4, 2015 at 2:44:39 PM UTC-5, Carlos Cesar
Caballero Díaz wrote:
I am agree with many of JoeCodeswell´s points, in my
experience, expert
You need a table person, with all common fields, and a persona, prsonb,
personc and persond tables with their respective fields and foreign keys
of the person table (it will make your database and software easier to
modify in a future), but sometimes is better to simply put null values...
El
Hi, sometimes clients have a shared hosting, and they don't want to
change...
The most recommended way is wcgi or mod python, but if the shared
hosting not support it, and you have no option, you can run it with the
cgi support (almost all support it), really not recomended because of
Hi, I have serious problems with web2pyslices (for some reason I never
could upload anything...), so I can work in my free time on it (or in
something like it), and I am pretty sure that I can push some guys to
help, including things like design.
El 13/02/15 a las 23:38, Massimo Di Pierro
Can you point to an example of a query in the book that you think
should instead have been shown in a model?
All of them, or at least mention that queries should go in controllers,
even a simple query, will represent a problem, if we need to change it
and is used many times, new users, that
I disagree that all queries belong in models. A complex query that
needs to be re-used in multiple places should go somewhere centralized
(not necessarily a model file, but perhaps a module). However, not all
queries need to be re-used. Furthermore, some queries are so simple,
there is no
Does the book actually specifically recommend that all queries go in
controllers? If so, can you point that out, as it should be changed.
No, but in all examples, queries are in controllers, sufficient for a
reader to infer that.
Anyway, nothing about web2py requires you to put queries
What about some kind of views code generator for advanced developers
or teams?, all the form generation is implemented, so, should be
relatively easy write something like that, that generate an html form
from the model (or controller) to a view.
Cheers.
El 08/02/15 a las 17:38,
Same problem here, I can´t publish my plugins in web2pyslices, some
months ago I post the problem, but I don´t get any answer.
El 09/04/15 a las 08:00, Mirek Zvolský escribió:
I have added plugin_MANAGE_GROUPS to web2pyslices,
but the download link is broken. Proper one is
Some months ago, because I can´t post anything to web2pyslices (others
have the same problem and no one knows why) I post that I could motivate
some of my team (including a designer) for building (and maintain) a new
web2pyslices, and the proposal remains on the table. Right now I have
two
Works perfectly, many thaks for your answer in a RTFM-like question...
El 18/08/15 a las 15:31, Jaime Sempere escribió:
I have just checked a side project that I did today, and noticed that
I wasnt able to see the pic either. I have been able to fix it using
the upload field:
|form =
Hi, I was looking at the Weppy framework, and how use object oriented
models based in PyDAL, I think that adding this feature (or similar) to
web2py will be very good, I don´t mean to replace the actual models, but
adding the possibility of object oriented models, will help with code
Hi, I am working in a media galley plugin, and I need to create a custom
widget for a list:reference field, but allways throws a Validation
error, field:media gluon.validators.IS_EMPTY_OR object at
0x7f402c1b2410 error, someone have an example? a simple text field
with |1|3|22| or something
Hi, I am creatig a blog app and I am having a problem with the grid,
when I create or update a post, the post image is never visible in the
form (the form show that there is no image), but everything is ok in the
db, I supouse that is something related with the code for tagging, there
is my
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:
Hi, I created this account without using my google ID, mainly because
This is the mail account that I continuously check, now I need to
temporarily disable it, but I dont find how to do it...
--
Este mensaje le ha llegado mediante el servicio de correo electronico que
ofrece Infomed para
I can't do this:
db.business.test = Field.Method(lambdarow:4)
db.business.testa = Field.Virtual(lambdarow: row.business.test())
printdb(db.business.id >0).select().first().testa
It's a bug?, a feature? or I am having a bad day?
the exception is the clasic " 'Row'
object has no attribute
I will submit the issue to github, it was a simple example of the
problem, in the original code I do more precessing.
This are the cases when the problem occours (using Version
2.10.3-stable+timestamp.2015.04.02.21.42.07 in 64 bits Ubuntu 15.04)
db.business.test = Field.Virtual(lambdarow:4)
Anthony, many thanks for your answer, I was thinking in "self" and not
"this", I am working with python and java right now and sometimes I
place ";" or brackets in python code...
My team and I are used to working with object-oriented ORM, and that's
why the "self" feels more natural to me
Antony, thanks for your answer, there were some things I did not know
you could do, but there is just a problem with:
|
db.define_table('review',
Field('author'),
Field('valuea','int'),
Field('valueb','int'),
Field('valuec','int'),
Field('place','reference place'))
defget_review_average(row):
Bassicly, the MAC address don't cross the routers, so, you can't get the
mac address of a client from a external network server, you only can get
the MAC of the last router. You could do some tweak using ARP, but only
if the client and server are in the same subnet.
Greetings.
El 04/11/15 a
Hi, I have just done a weppytomy and I built a plugin for use the weppy
class-based model declaration, this still is an experiment so need
testing and some coding, what do you think about the idea?
There is in: https://github.com/daxslab/web2py-model-class-declaration
Greetings.
--
Este
in web2py, I
mean it just maybe a better way to structure your model
declaration/defintion... Did you try it with web2py?
Richard
On Mon, Nov 2, 2015 at 9:51 AM, Carlos Cesar Caballero Díaz
<desarro...@spicm.cfg.sld.cu <mailto:desarro...@spicm.cfg.sld.cu>> wrote:
The dal is a ver
The dal is a very good piece of software, and it can done practically
everything that any orm can do, but in my opinion, the problem is not
what we can do, but how we do it, for example, we have places, and the
places have reviews, it will be something like this:
db.define_table('review',
With the linux arp comand you can get mac addreses from the system arp
cache, something like this should work:
import os
import re
mac_regex = re.compile(ur'(?:[0-9a-fA-F]:?){12}')
tmp = os.popen("arp -a 10.15.84.20").read()
mac = re.findall(mac_regex, tmp)[0]
print mac
Greetings.
El
We could use object oriented modeling, we could save our objects
directly to the database, we could declare non persistent variables in
objects, we could have a better code structure in our apps, we could
maintain large models easily, we could reuse or extend model classes
easily, we don't
Yes, it is.
Right now is a set of CMS functionalities for web2py apps as posts,
pages, comments, tagging and a dashboard (with internationalization
support for multilingual sites), in this moment I am working in the
authorization system that is very basic.
I don't like the most of CMSs
web2py includes a JSON encode-decoder, you can import it from
gluon.contrib.simplejson
so, according to the book, this should work:
json_object = gluon.contrib.simplejson.loads(json_string)
Regards.
El 19/10/15 a las 10:01, CMHSlipSliding escribió:
I'm a newbie to web2py and I am connecting
I am working on a site that is builded using custom made CMS, I am
planning to release it to github when it's finished (the cms), right now
you can see the site (work in progress) at www.daxslab.com, suggestions
and criticism are very welcomed
El 12/10/15 a las 06:09, Paolo Amboni escribió:
yes, the CMS is web2py based.
El 13/10/15 a las 09:39, Paolo Amboni escribió:
The site is really well made. But te CMS is we2py based?
Il giorno martedì 13 ottobre 2015 15:17:20 UTC+2, Carlos Cesar
Caballero ha scritto:
I am working on a site that is builded using custom made CMS, I am
+1
I am from Cuba, and I can't buy a PyCharm licence because of the US
restrictions to cuban citizens for economic transactions (we can't use
Paypal or any credit/debit card payment mechanism), so, a free licence
will be very welcomed.
El 11/10/15 a las 15:21, Francisco Ribeiro escribió:
Hello everyone!! There (https://github.com/daxslab/web2py-simple-seo) is
a plugin for adding easily some SEO meta tags including Open Graph and
Twitter Card. Any critique, suggestion, recommendation etc... would be
appreciated.
--
Este mensaje le ha llegado mediante el servicio de correo
Hi, I need to add some users, and some fields to tables at the first
time that my app runs, right now I ask for fields in the tables and if
they are empty I put the values, but I don't like to query the tables in
all requests for doing this. What do you recommend me?
--
Este mensaje le ha
Thank you everyone for your answers, I'm going to use the variable
approach and putting it in the .ini config file. Thanks again!!!
El 28/08/15 a las 17:54, 黄祥 escribió:
please take a look at this discussion too
https://groups.google.com/forum/#!topic/web2py/o_4l95C78sc
best regards,
stifan
escribió:
Nice Carlos, you should had work really hard... Do you know Fabric
(http://www.fabfile.org/)?
I guess you had save some boiler plate...
:)
Richard
On Thu, Sep 3, 2015 at 2:21 PM, Carlos Cesar Caballero Díaz
<desarro...@spicm.cfg.sld.cu <mailto:desarro...@spicm.cfg.sld.cu&g
Hi massimo I took it as an exercise, and this is what I make:
https://github.com/cccaballero/app_deploy
can be used like:
python main.py https://github.com/myuser/repo.git
username:password@domain:/home/www-data/web2py/applications/estore3
the script make all the stuff locally, so nothing
Perfect, the code is already fixed, Thanks.
El 03/09/15 a las 11:11, Anthony escribió:
Actually, there's a bigger problem. In Python, default arguments are
evaluated when the function is first defined, so all of your default
arguments will be set when the module is first imported. Therefore,
le.org/)?
I guess you had save some boiler plate...
:)
Richard
On Thu, Sep 3, 2015 at 2:21 PM, Carlos Cesar Caballero Díaz
<desarro...@spicm.cfg.sld.cu
<mailto:desarro...@spicm.cfg.sld.cu>> wrote:
Hi massimo I took it as an exercise, and this is what I ma
Thanks!!! The plugin is in web2pyslices now!!! and my thumbnails plugin
too!!!
El 03/09/15 a las 15:14, Niphlod escribió:
so we're good to go ?
On Thursday, September 3, 2015 at 8:29:48 PM UTC+2, Alan Etkin wrote:
Ooops
The web2pyslices site sends the new post notifications, my
Hi Niphlod, many thanks for your suggestions, The main problem with
web2pyslices.com is that I can't publish anything and I don't know why,
I mentioned this in other threads.
About the default value in argument, I can change it, but why you prefer
default to None?
El 02/09/15 a las 04:29,
Hi Louis, good tutorial. I usually try serve my static (and uploaded)
files directly, without pass for the web2py layer.
About the gzip, maybe this Stackoverflow threads can help:
http://stackoverflow.com/questions/8506897/how-do-i-gzip-compress-a-string-in-python
Hi graham, It looks interesting, I will look at it when you release it.
El 21/09/15 a las 15:12, Graham Ranson escribió:
I don't know whether any of you are familiar with Grails (www.grails.org);
I was using it for a few years but for a variety of reasons have moved to
Python. However there
Hi, there https://github.com/daxslab/web2py-model-class-declaration is a
plugin that tries to give the weppy syntax for models to web2py, you can
look it and tell me what you think.
Greetings.
El 07/12/15 a las 06:07, Alessio Varalta escribió:
Thanks for the help. I found the solution in
Hi, I am working in a plugin (based in the Tim Richardson ckeditor4
plugin galley) for creating a global media galley for web2py
applications (some functionality like the wordpress and other cms
galleys), it is in https://github.com/daxslab/web2py-media-galley.
If you look at the functions
I like it, unfortunately right now I only can test it if there is some
way to run it against a diggest proxy in a linux distribution...
PD: Happy new year to every one!!
El 29/12/15 a las 04:48, Massimo Di Pierro escribió:
I made a PR for authomatic that include an adapter and example to use
I think that backward compatibility, when we look it from the distance,
is more a bug that a feature.
Let me explain before they fall on me like wolves...
In my opinion, the backward compatibility restricts innovation, because
we do not know what will happen within the next five years, and
Hi everyone, have you any experience with
https://github.com/defunkt/jquery-pjax and web2py? it looks really
interesting.
Greetings.
--
Este mensaje le ha llegado mediante el servicio de correo electronico que
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema
Hi Ben, first, thanks for your words :)
I have never used the plugin with nginx, but I am not sure that the
issue should be nginx related, the plugin (as web2py apps) should work
fine (or buggy) no matter the server.
Please, first make shure that you have installed the PIL (Python Imaging
Hi guys, maybe I am missing something in the discussion, but, why not
use plugins to achieve that? you can write the "wrapper" code in a
model, and clients/users can install/remove/update it via the web2py
plugin system.
Greetings.
El 21/06/16 a las 21:53, Dominic Mayers escribió:
Perhaps,
Yes, he need something like Yii2 modules
(http://www.yiiframework.com/doc-2.0/guide-structure-modules.html) or
Symfony2 bundles
(http://symfony.com/doc/2.0/cookbook/bundles/best_practices.html), I
think that something like that can be a good feature for web2py, not
just for the specific
Hi, wath is your recommended way to implement api tokens in web2py?
Greetings.
--
Este mensaje le ha llegado mediante el servicio de correo electronico que
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema
Nacional de Salud. La persona que envia este correo asume el
Hi Massimo, the Idea could be something like T('my string to translate',
'place_to_find_it') so it will look directly to the needed translation
files (as other frameworks do).
I was thinking that some kind of "production mode" that could put model
files and translations in memory like the
Hi, I have an app with lot of translation strings, and keeping all in
one file is becoming a mess dificult to maintain, is there some way to
do something like:
translatios/
main/
default.py
es.py
...
breads/
default.py
es.py
...
, Feb 11, 2016 at 11:19 AM, Carlos Cesar Caballero Díaz
<desarro...@spicm.cfg.sld.cu <mailto:desarro...@spicm.cfg.sld.cu>> wrote:
Hi, right now I am working in a plugin with an autocomplete widget
using typeahead.js:
https://github.com/daxslab/web2py-typeahead
Hi, right now I am working in a plugin with an autocomplete widget using
typeahead.js:
https://github.com/daxslab/web2py-typeahead
Any clues, suggestions, recomendations etc... will be very welcomed.
Greetings.
--
Este mensaje le ha llegado mediante el servicio de correo electronico que
Many thanks for sharing your code Richard, yes, my solution is, in fact,
similar, but using the callback like the original widget to get the json
data. I was thinking how move all the javascript code from the server
side, and I think that putting the needed info as data attributes in the
input
Hi, I was trying to find a way to use the autocomplete widget with
internationalization, I tryed to use a virtual field that returns
T(row.my_table.my_field) (silly me) but the autocomplete widget don't
work with virtual fields.
Some ideas?
Greetings.
--
Este mensaje le ha llegado mediante
Great!!
The autoinstaller is amazing, so simple and so good. Is python 3 compatible?
PD: I will look at taskutils for my mail services microframework.
El 27/01/16 a las 00:49, Massimo Di Pierro escribió:
# a library to convert units and propagate errors in math
The imports can make web2py fast, because then only will be loaded the
required models in the request, that maybe can be an optional feature.
Another option could be caching the models in memory in production.
Regards.
El 21/01/16 a las 11:28, Alex escribió:
exactly :)
maybe the point about
Hi Graham, I am very interested, but I can't find it in web2pyslices
(maybe it still in moderation).
Greetings.
El 16/02/16 a las 09:01, Graham Ranson escribió:
Further to my previous posting I have just published the details of my
generator tool in web2pyslices.
Just download and read
Highcharts is very good. I am using right now c3.js (http://c3js.org/) a
good MIT licence option.
Greetings.
El 16/02/16 a las 12:54, Junior Phanter escribió:
Use highcharts
http://www.highcharts.com
Example:
*ON CONTROLLER*
def chart():
dados_chart="[{name: 'Batata', y: 12},{name:
Hi, because of our needs, the time available and the workload, we decide
to postpone our work in a complete CMS solution, and concentrate in
modules (web2py plugins) with CMS capabilities that can be reused and
integrated in an app depending the needs.
I can share the code that supports
Hi Ron, CMSs allows to build web sites faster, but they usually lacks of
flexibility and performance compared with custom applications, I prefer
to stay in the middle and build custom applications with a core of pre
made modules for different functionalities, in that way I can balance
the
Yes. I should send it before, but I was too busy and I overlooked it (my
bad)...
Greetings.
El 13/03/16 a las 01:48, Massimo Di Pierro escribió:
It is a bit on a short notice. I would love to attend. I will check
next week if I can make it work.
--
Este mensaje le ha llegado mediante el
Yes. I should send it before, but I was too busy and I overlooked it (my
bad)...
If you can make it, please tell me, I can move things up with the
organizators for making an invitation
(https://www.treasury.gov/resource-center/sanctions/Programs/Documents/guidance_cuba_travel.pdf)
as fast as
Hi Michael, I really appreciate your feedback, GAE in fact supports PHP,
but is from Google, an USA company that (of course) follows US laws,
unfortunately because of that laws the service can't be used from Cuba
(I am from Cuba) and other few countries (even the sites hosted in GAE
cannot be
Hi, I am trying to reach a routes behavior for an app but I can´t, so I
need some tips...
I have in my app countries, cities and states (or province), countries
have states and states have cities. Each une of them have its own
controller and view, and I want the next behavior:
Hi Anthony and Richard, these are the functions of my country controller
(state and city controllers are similar):
def index()
def edit()
In the future the controller will have more functions (we have planned
new features that will be built as components)
There is no a cuba() function, in
Hi Antony, I was not clear enough... I have a country controller with a
default index function, and the same with a state controller and a city
controller, so right now:
if I call www.myapp.com/country/cuba I get my country page for Cuba (the
index function of country controller with cuba as
They provide related but different information with a different
structure (country show main country info, an basic States and Cities
info and so on), The separate country, city, and state controller files
are not strictly needed, but I prefer to maintain the code structure for
extensibility
Many thanks Anthony and Richard, I'll use your suggestion.
Greetings.
El 29/03/16 a las 10:27, Richard Vézina escribió:
I agree with Anthony... Do you have any constraint that prevent you
from doing that... I would definetly stay away from router as much as
I can...
Richard
On Tue, Mar 29,
Take a look to jsPDF (https://parall.ax/products/jspdf) if you are more
familiar with javascript.
El 10/05/16 a las 15:52, Jim S escribió:
I use ReportLab...
-Jim
On Tuesday, May 10, 2016 at 1:40:42 PM UTC-5, José L. wrote:
Latest fpdf code is in the contrib section of gluon
Hi, is really easy integrate technologies like Highcharts in a web2py
site using JSON, XML or CSV, here you can find how fill a chart from
JSON, XML or CSV
(http://www.highcharts.com/docs/working-with-data/data-intro) and you
can look at the web2py book for JSON, XML or CSV data rendering
Hi, I am trying to pre-populate a form who has a list:string field, but
if I pass a list to form.vars.my_list_field it keeps empty, And if I try
something like "|value1|value2|value3|" just the first field of the list
is filled with that string. How can I pre-populate a list:string field?
Is just what I am doing, this is the code:
def index():response.flash = T("Hello World")form = SQLFORM.factory(
Field('name', requires=IS_NOT_EMPTY()), Field('test', 'list:string'),)
form.vars.test = ['asdasd','2435345']
if form.process().accepted:response.flash = form.vars.name
1 - 100 of 245 matches
Mail list logo