Re: [web2py] Re: Custom buttons and standard buttons

2018-02-17 Thread Francois Barnard
Thank you so much! On Sat, Feb 17, 2018 at 10:44 AM, Anthony wrote: > On Saturday, February 17, 2018 at 10:57:08 AM UTC-5, F.C. wrote: >> >> How do i change the class of a custom and/or standard form button. Is >> there an example you can reference? Again, thank you for the assistance >> > > To

Re: [web2py] Re: Custom buttons and standard buttons

2018-02-17 Thread Francois Barnard
How do i change the class of a custom and/or standard form button. Is there an example you can reference? Again, thank you for the assistance On Sat, Feb 17, 2018 at 09:41 Yi Liu wrote: > They are already in default bootstrap style. > > _class='btn btn-primary' > > To customize, you can add your

Re: [web2py] Re: web2py custom form 'TypeError'

2018-02-08 Thread Francois Barnard
Thank you so much for your help! I will go and raise it On Thu, Feb 8, 2018 at 12:11 PM, Leonel Câmara wrote: > This is a bug, please submit an issue in github. The problem is that your > request.vars.id is not and instance of (int, long, str, unicodeT) > > The bug is in this line: > https://gi

Re: [web2py] Interesting - Brython (python to javascript)

2012-12-21 Thread Francois Dion
If you have had issues with these, you should report the bugs, because It does support string interpolation, modules and scope. List comprehension and the ternary operator have been added earlier this week. Classes is the main thing left. I started using brython in a limited deployment. I think

Re: [web2py] raspberry pi

2012-12-21 Thread Francois Dion
owever, it would need something like what is offered by webiopi ( http://code.google.com/p/webiopi/ ), or integrate with it. Francois -- www.pyptug.org - raspberry-python.blogspot.com On Saturday, December 15, 2012 7:13:44 PM UTC-5, Adi wrote: > > brings fantastic memories of early days wi

[web2py] Re: web2py recipe book

2012-03-15 Thread Francois
traditional printed book. On Mar 15, 12:40 pm, Bruce Wade wrote: > You can add bookmarks, I have no idea how to write comments using Evince on > Ubuntu though. > > > > > > > > > > On Thu, Mar 15, 2012 at 10:08 AM, Francois wrote: > > If one of you got the

[web2py] Re: web2py recipe book

2012-03-15 Thread Francois
If one of you got the ebook in PDF format, can you confirm if it possible to annotate it (write comments and put bookmarks) ? Thanks, -Francois. On Mar 15, 12:46 pm, Bruce Wade wrote: > Cool just bought it. I am interested to see how some things are implemented > in the book which

[web2py] Re: vertical submenu width pb

2011-05-06 Thread francois
ok that's good, yesterday I was not having the right glasses. thank you Francois On 5 mai, 20:20, Anthony wrote: > I see a few problems: > >    - It should be =MENU(...), not MENU=(...) >    - The arguments should be separated by commas, not spaces. >    - _lu_clas

[web2py] vertical submenu width pb

2011-05-05 Thread francois
"web2py-menu-vertical " eg in layout.html {{#-- Superfish menu --}} {{MENU = (response.menu, _class = 'sf-menu ' _lu_class = 'my-class' li_class = 'my-class')}} the html result HomeLunettesLentillesVisageEnvoyer votre photoRéglages in my menu, "Envoyer votre photo"is written on two lines. Thanks Francois

[web2py:37685] Re: Virtualfields to make a running total

2009-12-22 Thread Francois (Jersey)
I did it as I can not remember now. Kind regards, Francois On Dec 18, 5:34 pm, villas wrote: > Hi Francoise > > Re: Currency.  Yes,  we also have a field to indicate currency for > each transaction.  But we only use EUR and GBP and we do not have any > currency translation/reva

[web2py:37508] Re: Virtualfields to make a running total

2009-12-17 Thread Francois (Jersey)
have spent one year working on the blueprint of the software, and I feel it would a very interesting/revolutionnary software for the free software, as accounting is really what is missing. On Dec 18, 3:38 am, mdipierro wrote: > Who pays? I can find the students. > > On Dec 17, 3:48 pm,

[web2py:37479] Re: Virtualfields to make a running total

2009-12-17 Thread Francois (Jersey)
Forgot to say, I have found a fabulous expert on jquey, who will help build the nice forms. Massimo, any chance of paying some students to help on project to advance on the accounting software project? -- You received this message because you are subscribed to the Google Groups "web2py-users" g

[web2py:37478] Re: Virtualfields to make a running total

2009-12-17 Thread Francois (Jersey)
for Massimo. Let's say I want to have a different table for each client, is it possible to create dynamic table? I don't know whether it is clear. Say for example, depending on the client, can we load a different sets of tables? Please let me know if you want clarification. Thanks, Franc

[web2py:37436] Re: Virtualfields to make a running total

2009-12-16 Thread Francois (Jersey)
Francois On Dec 8, 1:22 am, villas wrote: > Yes, it was just a thought. > Now we have a decimal field I'm trying out someaccountingideas. > Thanks. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this

[web2py:29613] Re: web2py course

2009-08-28 Thread Francois (Jersey)
how many hours of work are expected for this 5 weeks course? --~--~-~--~~~---~--~~ 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

[web2py:28908] Re: Create a group on Ning?

2009-08-18 Thread Francois (Jersey)
So there are no members in Linkedin, as Massimo needs to authorise users who request to join the group :) or alternatively should allow everyone to join. On Aug 18, 3:09 pm, mdipierro wrote: > I do not know what Ning is. There are groups on linked-in and facebook > but no action there. All the a

[web2py:28496] Accounting package: help needed for Jquery against a fee

2009-08-13 Thread Francois (Jersey)
5ee3a Many thanks, Francois --~--~-~--~~~---~--~~ 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:26367] complex redirect: help needed

2009-07-12 Thread Francois (Jersey)
I am trying to make a complex redirection: Each transaction can have multiple transactions lines. For each transaction, the user can create a new transaction line or edit an existing one. When the user has posted a new transaction line or edited an existing one, the page should redirect to the p

[web2py:26326] Re: task forces

2009-07-11 Thread Francois (Jersey)
For example in Postgresql and MySQL , we Monetary Types: http://www.postgresql.org/docs/8.4/static/datatype-money.html http://dev.mysql.com/doc/refman/5.0/en/numeric-types.html I really believe that we should store monetary amount using the monetary amount available in the database if available,

[web2py:26325] Re: task forces

2009-07-11 Thread Francois (Jersey)
Back with an old query, in order to deal with an e-store, we would need to deal with numeric, as we need to deal with prices which are monetary amounts in multiple currencies. I can not remember where we are with numeric implementation? For example in SQLalchemy, numeric is defined as class sql

[web2py:26290] Re: new chapters for the book CRUD and AUTH

2009-07-11 Thread Francois (Jersey)
Agree with Massimo, that it is the best solution. Still struggling with it though :;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegr

[web2py:26243] Re: new chapters for the book CRUD and AUTH

2009-07-11 Thread Francois (Jersey)
Reviewed chapter 7 Forms and validators. The chapter deals with multiple forms per page, however a more complex example would be useful. Let me explain the limitation of the current presentation. The example presented page 178 has a validation button for each form, but it is not possible to vali

[web2py:26244] Re: new chapters for the book CRUD and AUTH

2009-07-11 Thread Francois (Jersey)
Reviewed chapter 7 Forms and validators. The chapter deals with multiple forms per page, however a more complex example would be useful. Let me explain the limitation of the current presentation. The example presented page 178 has a validation button for each form, but it is not possible to vali

[web2py:25756] Re: want to help web2py?

2009-07-05 Thread Francois (Jersey)
I am currently building an accounting system for companies. This could be used as a foundation to develop more financial applications. Likely delivery end of the year. Your release of spreadsheet is proving very useful, eventhough I am encountering similar difficulties to some people on the mailin

[web2py:25754] Re: need an ajax spreadsheet

2009-07-05 Thread Francois (Jersey)
Try to install from the following link http://www.web2py.com/appliances/default/download/app.source.abebe92ece83f899.73686565742e773270.w2p, and I still have an error message, Unable to install application "spreadsheet". Am I the only one in this case?

[web2py:25531] Re: need an ajax spreadsheet? Here is one

2009-07-02 Thread Francois (Jersey)
tried to install the spreadsheet application, but I have the following error message: unable to install application spreadsheet. It is possible to download the file, but I believe file is corrupt --~--~-~--~~~---~--~~ You received this message because you are subs

[web2py:25310] Re: Web2py is not too designer friendly?

2009-06-29 Thread Francois (Jersey)
An example of "return response.render('custom.html',data=data) " would be useful on the web2py website. Fabulous framework. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to th

[web2py:25286] Re: Web2py is not too designer friendly?

2009-06-29 Thread Francois (Jersey)
think it is possible to do with Web2py? Francois --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from

[web2py:24659] Newbie question: showing details for a foreign key instead of the foreign key number

2009-06-21 Thread Francois (Jersey)
I am trying to show the detail for a foreign key, but I really do not know how to do it. My model is: db.define_table('currency', SQLField('code',length=3), SQLField('name',length=100)) db.currency.code.requires=[IS_NOT_EMPTY(),IS_NOT_IN_DB (db,'currency.code')] db

[web2py:24332] Re: new slides

2009-06-16 Thread Francois (Jersey)
can not access as well, and have an Invalid function. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this

[web2py:24302] Re: Nested list : good example for the documentation

2009-06-16 Thread Francois (Jersey)
Where line 42 is subperiods = db (db.subperiod.period=period.id).select() --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com

[web2py:24301] Re: Nested list : good example for the documentation

2009-06-16 Thread Francois (Jersey)
subperiods = db(db.subperiod.period=period.id).select()}} {{for subperiod in subperiods:}} {{=subperiod}} {{pass}} {{pass}} See error message below: What am I doing wrong? Error traceback Traceback (most recent call last): File "/home/francois/web2py/gluon/restr

[web2py:24261] Re: Nested list : good example for the documentation

2009-06-15 Thread Francois (Jersey)
{{pass}} and the following method: def show_periods():     periods=SQLTABLE(db().select(db.period.ALL))     return dict(periods=periods) I does not work, what does I get wrong? Apologies, if this look staighforward. thanks Error traceback Traceback (most recent call last): File "

[web2py:24146] Nested list : good example for the documentation

2009-06-14 Thread Francois (Jersey)
Hello I am trying to make a page showing a nested list: period 1 subperiod 1 subperiod 2 subperiod 3 period 2 subperiod 1 subperiod 2 period 3 subperiod 1 period 4 subperiod 1 subperiod 2 subperiod 3 My model is: db.define_table('period', SQLField('descrip

[web2py:23768] Question on database definition

2009-06-09 Thread Francois (Jersey)
t using a foreign key would be the best option to do so, but it fails with the following message: Traceback (most recent call last): File "/home/francois/web2py/gluon/restricted.py", line 107, in restricted exec ccode in environment File "/home/francois/web2py/app

[web2py:22652] Re: experimental: decimal and pickable and custom columns

2009-05-26 Thread Francois (Jersey)
The link to the Sqlalchemy page should be useful: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/types.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group,

[web2py:22648] Re: DECIMAL or NUMERIC type for database fields

2009-05-25 Thread Francois (Jersey)
Agree with Joe, on the need to store decimal in the database. I may be biaised because I have used Sqlalchemy before. I suppose we should be able to find inspiration from Sqlalchemy code for decimal... Please let me know how I can help. --~--~-~--~~~---~--~~ You r

[web2py:22545] Re: DECIMAL or NUMERIC type for database fields

2009-05-24 Thread Francois (Jersey)
Floats can not be used, as float may give a different result from decimal, and this is not acceptable for financial applications: An explanation of the difference can be found at http://docs.python.org/library/decimal.html --~--~-~--~~~---~--~~ You received this me

[web2py:22544] Re: DECIMAL or NUMERIC type for database fields

2009-05-24 Thread Francois (Jersey)
I thought that Python, since version 2.4 could deal with decimal. Please have a look at the link http://docs.python.org/library/decimal.html Am I missing something? If Python can deal with decimal and the database can as well, would it make sense to have decimal implemented in Web2py? Apologies,

[web2py:22512] DECIMAL or NUMERIC type for database fields

2009-05-23 Thread Francois (Jersey)
database. Mysql, postgre and sqlite all support this numeric/decimal feature. I would be keen to contribute an accounting software to web2py, but I need DECIMAL or NUMERIC support. Any comments for or against. Francois --~--~-~--~~~---~--~~ You received this message