[web2py] SQLFORM update not working?

2010-07-27 Thread Florian
rollers/product.py has this function: --- def edit(): form = SQLFORM(db.product, request.args(0)) return dict(form=form) --- and views/product/edit.html: --- {{extend 'layout.html'}} {{=T("Edit product")}} {{=form}} --- Hope you can help me, Florian

[web2py] SQLFORM update not working?

2010-07-27 Thread Florian
rollers/product.py has this function: --- def edit(): form = SQLFORM(db.product, request.args(0)) return dict(form=form) --- and views/product/edit.html: --- {{extend 'layout.html'}} {{=T("Edit product"}} {{=form}} --- Hope you can help me, Florian

[web2py] Re: SQLFORM update not working?

2010-07-27 Thread Florian
sry for reposting, it somehow didn't show up...

[web2py] Re: SQLFORM update not working?

2010-07-27 Thread Florian
orm=form) > > and this: > >   db.product.ean.requires = IS_NOT_EMPTY(), > IS_NOT_IN_DB(db,'product.ean') > > can be simplified into > >   db.product.ean.requires = IS_NOT_IN_DB(db,'product.ean') > > since IS_NOT_IN_DB now checks whether

[web2py:24326] Re: new slides

2009-06-16 Thread Florian
http://www.web2py.com/examples/static/cookbook2.pdf I get: invalid function :-( On 2 Jun., 04:31, mdipierro wrote: > I posted another version. Now it is twice as long. still lots to say > but please send me feedback. > > http://www.web2py.com/examples/static/cookbook2.pdf > > Massimo --~--~---

[web2py] Sending emails with background queue problem

2012-08-11 Thread Florian Letsch
I want to send emails using a background queue as described in the web2py book: http://web2py.com/books/default/chapter/29/8#Sending-messages-using-a-background-task However, the queue only sends emails that have been in the database when I start the script. Database entries added lateron don't

[web2py] Sending email from background queue

2012-08-11 Thread Florian Letsch
*My first post somehow didn't make it to the group, I don't know where it got lost. Sorry if I submit this twice, I have never participated in a news group before.* I am trying to set up a background queue for sending email as described in the web2py book. http://web2py.com/books/default/chap

[web2py] Re: Sending emails with background queue problem

2012-08-13 Thread Florian Letsch
ntroller function adds a confirmation email to the queue) [0] https://groups.google.com/forum/?fromgroups#!topic/web2py/YT2jDMea6lU On Sunday, 12 August 2012 07:17:39 UTC+12, Massimo Di Pierro wrote: > > Are you using mysql? > > On Friday, 10 August 2012 23:11:03 UTC-5, Florian Letsch wr

[web2py] Re: Sending email from background queue

2012-08-13 Thread Florian Letsch
wrote: > > How are emails added to the database -- does that happen within the > application, or also in a script? > > On Saturday, August 11, 2012 12:55:40 AM UTC-4, Florian Letsch wrote: >> >> *My first post somehow didn't make it to the group, I don't know whe

[web2py] Manually setting email for auth registration form

2012-11-15 Thread Florian Letsch
I have some custom requirements for registration, but I still want to use auth.register() with a custom form view to rely on web2py's form validation. Background: I have a table of allowed email addresses with a generated secret hash. (kind of like an invitation only registration). When you acc

[web2py] Cannot set string field to None

2012-12-13 Thread Florian Letsch
I have a few additional fields set on my db_auth table, mainly in order to implement a simple invite system: auth.settings.extra_fields['auth_user']= [ Field('invite_sent', 'datetime', default=None), # None for activated users Field('invite_key')] When the invite has been accepted, I want

[web2py] How can i change my in poweredby submitted NAME and description

2016-08-31 Thread Karl Florian
I would like to access my submitted poweredby data?! Best regards Karl -- 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

[web2py] How to add pagepeeker thumbnail link to poweredby

2016-08-31 Thread Karl Florian
I would like to add the following link to my poweredby entry. How can this be done? -- 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 mes

[web2py] Submit button inactive after displaying pdf-file with return response.stream(...

2015-11-06 Thread Karl Florian
*Sorry everybody but i need your help again.* Here is my code: def languages_pedit(): req_id=request.args(0) form = SQLFORM.factory( Field('sortpdf', 'string', label='Sort-by', requires=IS_IN_SET(['ISO-Code','Description']), default='ISO-Code'), formstyle = 'table3cols', submi

[web2py] Re: Submit button inactive after displaying pdf-file with return response.stream(...

2015-11-07 Thread Karl Florian
>> >> >> On Friday, November 6, 2015 at 9:33:47 AM UTC-8, Karl Florian wrote: >>> >>> *Sorry everybody but i need your help again.* >>> >>> Here is my code: >>> >>> def languages_pedit(): >>> >> >> [.

[web2py] Re: Submit button inactive after displaying pdf-file with return response.stream(...

2015-11-09 Thread Karl Florian
orm is submitted, response.js will be returned to the > browser where it will be executed, resulting in the file being downloaded. > > Anthony > > On Saturday, November 7, 2015 at 3:45:07 AM UTC-5, Karl Florian wrote: >> >> Hi, >> maybe some Pictures can dem

[web2py] Re: Submit button inactive after displaying pdf-file with return response.stream(...

2015-11-09 Thread Karl Florian
Montag, 9. November 2015 13:25:46 UTC+1 schrieb Anthony: > On Monday, November 9, 2015 at 3:16:46 AM UTC-5, Karl Florian wrote: >> >> Thank you for your very good suggestions. >> Here is what i tried: >> Putting the script into my print_countries view worked good. >>

[web2py] 5 fields with requires IS_IN_DB in database table makes loading of SQLFORM.grid very slow

2015-11-25 Thread Karl Florian
Hi, 5 fields with requires IS_IN_DB in one of my database tables makes loading of my SQLFORM.grid and SQLFORM very slow. It takes about 20 seconds to open up the SQLFORM.grid view. The users need to pick values out of these 5 masterdata tables. My Impression is that alle of these table are comp

[web2py] Re: web2py 2.13.1 is OUT

2015-12-21 Thread Karl Florian
*Hi,* *I too upgraded to this Version.* *My issue is the following controller function worked in the previous versions but not in this one.* *The onvalidation def txtlabel_valupd(form): is not filling my form.vars.titel and form.vars.posting * *as it did in previous versions!?* *If form.vars.t

[web2py] SQLForm.factory jquery conditional fields in Views

2017-06-26 Thread Karl Florian
*Hi everybody,what is wrong with this JQuery Script?Changing the reporttype, should hide or show the incomingref field.Best regardsCharles Heinz Florian -Controllers - orderrpt.py* WHINREPS = {'CARGIN'

[web2py] How to get my pdf-file to display from webserver

2015-11-02 Thread Karl Florian
Hi, i am a newby to web2py and need some help dislaying label in my application. I’m using Latex and PSTricks to create my barcode label.pdf files. The problem is, everthing works ok on local Windows or Ubuntu but not from my Linux-VServer (WEbServer). The label.pdf is created but not display

Re: [web2py] How to get my pdf-file to display from webserver

2015-11-03 Thread Karl Florian
StringIO.StringIO(data)) > > > > > On Mon, Nov 2, 2015 at 4:29 PM, Karl Florian > wrote: > >> Hi, >> i am a newby to web2py and need some help dislaying label in my >> application. >> >> I’m using Latex and PSTricks to create my barcode label.pdf

Re: [web2py] How to get my pdf-file to display from webserver

2015-11-03 Thread Karl Florian
I think i found my own solution. Wo ever has the same Problem, try this!!! import webbrowser webbrowser.open_new(r'file://C:\path\to\file.pdf') It works just the way i Need it. Am Dienstag, 3. November 2015 16:38:06 UTC+1 schrieb Karl Florian: > > Hi Massimil

Re: [web2py] How to get my pdf-file to display from webserver

2015-11-03 Thread Karl Florian
before. Am Dienstag, 3. November 2015 23:31:07 UTC+1 schrieb Dave S: > > > On Tuesday, November 3, 2015 at 1:26:26 PM UTC-8, Karl Florian wrote: >> >> I think i found my own solution. >> Wo ever has the same Problem, try this!!! >> >> import web

Re: [web2py] How to get my pdf-file to display from webserver

2015-11-04 Thread Karl Florian
fter the PDF file was displayed. Thanks everybody for helping. Am Mittwoch, 4. November 2015 01:38:15 UTC+1 schrieb Dave S: > > > On Tuesday, November 3, 2015 at 3:30:59 PM UTC-8, Karl Florian wrote: >> >> No it didn't work on the web. >> local Linux and Windows wo