Re: [web2py] Re: the ajax callback action return a list [URGENT]

2017-06-01 Thread sunda . amran
I totally agree with that but then how do you use that list in the view as a python variable ??? Le jeudi 1 juin 2017 09:09:15 UTC+2, Junior Phanter a écrit : > > > var list_sunda = ""; > ajax("your_echo_url", [], ':eval'); > > > def echo_url(): > list_sunda=[1,2,3,4,5] > return

[web2py] Re: the ajax callback action return a list [URGENT]

2017-06-01 Thread sunda . amran
Hey paco, the problem is that i am using script, so the the action in the controller is a callback, it means that it dont have his html page. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: the ajax callback action return a list [URGENT]

2017-05-30 Thread sunda . amran
In my controller, i have a list which i called tools which containes values. I would like to return this list like you said. In my view i would like to retrieve the value and to put the values inside variable( with loop i think) But when i put eval and i call the function javascription from

[web2py] the ajax callback action return a list [URGENT]

2017-05-24 Thread sunda . amran
Hello, i have a form, when i fill it, it will callback an ajax code, which will call an action, that action returns a list and it puts it on the target, I can see the target when i put And it display the list perfectly ... The problem is that i don't wan't the list being displayed, i just

[web2py] Re: Http to Https [URGENT]

2017-05-23 Thread sunda . amran
Hey Leonel Câmara, it means that since we change the site from http to https, we are not able to send mails anymore from the website, before we changes it, it was working without problem. The only change we did between was the https -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Http to Https [URGENT]

2017-05-22 Thread sunda . amran
Hello guys, I am using web2py and since i chane the link from http to https, the mail server is not working anymore. Does someone had the same problem ? Amran -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Diplay a list in a view like an array [URGENT]

2017-05-22 Thread sunda . amran
Hey guys i resolved the problem, all my images wasnt the same size, when i change all the size to the same size, the whole dissapear :) Thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Diplay a list in a view like an array [URGENT]

2017-05-19 Thread sunda . amran
I already search in the inspect :'( there is completly nothing in that whole, and the problem is that the list is really perfect, because after the whole, the element is next element of the element before the whole -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Diplay a list in a view like an array [URGENT]

2017-05-19 Thread sunda . amran
-- Resources: - http://web2py.com -

[web2py] Re: Diplay a list in a view like an array [URGENT]

2017-05-19 Thread sunda . amran
{{ availableTools=getAvailableTools(membership) for result in availableTools : name=result.tool for tool in getRow(name) : img= tool.img portfolio='#portfolioModal'+str(tool.nbr)

[web2py] Diplay a list in a view like an array [URGENT]

2017-05-19 Thread sunda . amran
Hello everyone, So i started web2py it have been 1 month but i have still have some questions. What is sad is that with normal html and css it could be easier for me, but my workplace want me to use web2py. The question is that in my view i receive a list. Each element of the list got an

[web2py] Re: How to get the value of a submitted form in the controller action [URGENT]

2017-05-17 Thread sunda . amran
Ok thanks a lot anthony, I have a field form, the user have to enter inside a category, when he submit the category i want to take the value of the field and give it to the action ... this is the code in the view : {{ =FORM(INPUT(_name='category',_

[web2py] Re: How to get the value of a submitted form in the controller action [URGENT]

2017-05-16 Thread sunda . amran
No i can't get the value i put inside the form if i dont have a database to insert in ... so i sadly create a table and insert the value inside and take it back ... and i read the documentation sadly .. thanks anyway Le lundi 15 mai 2017 14:05:27 UTC+2, Anthony a écrit : > > You've already got

[web2py] Re: How to get the value of a submitted form in the controller action [URGENT]

2017-05-15 Thread sunda . amran
No david, i don't want to put the value directly in a form like they do, i just want to extract the value after the submit ? Le lundi 15 mai 2017 11:17:31 UTC+2, Dave S a écrit : > > > > On Sunday, May 14, 2017 at 11:45:39 PM UTC-7, sunda...@gmail.com wrote: >> >> But the problem is i don't know

[web2py] Re: How to get the value of a submitted form in the controller action [URGENT]

2017-05-15 Thread sunda . amran
But the problem is i don't know how to "extract the value from the form", i just know how to add it to the ajax url query string ... And i also don't know how to "submit the from via ajax" Please let me know Le vendredi 12 mai 2017 19:09:18 UTC+2, Anthony a écrit : > > Your code intercepts

[web2py] Re: How to get the value of a submitted form in the controller action [URGENT]

2017-05-12 Thread sunda . amran
But this request.vars.category, i have to ryt it in the view and then pass it to then action via my script, or i directly write it on the action ? Because in both case, the value he show is none ... Le jeudi 11 mai 2017 15:51:36 UTC+2, sunda...@gmail.com a écrit : > > Hello, > > > Normally and

[web2py] How to get the value of a submitted form in the controller action [URGENT]

2017-05-11 Thread sunda . amran
Hello, Normally and in a lot of tutorials i see the declaration of a form inside the controller and onlly {{=form}} inside the view Sadly i am working in a big website with hundred files and they did like the declaration of the form with Helpers inside the view. SO, the problem is that

[web2py] Re: [REMEMBER_ME] Not working

2017-05-11 Thread sunda . amran
Thank you soo much guys for having answered ... :D do you have also the solution of sending mails ? since i passe from http to https, the mail isnt working ( even in the welcome app) Le mardi 2 mai 2017 18:29:19 UTC+2, sunda...@gmail.com a écrit : > > Hello, > This is actually my first

[web2py] Re: [REMEMBER_ME] Not working

2017-05-10 Thread sunda . amran
OW, so how do i call the functionnality that even when i logout, he remember the email i putted in the email form , and the password which goes with that emails ??? Thanks Le mardi 9 mai 2017 16:16:25 UTC+2, Anthony a écrit : > > On Tuesday, May 9, 2017 at 4:04:52 AM UTC-4,

Re: [web2py] Re: [REMEMBER_ME] Not working

2017-05-09 Thread sunda . amran
Hey, No it does not working with the welcome app also Le vendredi 5 mai 2017 21:32:43 UTC+2, Paolo Valleri a écrit : > > I've just tried welcome app with current master branch and 'remember me' > worked well. Would you test it as well? > > Paolo > > 2017-05-05 11:32 GMT+02:00

Re: [web2py] Re: [REMEMBER_ME] Not working

2017-05-09 Thread sunda . amran
Le vendredi 5 mai 2017 21:32:43 UTC+2, Paolo Valleri a écrit : > > I've just tried welcome app with current master branch and 'remember me' > worked well. Would you test it as well? > > Paolo > > 2017-05-05 11:32 GMT+02:00 : > >> Please help me >> >> >> Le mercredi 3 mai

[web2py] Re: [REMEMBER_ME] Not working

2017-05-09 Thread sunda . amran
Anhtony, What i observe, is when i login with activing the 'remember me' radio box, and then after when i logout, and want to login again, it doesnt remember me , i need to write my mail and password again ... Thank you Le mardi 9 mai 2017 10:02:56 UTC+2, sunda...@gmail.com a écrit : > >

[web2py] Re: [REMEMBER_ME] Not working

2017-05-09 Thread sunda . amran
Hello Anthony, i don't know where to check the expires attributs in the browser ... Thanks Le vendredi 5 mai 2017 22:50:56 UTC+2, Anthony a écrit : > > After you log in via the remember me option, check the session cookie in > the browser -- does it now have an "expires" attribute now? > >

[web2py] Re: Clicks counter in a button

2017-05-05 Thread sunda . amran
i take a look and i tryed it ... its not work, do you think i can use google analytics Le mercredi 3 mai 2017 16:02:33 UTC+2, 黄祥 a écrit : > > pls take a look in book > ref: > http://web2py.com/books/default/chapter/29/03/overview#Let-s-count > >

[web2py] Re: [REMEMBER_ME] Not working

2017-05-05 Thread sunda . amran
Please help me Le mercredi 3 mai 2017 17:14:10 UTC+2, Paolo Valleri a écrit : > > which web2py version are you using? > would you post the html of the 'remember me' input tag > > Paolo > > On Wednesday, May 3, 2017 at 10:31:23 AM UTC+2, sunda...@gmail.com wrote: >> >> Hello Anthony, >> >> Yeah

[web2py] Re: [REMEMBER_ME] Not working

2017-05-04 Thread sunda . amran
Hey Paolo, I am using the web2py version

[web2py] Clicks counter in a button

2017-05-03 Thread sunda . amran
Hello, I am so lost ... What i want to do is like, i have a button and i want to listen to that button, like i want to know how many time the user click on that button and for that each time the user click on that button it add one to a database value. The problem is that i am working in an

[web2py] Re: [REMEMBER_ME] Not working

2017-05-03 Thread sunda . amran
Hello Anthony, Yeah but even if i took it off, it doesnt work at all ... or even when i wrote 3600*24*30 ... Le mardi 2 mai 2017 18:37:28 UTC+2, Anthony a écrit : > > On Tuesday, May 2, 2017 at 12:29:19 PM UTC-4, sunda...@gmail.com > wrote: >> >> Hello, >> This is actually my first

[web2py] [REMEMBER_ME] Not working

2017-05-02 Thread sunda . amran
Hello, This is actually my first question ever in a forum, and i hope it will be helpull. I am working in a company and the framework which i am using is web2py. The "Remember me" is absolutly not working. i put that in my db.py : auth.settings.long_expiration = 3600