Yes its wrong I'm sorry I didn't notice it. You got the order wrong. It
should be:
Field('organizationID','reference Organization', requires = IS_IN_DB(db.
Organization.organizationPrimaryTypeID == 1, 'Organization.id')),
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation
Il 16/09/15 19:41, lenin.marti...@metamaxzone.com ha scritto:
> Omg thanks problem solved. Can you give me more documentation about that.
http://web2py.com/books/default/chapter/29/04/the-core#request
and maybe you would like to read also...
http://web2py.com/books/default/chapter/29/04/the-core#r
Perhaps breaks was a little strong, I should say it conflict with
Bootstrap's .hidden class and causes problems with javascript being used to
show and hide sections.
Thanks,
Stuart
On Wednesday, September 16, 2015 at 10:02:23 AM UTC-7, Anthony wrote:
>
> What Bootstrap functionality is broken b
That got it, thank you.
On Wednesday, September 16, 2015 at 8:25:18 AM UTC-7, Leonel Câmara wrote:
>
> web2py.js does that, I think it's because of appadmin using class hidden
> and since appadmin uses your app's layout it may not have the css saying
> it's supposed to be display:none, but to be
That got it , Thanks.
On Wednesday, September 16, 2015 at 10:02:23 AM UTC-7, Anthony wrote:
>
> What Bootstrap functionality is broken by this?
>
> On Wednesday, September 16, 2015 at 9:42:55 AM UTC-4, Stuart Rolinson
> wrote:
>>
>> When I create an item directly in the html form with a class ='h
That got it , Thanks.
On Wednesday, September 16, 2015 at 6:42:55 AM UTC-7, Stuart Rolinson wrote:
>
> When I create an item directly in the html form with a class ='hidden' for
> use with bootstrap, web2py appears to be rendering an additional element
> style "display:none" which stops bootstra
And this does work, which is very bad.
def example2():
rows = db(db.agencias).select()
#create as many forms as rows
forms = dict()
for row in rows:
forms[row.id] = SQLFORM(db.agencias, row.id).process()
fields = forms.itervalues().next().fields
if reque
I get it
you meant "Changing" right ?
this is the way Vue.config.delimiters = ['(%', '%)'];
2015-09-16 23:27 GMT+01:00 António Ramos :
> Massimo, can you explain what it "chancing the triple delimiters" ?
>
> i used web2py with vuejs without a problem...
>
>
> for example i import my app.js in
I am trying with something like this
links = [lambda row: A('',_class='glyphicon glyphicon
glyphicon-remove-sign',
_href =URL('settings','deactivate',
vars=dict(s = '2')))]
But I cannot send vars to my controller function
I also tried with callback()
Any idea why?
I need to send id of the reco
*So what? You should future proof the app. Some day there might be
extensions in India or something.*
Actually, the extensions are internal to the company, either phone numbers
or mobile numbers, so your scenario won't ever apply.
*Do you mean the extensions of the persons he supervises?*
That
+1
*There's no need for an extension to have a supervisor, because the
supervisor is already stored in Person. !!!*
2015-09-17 11:10 GMT+01:00 Carla Raquel :
> *So what? You should future proof the app. Some day there might be
> extensions in India or something.*
>
> Actually, the extensions are
> Actually, the extensions are internal to the company, either phone
numbers or mobile numbers, so your scenario won't ever apply.
Fine, I disagree with this assumption but I'm not your client.
> Conclusion: Just the Supervisor extensions
Well this is very easy, the Supervisor is just a Person
What do you mean you cannot send vars? Exactly what is happening? Please show
more code.
--
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 thi
Is any reason that I don't see "add record" and "view" button with my
sqlform.grid (like shown in the example
here:
http://web2py.com/books/default/chapter/29/07/forms-and-validators#SQLFORM-grid)?
When I use @auth.requires_login(). I do see the edit and delete button.
# db.py
db.define_tab
Hi,
i'm new on web2py and i try to create a simple app for billing
user will enter unit price and quantity and sum automati apper
on form row1*row2 = sum
cant someone help me
thank's
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (So
"view" depends on the details=False argument
"add record" on the create=False
Its working exactly as requested :P
--
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 Issu
No need for all this -- you can still use the method I proposed, creating
just a single form (and giving it an explicit name). As you build each form
in the view, just include a hidden "id" field and set its value to row.id
(no need to use the "hidden" argument to SQLFORM, as you will be adding
The first argument to IS_IN_DB can be either a DAL object (i.e., just "db")
or a Set object (which is what you want). The second argument must be a
field (either a field object or the name in 'tablename.fieldname' form) --
it cannot be a Query object, as you are using. So, you want:
IS_IN_DB(db
On Thursday, September 17, 2015 at 3:08:31 AM UTC-4, Leonel Câmara wrote:
>
> Yes its wrong I'm sorry I didn't notice it. You got the order wrong. It
> should be:
>
> Field('organizationID','reference Organization', requires = IS_IN_DB(db.
> Organization.organizationPrimaryTypeID == 1, 'Organizati
Niphlod can probably provide better advice regarding managing scheduler
workers and system resources, but yes, you should be able to have a few
workers running ready to handle incoming tasks.
On Wednesday, September 16, 2015 at 6:11:08 PM UTC-4, Phillip wrote:
>
> Are you saying that if I start
perhaps you can take a look at web2py appliances about posonlinestore
http://www.web2py.com/appliances
https://github.com/mdipierro/web2py-appliances
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
On Thursday, September 17, 2015 at 3:55:48 AM UTC-7, Anthony wrote:
>
> What do you mean you cannot send vars? Exactly what is happening? Please
> show more code.
The snippet above looks lik he's trying to set vars within the URL helper
inside the lambda. Is he trying to make a link that lo
On Thursday, September 17, 2015 at 8:03:13 AM UTC-7, zakaria danone wrote:
>
> Hi,
> i'm new on web2py and i try to create a simple app for billing
> user will enter unit price and quantity and sum automati apper
> on form row1*row2 = sum
> cant someone help me
> thank's
>
Would a computed fie
Weird. Can you open a ticket and I will test it asap?
On Wednesday, 16 September 2015 13:31:40 UTC-5, Maxim wrote:
>
>
> Why do you want comment it out anyway?
>>
>
> This:
>
>> The reason is that is allows storing variables that contain XML('.')
>> in sessions. That is useful to deal with f
In vue.js there are unsafe_delimiters
and they change automatically when you set delimiters. So I chose
delimiters to e '{%','%}' and it automatically changed unsafe_delimiters to
'{{%','%}}' so it was conflicting with web2py delimiters {{.}}.
On Thursday, 17 September 2015 03:25:43 UTC-5, Ram
I think you wont have that problem after 1.0
Unsafe delimiters for HTML interpolation can now be configured separately:
Vue.config.unsafeDelimiters = ['{!!', '!!}']
Note in 1.0.0-alpha when you set Vue.config.delimiters, it will still
implicitly update the unsafe delimiters following the cur
The basic concept of the scheduler is to have a process (or multiple ones)
NOT managed by the webserver, that are ready to do some work when told to
do so.
Why ? 99% of the cases is composed by:
- long-running computations that will incur in the webserver dropping the
process for timeout
- async
*** Please reply to this thread if you're interested in a Boulder, CO
web2py meetup. ***
Hello Boulder web2py users. I organized a very well received web2py meetup
in Berkeley, CA, recently and would like to repeat something like it in
Boulder, CO. Massimo has committed to attend and give a tal
Thank you.
On Thursday, September 17, 2015 at 12:06:33 PM UTC-4, Niphlod wrote:
>
> "view" depends on the details=False argument
> "add record" on the create=False
>
> Its working exactly as requested :P
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://git
Hi @ll!
I have an pfSense server with FreeRadius. Can I log in web2py app with
users from FreeRadius? How?
thx!
--
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 Issue
Can't commit til I hear the dates but am interested.
-Jim
On Thursday, September 17, 2015 at 2:33:26 PM UTC-5, weheh wrote:
>
> *** Please reply to this thread if you're interested in a Boulder, CO
> web2py meetup. ***
>
> Hello Boulder web2py users. I organized a very well received web2py meetu
so, why is Vue better than Ractive?
or viceversa...
On Thursday, September 17, 2015 at 1:44:03 PM UTC-5, Ramos wrote:
>
> I think you wont have that problem after 1.0
>
>
> Unsafe delimiters for HTML interpolation can now be configured separately:
>
> Vue.config.unsafeDelimiters = ['{!!', '!
Thanks Leonel and Anthony,
works great.
is used in many places and has greatly improved my app.
much appreciated,
Alex
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (R
Anybody ever try to get an SQLFORM.grid(...) to render within a ractive
template? I'm having trouble getting it to work. SQLTABLE works OK, but
grid seems to bundle a script, which causes ractive to choke.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://githu
Im not saying better. I said favourite.
The docs are very good. Never gave ractive a chance because the docs were
not very appealing at first sight.
Only my opinion.
Em 17/09/2015 21:14, "JorgeH" escreveu:
> so, why is Vue better than Ractive?
>
> or viceversa...
>
> On Thursday, September 17, 20
I have zero experience with Radius, however there's no reason you could not
make your custom login_method using an appropriate python radius client
(I'm sure there are modules for that in pypi) check
gluon/contrib/login_methods for examples of custom logins.
--
Resources:
- http://web2py.com
-
Hi,
I setup Web2py with Apache successfully, but when I setup a Nginx proxy for
Apache server I get error :
---
(getattr(): attribute name must be string)
Traceback (most recent call last):
File "C:\web2py\gluon\main.py", line 436, in wsgibase
se
I did yesterday, issue #1067.
I think the solution may be to replace:
671 return marshal.loads(data)
with
671 return XML(marshal.loads(data))
On Thursday, September 17, 2015 at 9:11:58 PM UTC+3, Massimo Di Pierro
wrote:
>
> Weird. Can you open a ticket and I will test it asap?
>
> O
Hi Anthony. ye ive tried, tricked the view so it has unique form names but
on submission, if i call process, it wont pass validation. Im probably doin
it wrong but ive manage to get it working.
Ive decided to make a video out of this, so i can explain the problems im
having and how did i solve
Something like this yes
This is my code
in my controler where i define my SQLFORM.grid
links = [lambda row: A('',_class='glyphicon glyphicon
glyphicon-remove-sign',
_href =URL('settings','deactivate',
vars=dict(s = '2')))]
2015-09-18 1:47 GMT+08:00 Dave S :
>
>
> On Thursday, September 17,
40 matches
Mail list logo