It appears some errors in web2py console ? Or just no show values..
Em quarta-feira, 3 de agosto de 2016 07:20:50 UTC-3, Encompass solutions
escreveu:
>
> It seems that my SQLFORM.factory won't populate default values. Are you
> guys getting similar or am I doing this wrong?
> Here is what I am
Hello all.
I have a many to many relationship like that:
db.define_table('skills',
Field('name', type='string', requires=IS_NOT_EMPTY()),
format='%(name)s')
db.define_table("projects",
Field('title', type='string', requires=IS_NOT_EMPTY()),
Hello!
I'm using pydal to work with a mongoDB database, im using this structure:
db.define_table('tarifas',
Field('fk_hotel_id',
'integer',
required=True,
notnull=True,
Think about the problem this way.
db.define_table('category',
Field('name' , notnull=True, unique=True),
format='%(name)s')
db.define_table("Project",
Field('select_category', 'reference category'),
Field('Title', 'string'),)
def sh
...I'm not sure to understand how it works. You've use the categories, we
can think that each project have only one category. So relationship is one
to many.
For skills it's many to many. One project can have more than one skill, a
skill can have more than one project.
So you need another table,
Hi, I have an SQLFORM.grid form and when I am inserting data I want to make
the selectors work in cascade. I have seen some recipies where they create
by hand the form using plain html and throw some jQuery in the middle but I
dont like it, I like the cleaness of web2py so I am looking for a cle
One particular skill belongs to many projects. Its linear.
--
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 subs
skill= ('One ', 'Two ', 'three', 'four', 'five', 'six')
And project is reference to skill. Like category.
On Friday, August 5, 2016 at 12:42:26 PM UTC-4, Ron Chatterjee wrote:
>
> One particular skill belongs to many projects. Its linear.
--
Resources:
- http://web2py.com
- http://web2py.c
Are you saying you managed to cascade the dropdowns, or just make an AJAX
call from the parent dropdown without refreshing the child?
On Friday, August 5, 2016 at 11:28:44 AM UTC-5, Bernardo Leon wrote:
>
> Hi, I have an SQLFORM.grid form and when I am inserting data I want to
> make the selecto
No, I am trying to get the cascade dropdowns working.
I want to make an AJAX call from the parent dropdown AND refresh the child
El viernes, 5 de agosto de 2016, 12:23:04 (UTC-5), Antonio Salazar escribió:
>
> Are you saying you managed to cascade the dropdowns, or just make an AJAX
> call from
http://demos.telerik.com/kendo-ui/dropdownlist/cascadingdropdownlist
might help
On Friday, August 5, 2016 at 1:28:01 PM UTC-4, Bernardo Leon wrote:
>
> No, I am trying to get the cascade dropdowns working.
>
> I want to make an AJAX call from the parent dropdown AND refresh the child
>
> El viern
It seems to be an interesting library but it is kind of expensive from what
I see and I think it does not integrate with web2py, at least not with
SQLFORM.crud. Thanks for the suggestion anyway!
El viernes, 5 de agosto de 2016, 12:57:40 (UTC-5), Ron Chatterjee escribió:
>
> http://demos.telerik.
That exactly one of my point about future of web2py and Massimo's
experimentation like w3 and more recently DBAPI (
https://groups.google.com/d/msg/web2py-developers/jd7W_XS92aw/pZYzX07jAQAJ)
Here :
https://groups.google.com/forum/#!msg/web2py-developers/x23GReU0McM/5kX42ft-PAAJ
So, what you ask,
I mean you can't enforce
On Fri, Aug 5, 2016 at 2:38 PM, Richard Vézina
wrote:
> That exactly one of my point about future of web2py and Massimo's
> experimentation like w3 and more recently DBAPI (
> https://groups.google.com/d/msg/web2py-developers/jd7W_XS92aw/pZYzX07jAQAJ
> )
>
> Here :
> htt
On Friday, August 5, 2016 at 12:28:44 PM UTC-4, Bernardo Leon wrote:
>
> Hi, I have an SQLFORM.grid form and when I am inserting data I want to
> make the selectors work in cascade. I have seen some recipies where they
> create by hand the form using plain html and throw some jQuery in the
> mid
On Friday, August 5, 2016 at 2:39:09 PM UTC-4, Richard wrote:
>
> So, what you ask, modifying validator and return a new select element with
> new validations properties is not possible for now in web2py to my
> knowledge...
>
If you are making a separate Ajax request after the initial form has
How about simply sending the user a link with a timestamp in the query
string and a digital signature? Then only allow the operation if the
signature is valid and the current time is prior to the timestamp. If you
need to ensure the same user cannot submit the form more than once using
the same
> Of course I will continue using web2py, but will be great if I could use
> it without problems when my applications demands more exigent use cases. Of
> course, the most of the people do not think like me and begin to use
> another framework that works either with small and complicated
> ap
Yes, basic example... You need to input data into a denormalized table, so
depend on the type of input you want to make product a vs b, some fields
are going to be ignore or required... In this case there is many way of
doing it... But I would like to be possible to define my validator once so
it b
On Friday, August 5, 2016 at 3:25:22 PM UTC-4, Richard wrote:
>
> Yes, basic example... You need to input data into a denormalized table, so
> depend on the type of input you want to make product a vs b, some fields
> are going to be ignore or required... In this case there is many way of
> doin
On Friday, August 5, 2016 at 12:06:41 PM UTC-7, Anthony wrote:
>
> How about simply sending the user a link with a timestamp in the query
> string and a digital signature? Then only allow the operation if the
> signature is valid and the current time is prior to the timestamp. If you
> need to
The thing is I have already tried that but I got no luck, I know my
controller method is executed but the child selector still uses the
validator defined in the model file. If I don't declare the validator in
the model file expecting that my controller code assign a new validator it
also does n
See
http://web2py.com/books/default/chapter/29/04/the-core#Digitally-signed-urls.
On Friday, August 5, 2016 at 4:04:30 PM UTC-4, Dave S wrote:
>
>
>
> On Friday, August 5, 2016 at 12:06:41 PM UTC-7, Anthony wrote:
>>
>> How about simply sending the user a link with a timestamp in the query
>> st
Yeah, that's not going to work. All your Ajax callback does is set the
validator for the field in question, but it doesn't do or return anything.
That change is only in effect for the duration of the Ajax request itself.
It will not change any HTML on the page (as you do not return an HTML), nor
Hello.
I would like to update a javascript array by ajax, keeping the data into
the db.
We talk about markers data for Google maps.
Here is how I load the data when the page is loaded.
var locations = [
{{for event in events:}}
{title: '{{=event.title}}',
On Friday, August 5, 2016 at 2:12:54 PM UTC-7, Anthony wrote:
>
> See
> http://web2py.com/books/default/chapter/29/04/the-core#Digitally-signed-urls
> .
>
I was headed that way! Your previous post did awaken a small recollection
of having read that section before.
/dps
>
> On Friday, Au
On Friday, August 5, 2016 at 2:26:51 PM UTC-7, Gael Princivalle wrote:
>
> Hello.
>
> I would like to update a javascript array by ajax, keeping the data into
> the db.
> We talk about markers data for Google maps.
>
> Here is how I load the data when the page is loaded.
> var locations
Hi all,
I have a problem with coming up with a query for a dropdown list.
I would like a list to only show the options that a user doesn't have.
Scenario,
auth_user 'bill' has auth_membership in 'user1' and 'user3'.
If I want to add another auth_membership to 'bill', I would like only
'user2' a
Hi all,
I am having trouble creating a query for a dropdown list.
Scenario,
I have auth_user 'bill', who has auth_membership 'user1' and 'user2'
If I wanted 'bill' to have another auth_membership, I would like to have a
dropdown showing all the memberships availabe, except the ones he already
i am getting the same error even after removing the compiled version
On Sunday, January 23, 2011 at 8:57:16 PM UTC+5:30, Massimo Di Pierro wrote:
>
> You may be trying to run a compiled app on GAE. You cannot do that.
> Run web2py normally first (no appserver), remove the compiled one,
> then ru
I'm trying to understand the relationship between controllers and views and
the general flow of code.
Per the documentation , the display_form() function will run and then feed
the "view" with the dict(form=form)
At that point the view "default/display_form.html" would be processed and
sent to
31 matches
Mail list logo