[web2py] Re: [REMEMBER_ME] Not working

2017-05-10 Thread Nico de Groot
If you want this functionality you have to look outside the box/web2py. You can maybe use autofill options in your browser or a password manager. Note that this is clientside. Nico de Groot -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Reportlab show image stored in database

2017-05-10 Thread Dave S
On Wednesday, May 10, 2017 at 5:32:38 PM UTC-7, Winter Kryz wrote: > > Hello everyone, > > I'm doing a report using reportlab and I have a table like this > > db.define_table('document', > Field('file_name','string'), > Field('file','upload'), >)

[web2py] Reportlab show image stored in database

2017-05-10 Thread Winter Kryz
Hello everyone, I'm doing a report using reportlab and I have a table like this db.define_table('document', Field('file_name','string'), Field('file','upload'), ) What I need to do is get the file from the database and display it on a PDF report.

[web2py] Re: rendering multiple components in ajax call

2017-05-10 Thread Lars
The solution is to put the table and the form in a div not in a dict. Simple enough.. ^^ On Wednesday, May 10, 2017 at 10:35:42 PM UTC+2, Lars wrote: > > Hi, > > Those are my first steps with ajax, so please indulge me.. :) > > I have a list of divs describing objects. Id like to click on one

[web2py] Re: How do I change the sqlform button location

2017-05-10 Thread 'hardclock' via web2py-users
Thank you but could you explain more about the custom.widget?Is it a custom widget that I can make and can I add it to css or only on the html files in view? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Manual error regarding "hidden" fields

2017-05-10 Thread Dave S
On Wednesday, May 10, 2017 at 11:01:18 AM UTC-7, Joe Barnhart wrote: > > "Invalidate".was supposed to be "onvalidation" before autospell worked its > wonder... :-) I'll see what I can do tonight. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] Re: How can I union 2 different table datasets?

2017-05-10 Thread George D Elig
I created a view as you suggested. However, when I ran the view in SQLForm.grid() I received a web2py error that the 'id' did not exist (which is doesn't). As a hack to get around this, I manually created a column named 'id' and hard-coded the value to '1' because my grid is display only and

[web2py] Re: How do I change the sqlform button location

2017-05-10 Thread Lars
Hi, For custom styles, you should use the web tools addons in firefox to get the chain of formattings : you click on the button you want to customize and you have all css styles matching it. To change the disposition of the widgets (input, button, etc..), for a complete customization you

[web2py] rendering multiple components in ajax call

2017-05-10 Thread Lars
Hi, Those are my first steps with ajax, so please indulge me.. :) I have a list of divs describing objects. Id like to click on one div so that it sends the object id in an ajax call which would open a div at the top with the object description and a form to bid on it. I don't know how to

[web2py] How do I change the sqlform button location

2017-05-10 Thread 'hardclock' via web2py-users
Hello everyone. I'm sorry for the inconvenience,I just started learning css and web2py recently. With the\is page I want to create a login layout similar to the on in ubuntu where the input fields are in the middle and the "username/password" texts are inside the fields. I was able to change

[web2py] Re: Getting different home pages for my App on python anywhere!!!

2017-05-10 Thread Anthony
Do you have a routes.py, and if so, what are its contents? Anthony On Wednesday, May 10, 2017 at 1:43:45 AM UTC-4, mostwanted wrote: > > Hi guys, i developed an APP in web2py and hosted it with python anywhere, > now when i go to the URL i seem to be getting 2 different home pages for my >

Re: [web2py] Re: flash message gets lost

2017-05-10 Thread Anthony
On Wednesday, May 10, 2017 at 3:14:08 AM UTC-4, Yebach wrote: > > How do you suggest I arrange my controller for user? > That's up to you, but for starters, maybe instead of putting all the logic in "if" blocks, make use of the Auth callback settings, such as auth.settings.register_onaccept.

[web2py] Re: [REMEMBER_ME] Not working

2017-05-10 Thread Anthony
On Wednesday, May 10, 2017 at 8:33:28 AM UTC-4, sunda.am...@gmail.com wrote: > > OW, so how do i call the functionnality that even when i logout, he > remember the email i putted in the email form , and the password which goes > with that emails ??? > Are you saying you want to be able to

[web2py] Re: Manual error regarding "hidden" fields

2017-05-10 Thread Joe Barnhart
"Invalidate".was supposed to be "onvalidation" before autospell worked its wonder... -- 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

[web2py] Re: Manual error regarding "hidden" fields

2017-05-10 Thread Joe Barnhart
It looks like just swapping the lines works. It's the simplest example of using hidden fields and it works even in my more complicated case. I was hoping to be "clever" and doing something in "invalidate" after the form was validated but before it was stored. But the logic in the "validate"

[web2py] Autocomplete How to search in midle of string

2017-05-10 Thread isi_jca
Hi!!! 1°) I am using autocomplete widget in this manner db.tpersona.idprovincia.widget = SQLFORM.widgets.autocomplete(request, db.trprovincia.descripcion, id_field= db.trprovincia.id, limitby=(0,20), min_length=2 ) This

[web2py] Re: [REMEMBER_ME] Not working

2017-05-10 Thread sunda . amran
OW, so how do i call the functionnality that even when i logout, he remember the email i putted in the email form , and the password which goes with that emails ??? Thanks Le mardi 9 mai 2017 16:16:25 UTC+2, Anthony a écrit : > > On Tuesday, May 9, 2017 at 4:04:52 AM UTC-4,

Re: [web2py] Re: flash message gets lost

2017-05-10 Thread Vid Ogris
How do you suggest I arrange my controller for user? 2017-05-09 16:17 GMT+02:00 Anthony : > No, you should still set session.flash in your controller code. However, > your view should have {{=response.flash}}, as the framework will move the > value of session.flash to