[web2py] Re: Text that follows a double-quote inside of current.T() is chopped when used as textarea placeholder

2015-05-17 Thread Anthony
The problem is that there is an inconsistency with the escaping of regular strings vs. LazyT objects when serializing HTML helpers. When helpers are serialized, all attribute values are passed to gluon.html.xmlescape. In xmlescape, regular strings are ultimately passed to cgi.escape with the "q

[web2py] Re: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1145: ordinal not in range(128)

2015-05-17 Thread Willoughby
The latest source is 2.10.4 so you could try that or if that fails, use 2.9.11. On Sunday, May 17, 2015 at 2:09:01 AM UTC-4, Annet wrote: > > > Hmm...well, both your error and the issue you mention reference pydal, >> which is now a separate project and I believe has to be 'upgraded' >> separat

[web2py] Re: Text that follows a double-quote inside of current.T() is chopped when used as textarea placeholder

2015-05-17 Thread Spokes
It doesn't matter if the double quotes are escaped or not escaped (I was trying different things in an attempt to get it to work) - either way, the text will be truncated after the first double quote. On Sunday, May 17, 2015 at 2:13:24 PM UTC-5, Niphlod wrote: > > why are you escaping the double

Re: [web2py] Re: Restricting Access to database based on roles at the Database level.

2015-05-17 Thread Jason (spot) Brower
Each role in the system is going to need different tables. To improve security it would be good to restrict the roles to only have access to certain tables, rather than depend on only the controller to enforce this kind of database access. This is useful when trying to make sure there are no SQL i

[web2py] Re: Text that follows a double-quote inside of current.T() is chopped when used as textarea placeholder

2015-05-17 Thread Niphlod
why are you escaping the double quotes ? On Sunday, May 17, 2015 at 6:29:00 PM UTC+2, Spokes wrote: > > I'm attempting to include a relatively lengthy passage of text in a > textarea placeholder; the text contains some terms within double-quotes, > and the text string is passed to current.T(). T

[web2py] Text that follows a double-quote inside of current.T() is chopped when used as textarea placeholder

2015-05-17 Thread Spokes
I'm attempting to include a relatively lengthy passage of text in a textarea placeholder; the text contains some terms within double-quotes, and the text string is passed to current.T(). The problem is that everything following the first double-quote gets truncated. For example, let's say this

[web2py] Unable to Save using Ctrl+S when using Linux (Might be specific to Mint)

2015-05-17 Thread JEROME SMITH
This is not just a question, but also the solution. If you find that when you want to save changes in the ajax/web2py editor that the web browsers Save Dialogue box appears, the solution I found to this was to install the jQuery package - in my case libjs-jquery - After that Ctrl+S actually sa