fying a custom widget for each field,
> you could monkey patch gluon.sqlhtml.DecimalWidget or
> gluon.sqlhtml.SQLFORM.widgets (change the "decimal" value to a custom
> class).
>
> Anthony
>
>
> On Monday, June 1, 2015 at 2:04:23 PM UTC-4, Pavel Tyurikov wrote:
Is it possible to make SQLFORM default widget for decimal field like this:
Field('quantity', 'decimal(5,2)', label = 'Price')
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
=True)
... and now it is all working completely.
Thanks again.
Pavel
--
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 becaus
Really thanks José,
your "labels" app help me with understanding fpdf. My apps is working now.
"Little" problem is unicode characters. I tried examples from fpdf wiki
pages, but without success.
Fortunately all dynamic fields on our ID cars is numbers and characters
without accent.
Thanks
--
R
Hallo,
I am making simple app for registrations and printing ID cards. I have
simple pdf view. For instance:
{{
import os
from gluon.contrib.generics import pdf_from_html
html = 'Today is: ' + str(request.now)
=pdf_from_html(html)
}}
How to specify PDF page size for instance like credit card s
Really thanks Anthony. It works now:).
--
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
Hallo,
I have problem with component. I am newbe too...
I have component view my.load with this content:
Events:
{{for row in
users_and_events(db.registrations.registered_user==auth.user_id).select():}}
{{=A(row.s_events.title, _href=URL('show', args=row.s_events.id))}}
{{pass}}
In view where
Thanks:)
On Sunday, December 14, 2014 1:40:15 PM UTC+1, Niphlod wrote:
>
> A(, noconfirm=True)
>
> On Friday, December 12, 2014 2:09:59 PM UTC+1, Pavel wrote:
>>
>> I have another question:
>> Example from works fine.
>> But, how to prevent showing popup
I have another question:
Example from works fine.
But, how to prevent showing popup message with warning about deleting
object from page?
Thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p
Set ignore_rw=True may be the way to go. Really thanks for your suggestion,
now I see it in the book.
--
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
Hi, I'm new in web2py and I'm bulding apps for students registrations on
school events.
Exists better method for setting ALL default values in fields and hide them
ALL in SQLFORM? I do not make it in table definition as I need table for
other form.
Thanks
My definition:
def view_event():
11 matches
Mail list logo