I really dislike angular's syntax. Its unnecessarily weird.
On Monday, October 27, 2014, Vasile Ermicioi elff...@gmail.com 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 phyo.arkarl...@gmail.com
Hi Massimo,
In which provider log should I look into? (service provider [web2py
app] or idp provider [okta / onelogin]).
Could you share your web2py app's (service provider) setting and idp
provider settings?.
I've followed same instructions but getting that error.
On Sat, Oct 25,
I have a table in sqlserver 2008r2 where the ID column is not an identity
(but is a unique integer). The ID column is not called ID.
I am using update_or_insert and in the case of new record I provide the
value for the ID column.
This is web2py trunk. The database adapter is mssql3
I am
On Monday, 27 October 2014 18:17:10 UTC+11, Tim Richardson wrote:
I have a table in sqlserver 2008r2 where the ID column is not an identity
(but is a unique integer). The ID column is not called ID.
I am using update_or_insert and in the case of new record I provide the
value for the ID
Hello.
I'm still checking how to do an ecommerce website with web2py.
As the website will be Italian, I've to check how making payments.
Stripe.com, Authorize.net, and DowCommerce seems to be dedicated to US
customers.
With Google Wallet all products have to registrated inside the Google
Same problem - website for Austrian customers. I am interested too.
Regard, Martin
2014-10-27 9:52 GMT+01:00 Gael Princivalle gaelprinciva...@gmail.com:
Hello.
I'm still checking how to do an ecommerce website with web2py.
As the website will be Italian, I've to check how making payments.
Hi,
try http://www.worldpay.com/global, it has a nice api.
-Mirko
On Monday, October 27, 2014 9:52:16 AM UTC+1, Gael Princivalle wrote:
Hello.
I'm still checking how to do an ecommerce website with web2py.
As the website will be Italian, I've to check how making payments.
Stripe.com,
Hi Mirko.
Have you already integrate worldplay inside web2py ?
--
Gael Princivalle
2014-10-27 10:01 GMT+01:00 Mirko mscavaz...@gmail.com:
Hi,
try http://www.worldpay.com/global, it has a nice api.
-Mirko
On Monday, October 27, 2014 9:52:16 AM UTC+1, Gael Princivalle
No, but I did it in Plone quite smoothly a long time ago.
On Monday, October 27, 2014 10:16:52 AM UTC+1, Gael Princivalle wrote:
Hi Mirko.
Have you already integrate worldplay inside web2py ?
--
Gael Princivalle
2014-10-27 10:01 GMT+01:00 Mirko mscav...@gmail.com
Worldpay have a monthly fee, and Paypal no.
http://www.ki-media.co.uk/how-to-choose-a-payment-gateway/
--
Gael Princivalle
2014-10-27 10:20 GMT+01:00 Mirko mscavaz...@gmail.com:
No, but I did it in Plone quite smoothly a long time ago.
On Monday, October 27, 2014
Using rocket on trunk, the admin- database-cache Clear Cache? is
causing an exception.
Version:0.9 StartHTML:0229 EndHTML:5194 StartFragment:0263
EndFragment:5158
Model:
db.define_table('article',
Field('art_id', 'reference akb_articles'),
Field('title', type=citext), #artikel titel
Field('abstract',type=citext), #ab
Field('doc_type', length=78),
Field('author_count',
New information. This does not happen when I move the 'represent' into
the field definition:
Field('url', 'text', represent= lambda x, record:
get_url(x)),
Regards
Johann
On 27 October 2014 11:28, Johann Spies johann.sp...@gmail.com wrote:
Model:
db.define_table('article',
Current code looks like this :
https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L2031
See if it helps
-Mandar
P.S. : I posted original query (2 yrs ago) but as mentioned earlier in the
thread - I ended up using session variable though.
--
Resources:
- http://web2py.com
-
definitively needs to be an identity to make any insert*() work. And it is
since the beginning.
On Monday, October 27, 2014 8:42:12 AM UTC+1, Tim Richardson wrote:
On Monday, 27 October 2014 18:17:10 UTC+11, Tim Richardson wrote:
I have a table in sqlserver 2008r2 where the ID column is
what do you mean by angular syntax?
angular templates are similar to web2py templates
angular controllers is just plain javascript
angular is a great framework
On Mon, Oct 27, 2014 at 8:14 AM, Phyo Arkar phyo.arkarl...@gmail.com
wrote:
I really dislike angular's syntax. Its unnecessarily
I have the following field definition:
Field('expiryDate', **isdate),
isdate = dict(type='date', requires=IS_DATE(format='%d-%m-%Y',
error_message='Incorrect format dd-mm-'),
represent=lambda v: v.strftime('%d/%m/%Y') if v else '')
and javascript function:
$(function()
I have the following field definition:
Field('agreedPrice', type='double', default=0.00,
requires=[IS_FLOAT_IN_RANGE(0,256, dot=',', error_message='Format not of
type double')], notnull=True, label='Price in euro', writable=False,
readable=False),
agreedPrice is set in a function:
By moving the represent inside the Field definition you allow the table to
be lazy. As in, the table is only defined when it really needs to be. I'm
guessing that table akb_articles is defined after this one. I would both
use the represent inside the field as lazy tables are faster, and make
form.custom.widget.whatever is a widget, not a value.
On Monday, October 27, 2014 12:18:24 PM UTC+1, Annet wrote:
I have the following field definition:
Field('agreedPrice', type='double', default=0.00,
requires=[IS_FLOAT_IN_RANGE(0,256, dot=',', error_message='Format not of
type
does it have a class =date ?
On Monday, October 27, 2014 12:04:37 PM UTC+1, Annet wrote:
I have the following field definition:
Field('expiryDate', **isdate),
isdate = dict(type='date', requires=IS_DATE(format='%d-%m-%Y',
error_message='Incorrect format dd-mm-'),
form.custom.widget.agreedPrice is the actual input widget for the field --
why do you want to use that as the HTML placeholder attribute? The
placeholder attribute should just be some text you want to display in the
field. If you want to display the default value, then just use something
like
Mangopay works in Europe, has no monthly fees and it has a python sdk:
https://github.com/MangoPay/mangopay2-python-sdk
It shouldn't be too hard to integrate.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Thanks for your reaction Leonel.
On 27 October 2014 13:25, Leonel Câmara leonelcam...@gmail.com wrote:
By moving the represent inside the Field definition you allow the table to
be lazy. As in, the table is only defined when it really needs to be. I'm
guessing that table akb_articles is
I am encountering what I think is a weird problem with an ajax call.
My web page contains an iframe, which is loaded with a normal
controller/view web2py request.
When a button is clicked that should cause the javascript in the iframe to
send an ajax request to web2py, I am seeing only a
Hi Simone,
Thanks for your reply.
Yes it does have a class=date form-control
whereas it should have class=date form-control hasDatepicker
Best,
Annet
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Hi Simone and Anthony,
Thanks for your replies.
I wanted to style this custom form the Bootstrap 3 way:
http://getbootstrap.com/css/#forms-control-disabled
That's why I use the placeholder attribute.
Using db.mbs_sub_register.agreedPrice.default as the placeholder soves the
issue.
Best,
Yes, the problem is not with using the placeholder attribute -- it's just
with what you put in there.
On Monday, October 27, 2014 8:34:02 AM UTC-4, Annet wrote:
Hi Simone and Anthony,
Thanks for your replies.
I wanted to style this custom form the Bootstrap 3 way:
Hi Mandar,
as you pointed me to source it seems there is still just args parameter.
I tried with session.vars but somehow I was loosing those vars and it just
did not feel right to me.
I ended up switching to args and pass those request.args to grid as args
parameter.
It works now but I like
Having same problem citation This code produce only a simple imput box and
not a drop down menu
Have you found a solution?
Dana petak, 11. listopada 2013. 19:06:23 UTC+2, korisnik Py Dev napisao je:
Massimo,
thank you very much for your example, but it does not work, here is my
complete
Hi!
I reported a bug with translation here
https://code.google.com/p/web2py/issues/detail?id=2003sort=-modifiedcolspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Modified
.
Can someone to look at it and to suggest a solution?
Thanks!
--
Resources:
- http://web2py.com
-
I agree with Phyo. It is not the template syntax that is weird, it is the
logic of defining controllers and scope clientside. I like ractive.js
instead.
On Monday, 27 October 2014 01:14:51 UTC-5, Phyo Arkar wrote:
I really dislike angular's syntax. Its unnecessarily weird.
On Monday,
I would like this intergrated. Let me know if I can help.
On Monday, 27 October 2014 06:35:51 UTC-5, Leonel Câmara wrote:
Mangopay works in Europe, has no monthly fees and it has a python sdk:
https://github.com/MangoPay/mangopay2-python-sdk
It shouldn't be too hard to integrate.
--
I agree with Phyo and Massimo
Ractive.js is much better in that sense.
On Monday, October 27, 2014 8:30:38 AM UTC-5, Massimo Di Pierro wrote:
I agree with Phyo. It is not the template syntax that is weird, it is the
logic of defining controllers and scope clientside. I like ractive.js
Great. Mangopay is also really cheaper than Paypal for the merchant:
http://www.mangopay.com/pricing/
For the moment I must spend time for building all the application without
the payment function.
In a couple of months I'll take care of it. I hope someone else will have
done something on
Javascript code in the iframe shouldn't make changes in the top frame. It's
possible if the iframe is in the same domain, my guess is that you aren't
referring to the parent window so it's looking for the place to put the
ajax call result inside the iframe, but you shouldn't. Why are you using
I am looking to reduce the amount of data transferred by making this page
of my application behave like an SPA (single-page application).
I have searching built into the master page, and then individual records
are loaded into the iframe, one at a time. When a user wants another
record, they
You really don't need an iframe for any of this. If you really want to
reduce the amount of data you should have your search form return the
results using json and then make the HTML to put in the results using
javascript.
That said I don't know exactly what's going wrong. My guess is that
Hey Tim,
This problem was caused by appadmin creating files in the cache folder that
shouldn't be there, it has been fixed:
https://github.com/web2py/web2py/commit/9d4b2e66c4736c218033e8be70d135cdf0fc718f
Until we release another version you need to update your appadmin manually
and delete
Instead of the iframe, why not just put the record in a div that gets
updated via Ajax?
On Monday, October 27, 2014 11:16:14 AM UTC-4, Craig Matthews wrote:
I am looking to reduce the amount of data transferred by making this page
of my application behave like an SPA (single-page
if you are building single page applications you will do the same thing
with qooxdoo,
so I don't get it..
controller + view + databinding + directives = great combos for building
components(widgets)
here a simple example to get an idea
On Saturday, October 25, 2014 11:25:46 AM UTC-7, LoveWeb2py wrote:
Thank you, Massimo. I'll look into that. First time I've heard of html5
local storage.
Following the link Massimo was most interesting. I took my HTML course
when HTML5 was just a little too new to be covered, so I'm
Thanks
--
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 Groups
web2py-users group.
To
Hi all,
Anyone can tell me if there are any limitations on response buffer size?
I created a proccess that generates 6000 lines, when I try to output them
to browser1 i got the error from Rocket:
File /web2py/gluon/rocket.py, line 152, in _sendall_darwin
sent = self.socket.send(buf[offset:])
no, it shouldn't. any .date gets added a datepicker automatically by
web2py.js... the point is having an input with a date class to make the
binding with the calendar valid. You're doing something wrong with your
custom form since you say normal ones work.
On Monday, October 27, 2014 1:23:08
I stole this answer from stackoverflow...
Your server process has received a SIGPIPE writing to a socket. This
usually happens when you write to a socket fully closed on the other
(client) side. This might be happening when a client program doesn't wait
till all the data from the server is
I would suggest you store first the name of the file to play in
localstorage and then read the name of the file from localstorage to play
it. if the person for some reason disables localstorage they won't hear the
sound... which is probably better than annoying someone every single time
http://web2py.com/books/default/chapter/29/14/other-recipes
They have a lot of pay vendors supported. Pick one. If you'd like an
integration, look here...
http://docs.mangopay.com/api-references/
It looks super easy to do one.
If you don't want to use their rest api, then use
this:
For sure we can make better notes. But for what it's worth, these are my
notes on getting web2py working on IIS. Including Simone's solution to IIS
clobbering requests when they created or modified .py files.
I just discovered Reactive.js. I like the syntax , its a lot like
web2py's template. cool!
It actually let you write lesser line of code.
What i don't like about Angular especially is Directives.Followed by
defining controllers and scope clientside as Massimo saids.
I also find defining
50 matches
Mail list logo