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
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,
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}}',
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),
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
>>
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
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
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
>
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
> 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
>
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
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
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
>
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 (
>
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
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.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
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
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
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
-
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
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
...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
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
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,
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()),
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
Could someone test something similar to this out? Am I getting this wrong
with setting the default values in this field? It feels like a bug in
web2py.
On Wednesday, August 3, 2016 at 1:20:50 PM UTC+3, Encompass solutions wrote:
>
> It seems that my SQLFORM.factory won't populate default
28 matches
Mail list logo