Hello,
I have a simple SQLFORM.grid that shows the rows of my simple SQLite
database.
In the grid, when I click on, say, the "vendorname" column header, this
performs a kind of alphabetical sort, but the sort is case sensitive, so
for example "AXE" comes before "Abc". How can I make the grid
al" and escaped double
curly brackets in my view?
PS: The "{{ }}"" are used by some expressions in the "simile exhibit
<http://www.simile-widgets.org/exhibit3/>" framework, that I used with
web2py, hence my need.
Thanks
Vincent
--
Resources:
- http://web2py.
lection...
Thanks
On Tuesday, November 14, 2017 at 8:42:53 AM UTC+1, Dave S wrote:
>
>
>
> On Monday, November 13, 2017 at 9:57:25 PM UTC-8, Vincent Borghi wrote:
>>
>> Hello,
>>
>> I have a "normal' web2py grid with columns (including a column named
&
Hello,
I have a "normal' web2py grid with columns (including a column named
"country"), thru which the users can query the db to select the lines they
are interested in.
Once the users have performed their selection, I need to be able to
determine the distinct values of (e.g.) the "country"
#27713355
Vincent Borghi
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"w
I am trying to utilize the SQLFORM magic as much as possible and ran into
the below scenario and hopeful that the SQLFORM can handle it.
Scenario
- I have an account that can have multiple projects which is defined
here:
db.define_table(*'Account'*,
Hi,
wanted to ask the community if the approach I am taking is sound. If so
this may be of use to others. If not, please tell me the way to do this
correctly.
My objective is to have form submission in a modal way (using bootstrap
modal).
Here is the approach I am taking, reduced to the
How would one go about doing the equivalent of
A and (B or C)
in the grid or smartgrid search?
Tried reading the source but got lost.
Given
db.person.firstname
db.person.lastname
this fails as an invalid query:
person.firstname = John and (person.lastname = Smith or person.lastname
=
(and equivalently
directly by URL)
Thanks
Vincent
On Thu, Jun 12, 2014 at 5:38 PM, Derek sp1d...@gmail.com wrote:
You have your queries all wrong. Can you share your code? You should use
the python bitwise operators not the words. Also, why are you using
assignment when you should be testing
@Niphlod yes it's exactly this.
@Jonathan I am on 2.5.1 too and it works fine on my MAC OS X machine but
once I go on a web2py running under apache, the header content_type is sent
and web2py catches only http_content_type
I will post my findings if it's not fixed in 2.8.2. I plan to migrate
Oh it has been fixed with 2.8.2? (that was the purpose of my first
question. Sorry if I was not clear)
On Thursday, August 1, 2013 6:53:09 PM UTC+12, Ray (a.k.a. Iceberg) wrote:
To whom it may concern:
I tried posting vars in json format, with content-type: application/json
header, to my
Trying to catch up on this issue. Has it been fixed on trunk? Also when is
forecasted the next released?
At the moment, I just hacked main.py by replacing http_content_type with
content_type. Does it sound ok ?
Cheers.
Vincent.
On Thursday, August 1, 2013 6:53:09 PM UTC+12, Ray (a.k.a
though.
Thanks,
Vincent.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
Hello,
I'm thinking about implementing a form for ordering parts, and before
starting this work I'd like to have some advice. Here is the base
functionality wanted:
- The form would include multiple similar lines made of 3 fields, to hold a
part_reference, a part_description and a quantity.
this is an internal site and Vincent may not be a webserver guy, that
may fit the bill more.
On Monday, April 22, 2013 11:35:23 AM UTC-7, Michele Comitini wrote:
a. Use a full blown webserver like apache or nginx and configure it to
gzip content on client request
b. Use a simple wsgi gzipping
Hi,
I want to return gzipped json content (although the json part is not really
important).
I did some googling and found this post which is somewhat related,
https://groups.google.com/d/msg/web2py/cgSrsC73vzg/ZNYN3u7ChVwJ
as far as I could tell the minify part of the question was answered
-in?
Thanks
Vincent
On Sunday, April 21, 2013 4:16:17 PM UTC-5, Ricardo Pedroso wrote:
You can not blindly gzip your data unless you control the clients.
It's the client that tells if it can accept gzip content or not,
and the web server will choose to gzip it or not.
I will advice you
ok,
ticket submitted:
http://code.google.com/p/web2py/issues/detail?id=1294
On Wednesday, January 16, 2013 9:46:20 PM UTC-6, Massimo Di Pierro wrote:
Please open a googlecode thicket pointing here. We will review and
probably accept it.
On Wednesday, 16 January 2013 11:21:14 UTC-6, Vincent
defines a new
variable expfields using the original way fields is defined when it is
not specified on grid creation.
I believe this now has the expected behavior. I am using web2py from trunk.
Thanks
Vincent
--
to the first post)
Thank you.
Vincent.
On Friday, April 1, 2011 3:49:33 PM UTC+13, Joaquin Orbe wrote:
On Wed, Mar 30, 2011 at 6:56 PM, Massimo Di Pierro
massimo@gmail.com javascript: wrote:
yes. I do not know how to do it with one query.
On Mar 30, 3:18 pm, Joaquin Orbe joaquino
Vincent
(using web2py 2.0.8 from trunk)
--
for the record,
default=db(db.owner.isdefault==True).select().first().id
appears to work, note the addition of ìd.
Thanks
Vincent
On Thursday, June 7, 2012 9:49:30 PM UTC-5, Massimo Di Pierro wrote:
db(db.owner.isdefault=True).select()
should be
db(db.owner.isdefault==True).select
something more robust and flexible.
Thanks
Vincent
).select().first()))
On Thursday, June 7, 2012 2:20:30 PM UTC-7, Vincent wrote:
Hi,
I'm looking for a way to define a default foreign key dynamically.
For example if I have the following schema:
db.define_table('owner',Field('name', 'string'),
Field('isdefault','boolean',default=False
jquery timeentry is the behavior I am getting, I was expecting the
behavior show in the book :-)
Suggestion on listing 15min time increments?
Thanks
Vincent
On Friday, May 4, 2012 10:56:48 PM UTC-6, Massimo Di Pierro wrote:
I am also using 1.99.7 with chrome on mac and it works for me
browsed into the
application (web2pyshow contentsapplicationsmyapp...web2py.js and
it shows the changes I have made. Where is the other coming from?
Thanks
Vincent
On Saturday, May 5, 2012 7:31:35 AM UTC-6, Massimo Di Pierro wrote:
I guess the book need updating. You need to install
and I think I have found examples to do
this except for the 15min increments.
Thanks for any suggestions and help I am very new to web2py any examples or
pointers to examples would be great.
Vincent
',db.t_reservation,Field('current_record','reference
t_reservation',readable=False,writable=False))
On Friday, May 4, 2012 10:02:03 PM UTC-6, Massimo Di Pierro wrote:
which web2py version are you using? Which browser?
On Friday, 4 May 2012 22:24:50 UTC-5, Vincent Davis wrote:
1. The web2py
looks great, thanks
btw the title Web2py Example Appliances is a dead link
On Dec 28, 4:41 pm, Khalil KHAMLICHI khamlichi.kha...@gmail.com
wrote:
Good work.
This something I would definitely be interested in seeing, as well as
input forms for many-to-many in general (not just admin).
Thanks
Vincent
On Dec 23, 12:50 pm, Anthony abasta...@gmail.com wrote:
web2py wraps each request in a single transaction by default, so if you
make multiple inserts
this behavior?
Since it does not seem to be the default behavior (at least not on a
fresh app, as described in previous post)
Thanks
Vincent
On Jul 18, 4:01 pm, Vincent vincentchevr...@gmail.com wrote:
Hi,
I have an existing web2py app called dispersion to which I am trying
to add
view in the fresh default app and
not in my app?
thanks
Vincent
On Jul 20, 9:09 am, Anthony abasta...@gmail.com wrote:
On Wednesday, July 20, 2011 8:11:56 AM UTC-4, Vincent wrote:
after some digging around I found the prettydate function in
gluon.tools.
If I from gluon.tools import
, with the built-in server.
Anybody have any ideas how to address/debug this?
thanks
Vincent
Hi, I'm a web2py newbie. I setup a web2py app with sqlite in a server
using wsgi. I decided to deploy it in GAE. I was successful in
uploading the app. (thanks for making this very easy). But I notice
that the contents of my sqlite database was not included. I don't
have this problem when I setup
on GAE. They do not provide the module.
On May 19, 12:31 am, Ray Vincent Gomez rayvincent.go...@gmail.com
wrote:
Hi, I'm a web2py newbie. I setup a web2py app with sqlite in a server
using wsgi. I decided to deploy it in GAE. I was successful in
uploading the app. (thanks for making
._referenced_by:}}{{if not
t[-8:]=='_archive':}}
[{{=A(t[2:],_href=URL('%s_select'%t[2:],args=(f,form.record.id)))}}]
{{pass}}{{pass}}
Thanks
Vincent
something like
image = record['f_image']
Thanks
Vincent
In View:
{{=TAG.img(_width=90, _src=URL(r=request, c='default', f='download',
args=[record.f_image]))}}
What I do when users are uploading pictures is to create a thumbnail of
that picture and usually only show that thumbnail.
Kenneth
as allowed to django which I like less but I am more confidant
in it's continued development. This is my perception of this right or
wrong.
Vincent
kind regards
Pepe
.
(Case_workers, Parents, Staff) and as you would expect the db table
for each contains different information. How should I design the db
and integrate authorization. I have read through the Access Control
docs but it was not very helpful to me with regard to my question.
Thanks
Vincent
I am interested in a little different setup, I would like
*.example.com to go to the web2py app/folder but be able to specify
other.example.com be served from /var/www/other/
I am having trouble figuring out how to configure Apache virtual host
to do this.
Thanks
Vincent
On Oct 18, 7:07 pm, VP
This looks great!
May I suggest a feature request:
You could offer to the user a variant that would automatically create
appropriate
tables, field definitions and populate the tables, just by loading
/analysing
the contents of a .user-chosen csv file (typically generated from an excel
file).
This
Hello,
Is there a web2py application available somewhere that could be used as a
trouble ticketing (issue tracking) system, or could serve as a basis
to build on
for implementing such a system?
Thanks
On Tue, Mar 16, 2010 at 4:11 PM, mdipierro mdipie...@cs.depaul.edu wrote:
I think what Vincent is asking is not so much importing capability but
an interface that can read an excel file (or a csv file) asks you the
names (guessing from the header) and types (guessing from data) of
columns
his data thru the web.
Regards
Vincent Borghi
PS: thanks to web2py developers for theit great work!
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group
On Mon, Mar 8, 2010 at 3:52 AM, Thadeus Burgess thade...@thadeusb.com wrote:
Says registration requires verification and I never received an email.
I have found the verification email in my Spam mailbox of my gmail
account...
If the same happens to you, search for a spam-classified mail
whose
Hi, just simple advice needed:
I have a web2py application whose data is made of an sqlite table
(that I have obtained by importing in web2py an excel-generated CSV file).
Now I see that in fact the original CSV data included many duplicate lines,
so my sqlite table has the same duplicate lines
assume I could refresh the screen but I would like a better
solution.
Are there any templates/examples using web2py?
Thanks
Vincent
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group
I am interested.
Vincent
On Nov 4, 6:15 pm, Richard richar...@gmail.com wrote:
I would invite you but it seems Google has temporarily disabled
inviting:http://www.google.com/support/wave/bin/answer.py?hl=enanswer=162237
On Nov 5, 4:38 am, Thadeus Burgess thade...@thadeusb.com wrote:
I
Vincent
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com
Actually I am on a Mac 10.6, I was planning on hosting it on my Vista
machine but that not a big deal, I would prefer to get it going on my
Mac.
How do I try to start web2py from Enthought?
Vincent
On Oct 25, 9:10 am, mdipierro mdipie...@cs.depaul.edu wrote:
I assume you are running the python
last):
File stdin, line 1, in module
ImportError: No module named web2py.gluon.main
On Oct 25, 10:13 am, mdipierro mdipie...@cs.depaul.edu wrote:
same as exampled before
On Oct 25, 10:40 am, Vincent vinc...@vincentdavis.com wrote:
Actually I am on a Mac 10.6, I was planning on hosting
Hello
I am looking for a simple and light system that would allow to manage
the reservation by users of various shared resources, such as
rooms or misc. equipments. Simple and basic features are
sufficient, just manage/check time slots to reserve, some resources
and some users...
The
with them: the
developer/administrator
can provide his own functions that will betriggered when such or such action
occur
12) To be continued. The above is just for your reflexion
Keywords are suimplicity, ligntness, code customisability...
Yanks and regards
On Oct 24, 3:49 am, Vincent
selects the start time and the end
time?
Or the start time and duration? We can begin with something simple to
implement,
and in subsequent releases propose something more attractive with ajax
feeback etc.
ThanksRegards
On Oct 24, 1:40 pm, Vincent Borghi vincent.borgh...@gmail.com wrote
Thanks this will help me get started. I have a simulation and plots
that I would like to turn into a web app.
Vincent
On Oct 15, 3:08 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Thanks.
On Oct 15, 4:00 pm, weheh richard_gor...@verizon.net wrote:
Massimo, I've reviewed your slide
I have been reading a bit about matplotlib plots into a web page.
Mostly lots of googling and reading treads. My question is, Is there a
nice how-to posted somewhere for using web2py + matplotlib.
Same question for PlotKitWrapper Is there documentation?
Thanks for your help
Vincent
Hello,
In the following form (essentially taken from web2py examples),
the Enter key does not work as expected, I am obliged
to click on the submit button.
=== test1/views/default/searchform.html ===
{{extend 'layout.html'}}
pType something and press the button./p
form
INPUT type=text id='q'
, both Enter key and submit button have the same bad
behavior: they just run a GET of the same current URL (searchform),
without passing parameters...
Other idea?
On May 27, 4:03 am, Vincent Borghi vincent.borgh...@gmail.com wrote:
Hello,
In the following form (essentially taken from
Thanks, the workaround you suggest works!
On Wed, May 27, 2009 at 2:19 PM, Horst Herb
my.list.subscripti...@gmail.com wrote:
Had the same problem, this worked for me:
form id=testform onsubmit=return false
Search for: INPUT type=text id='searchfor' value= onchange=ajax('.
That way, the
59 matches
Mail list logo