Re: [web2py] Kendo UI

2014-10-26 Thread Phyo Arkar
I really dislike angular's syntax. Its unnecessarily weird. On Monday, October 27, 2014, Vasile Ermicioi wrote: > I would build the interface with angular+kendoui and use web2py for REST > API > > On Sun, Oct 26, 2014 at 1:26 AM, Phyo Arkar > wrote: > >> Forgot the actual site : >> http://qooxd

[web2py] Re: Menus and Selected Tab

2014-10-26 Thread LoveWeb2py
I would be interested in having this work as well. Was there ever a fix for this? On Sunday, February 16, 2014 12:26:58 PM UTC-5, horridohobbyist wrote: > > In the latest version of web2py, this solution no longer works. There's no > "web2py-menu-active" class. Is it now standard policy for web2

Re: [web2py] Re: Question about a field boolean in MSSQL

2014-10-26 Thread Gianganh Nguyen
Oh, I understand. Thank you so much! :) On Fri, Oct 24, 2014 at 7:28 PM, Anthony wrote: > Looks like the MSSQL2 adapter stores booleans as "T" and "F" character > values, so you may need to convert your 1's and 0's to "T" and "F". > > Anthony > > > On Friday, October 24, 2014 7:14:47 AM UTC-4, G

Re: [web2py] Re: Kendo UI

2014-10-26 Thread Vasile Ermicioi
I would build the interface with angular+kendoui and use web2py for REST API On Sun, Oct 26, 2014 at 1:26 AM, Phyo Arkar wrote: > Forgot the actual site : > http://qooxdoo.org > http://demo.qooxdoo.org/current/widgetbrowser/ > > http://demo.qooxdoo.org/devel/demobrowser/# > > On Sun, Oct 26, 201

[web2py] Re: Web2py and xlsxwriter

2014-10-26 Thread Niphlod
I think your problems comes from the fact that any external library doesn't know how to handle T objects. You should use str(T('something')) instead to convert T instances to strings, that will be digested by external libs pretty easily. On Sunday, October 26, 2014 7:18:26 PM UTC+1, Stefan van d

Re: [web2py] Re: web2py setup scripts for windows

2014-10-26 Thread Niphlod
the beauty of R&D + trial and errors always amazes me. Many thanks you for keep trying and opening my eyes to what I sincerely didn't test in the latest revision of wfastcgi.py . I'm going to test it further and figure out the best logic to handle web2py in iis and - possibly - provide a setup

[web2py] Re: Web2py and xlsxwriter

2014-10-26 Thread Stefan van den Eertwegh
Hi Massimo, No thank you, i use weasyprint for making PDFs, which is very easy with self made html views. This topic goes about using web2py to make excel sheets. Maybe you have some ideas Massimo? Thank you! Op zondag 26 oktober 2014 16:34:58 UTC+1 schreef Stefan van den Eertwegh: > > Hi, > >

[web2py] Re: Web2py and xlsxwriter

2014-10-26 Thread Massimo Di Pierro
If you have reportlab installed you can make them directly in PDF: from reportlab.pdfgen.canvas import Canvas from reportlab.platypus import Table from reportlab.lib.pagesizes import A4 from reportlab.lib.units import cm import cStringIO class PDF(object): def __init__(self, page_size=A4, fon

[web2py] Re: Getting web2py to reload module files for each return view

2014-10-26 Thread tahnoon pasha
Thanks Massimo. Perfect. On Saturday, 25 October 2014 07:52:03 UTC+8, Massimo Di Pierro wrote: > > Normally modules are not reloaded because they are cached by python. > web2py can bypass this, depending on where the modules are located. If you > kwwp in your modules in the web2py app/modules fo

[web2py] SQLFORM.grid search: how to show only a subset of available search fields?

2014-10-26 Thread Jack Kuan
Answering my own question: my solution is to massage the returned grid object, removing duplicate options and other unwanted html elements. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2p

[web2py] Re: Form generated in super class causes 303 error when validator is given the 'next' parameter

2014-10-26 Thread Spokes
The redirect() function is just a shortcut for raising an HTTP exception with a status code of 303 (this is mentioned in the documentation ). This allows a redirect to immediately abandon the current request and return an

[web2py] Re: Upload to static folder in other application

2014-10-26 Thread Anthony
> > When the user inserts a subgroup this works, however, when the user > updates the name and description and does not > re-upload an image I get the following error: > > Is there a way to prevent this from happening? > > Traceback (most recent call last): > File "/Users/iannet/web2py-deutschl

[web2py] Re: Form generated in super class causes 303 error when validator is given the 'next' parameter

2014-10-26 Thread Anthony
The redirect() function is just a shortcut for raising an HTTP exception with a status code of 303 (this is mentioned in the documentation ). This allows a redirect to immediately abandon the current request and return an

[web2py] Web2py and xlsxwriter

2014-10-26 Thread Stefan van den Eertwegh
Hi, I am writing for my invoice app a excel (xlsx) function to export a view of al my invoices to excel. Does anyone has some experience with xlsxwriter? Or some tips or alternatives? Or maybe you advise me to use xlwt from python-excel.org? I am having trouble with the translatable string tha

[web2py] Re: Form generated in super class causes 303 error when validator is given the 'next' parameter

2014-10-26 Thread Spokes
Dabbled with it some more, and it seems that the problem doesn't exist only when using the super class to generate the form. I've tried a couple of functions that generate the form within the controller. The first variant is this (passing the 'next' directive to validate()): def create_form():

[web2py] Re: Slower task scheduler performance

2014-10-26 Thread nick name
On Wednesday, October 22, 2014 6:21:43 PM UTC+3, Carolina Nogueira wrote: > I'm not quite sure whether I am doing something wrong or not... As far as > I understand, the overhead from the web service should be completely > located outside the script and not reflect during its execution. What am