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

2017-05-15 Thread Dave S
On Sunday, May 14, 2017 at 11:45:39 PM UTC-7, sunda...@gmail.com wrote: > > 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 > >

[web2py] Re: Any easy way to prevent left_sidebar from scrolling down?

2017-05-15 Thread Pierre
this might help: https://www.w3schools.com/bootstrap/bootstrap_affix.asp howewer i am not sure this is very responsive-design compatible. It might become hazardeous as viewport is shrinked -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web

[web2py] Re: Any easy way to prevent left_sidebar from scrolling down?

2017-05-15 Thread Karoly Kantor
Yes, it works on the laptop, but sidebar and main content suddenly completely overlap as I decrease window size. On Monday, May 15, 2017 at 11:45:41 AM UTC+2, Pierre wrote: > > this might help: > > https://www.w3schools.com/bootstrap/bootstrap_affix.asp > > howewer i am not sure this is very resp

[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 Anthony
You've already got the value in a form. The ajax() function can extract the value for you and submit it with the Ajax request. Read the docs. Anthony On Monday, May 15, 2017 at 6:17:34 AM UTC-4, sunda.am...@gmail.com wrote: > > No david, i don't want to put the value directly in a form like they

[web2py] Re: Any easy way to prevent left_sidebar from scrolling down?

2017-05-15 Thread Pierre
i don't know your css classes maybe switching to bootstrap* col-xs-** classes will prevent overlapping. otherwise you might find a solution using css media-queries -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https:

[web2py] SQLFORM form-horizontal changing default columns width

2017-05-15 Thread Pierre
Hi, i don't use any formstyle. I looked at the *sqlhtml.py* to try to figure out what formstyle function is used by default ? so i can clone it with modifications i need: just replace the *col-sm-3* with *col-sm-2* and the *col-sm-9* with *col-sm-10* i know this can be done 'ex-post' with DOM

[web2py] Copy & paste images from Wiki page does not work

2017-05-15 Thread Daniel Vogel
Hi I like copy&past from Wiki page (HTML) to LibreOffice Writer. If I copy text, it works. With images in the Markmin syntax, LibreOffice Writer can't render the image with the given URL. The same test with native (no Wiki page) URL's, for example "http://localhost:8000/abctest/static/_2.14.6/im

[web2py] Language file on GAE

2017-05-15 Thread Karoly Kantor
I understand web2py would generate my language file (e.g. it.py) in runtime, except on GAE. Now, I am on GAE. What would be my best workaround? Could I somehow still force web2py update this file while I am local on my laptop? Without this, this piece of work becomes enormous... :-( -- Resou

[web2py] pythonanywhere - email not sent

2017-05-15 Thread Ron Chatterjee
I can send email locally from my desktop but I am having issues send ing email through python anywhere. I have the gmail set up as "allowing less secure app" and below is the set up. Any help will be much appreciated. #- -- in db.py I ha

[web2py] Re: Copy & paste images from Wiki page does not work

2017-05-15 Thread Dave S
On Monday, May 15, 2017 at 7:27:52 AM UTC-7, Daniel Vogel wrote: > > Hi > > I like copy&past from Wiki page (HTML) to LibreOffice Writer. > If I copy text, it works. With images in the Markmin syntax, LibreOffice > Writer can't render the image with the given URL. > The same test with native (no

[web2py] cpython and web2py

2017-05-15 Thread Ron Chatterjee
Have anyone ever tried to put a wrapper around the default.py with cpython to make it faster? -- 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 receive

[web2py] How do I troubleshoot this? (DAL)

2017-05-15 Thread lyn2py
I had a setup that was working. But it's broken after I changed the name of a table. This was what I did: 1. Shut down web2py 2. Edit the model - table name + all references to the table name 3. Edit the sqlite - table name 4. Set fake_migrate_all=True 5. Start the server 6. Lo

[web2py] Re: cpython and web2py

2017-05-15 Thread Ron Chatterjee
Actually, I am referring to cython. Not cpython. Have anyone ever tried to put a cython wrapper into default.py? https://www.quora.com/What-is-the-difference-between-Cython-and-CPython On Monday, May 15, 2017 at 9:40:09 PM UTC-4, Ron Chatterjee wrote: > Have anyone ever tried to put a wrapp

[web2py] Re: Copy & paste images from Wiki page does not work

2017-05-15 Thread Daniel Vogel
My preferred environment is Ubuntu. I think it does no matter which "client". I tried both. The controller code is only to initialize the Wiki engine: @auth.requires_login() def index(): return auth.wiki(force_render=True) And the content from the Wiki page: ## Test with Image page content @

Re: [web2py] Language file on GAE

2017-05-15 Thread Mathieu Clabaut
Yes. When manually visitting the website locally, the files are updated ans then will be uploaded to GAE when deploying. On Mon, May 15, 2017 at 4:53 PM Karoly Kantor wrote: > I understand web2py would generate my language file (e.g. it.py) in > runtime, except on GAE. Now, I am on GAE. > > What

Re: [web2py] Language file on GAE

2017-05-15 Thread Karoly Kantor
No, my language file is not updated. My local env is set to use Datastore. -- 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 becau