2009/11/24 mr.freeze nat...@freezable.com:
You can render any view from a controller using response.render
(view,vars). Where are the pages stored?
I put them in init/static/poxy (proxy documentation).
I will read up about response.render. At the moment I don't (yet)
know how to handle
I guess the authors of RSS2 assume that there can valid HTML into the
fields.
Yes this is bad. I think we should form RSS2 and sanitize the fields
before making the RSS.
Want to send me a patch?
Massimo
On Nov 24, 1:18 am, Thadeus Burgess thade...@thadeusb.com wrote:
No the escaping is not
I want to use javascript in web2py inside the python code.i.e when the
form is submitted I want to confirm and then continue.How can I do it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To
This is great!
Are there any manuals about the new plugin system?
On Nov 9, 8:11 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I would love to see some layouts using it.
Could you send me some exmaples?
On Nov 9, 12:07 pm, Vasile Ermicioi elff...@gmail.com wrote:
Since web2py already
2009/11/24 Thadeus Burgess thade...@thadeusb.com:
Easiest way is to just reference the static files directly
http://mysite.com/init/static/documentation/index.html
Thanks! That is working.
Regards
Johann
--~--~-~--~~~---~--~~
You received this message
When I worked in health care we mostly used main frames for
everything.
But I do have an idea for a dental application once I've learned more.
I am still trying to break my old habits of procedural php. :0/
On Nov 23, 4:42 pm, Thadeus Burgess thade...@thadeusb.com wrote:
Kind of like how
I am enjoying the debate, however, I wonder whether I am alone in
thinking that some points could be made more succinctly? I am
reminded of this quotation: I didn't have time to write a short
letter, so I wrote a long one instead. Mark Twain. The whole thread
just seems non-Pythonic. :-)
On
I am trying to follow the example here:
http://www.web2py.com/AlterEgo/default/show/138
But I keep getting this error:
The problem is that I don't understand why there is an error on line
20 and there is no line 20 in my controller. I don't understand how
that is getting appended. I thought
On Mon, Nov 23, 2009 at 23:34, Zoom.Quiet zoom.qu...@gmail.com wrote:
On Mon, Nov 23, 2009 at 23:28, mdipierro mdipie...@cs.depaul.edu wrote:
We have had some discussion about moving the documentation to Sphinx.
Months have passed and there has been no progress. I personally do not
mind
Before I updated to 1.72.3 it does not run.
It goes to the ticket page and does not even open the ticket link.
Any issue with this version?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post
Did you use your options.py file from the old installation? There
were some new options added somewhere along the line where if they are
not present in the options file, it will crash.
Unrelated to this issue, I noticed that the default value of
response.flash changed in revision 1234. I'm
hvcst,
This is an issue that we addressed recently but I don't think there
has been a new release since this patch.
Go here and hit the Download File linke:
http://bazaar.launchpad.net/~mdipierro/web2py/devel/annotate/head%3A/gluon/template.py
Copy that file to /web2py/gluon/template.py
i updated from 1.69 to 1.72 and my program now crashes with the
following error:
Traceback (most recent call last):
File /home/david/Desktop/web2py/gluon/restricted.py, line 184, in
restricted
exec ccode in environment
File /home/david/Desktop/web2py/applications/DavidsData/controllers/
How can we modify the length of the text form in the form created
using the form_factory function.??
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
I don't know if this'll help you, but I've recently wrestled with SOAP/
WSDL stuff on python with SOAPpy, and also ran into problems.
I ended up using SUDS, and the problems went away -- it's an excellent
SOAP library for python.
Hopefully you can fix the jython issue in time for your demo, but
How can we modify the length of the text form in the form created
using the form_factory function.??
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
I'm very new to web2py. I want to include the HTML frames in my .html
file of web2py. Can anyone kindly let me know how to use frameset and
frames.
Thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I think this does what you need:
http://nadiana.com/jquery-confirm-plugin
On Nov 24, 2:12 am, sandy sandeep.guptau...@gmail.com wrote:
I want to use javascript in web2py inside the python code.i.e when the
form is submitted I want to confirm and then continue.How can I do it?
We use this
http://code.google.com/p/python-markdown2/
which claims compatibility.
When you do WIKI(,safe_mode='escape') is default. Try with
safe_mode=None or safe_mode=True.
On Nov 24, 2:49 am, Johann Spies johann.sp...@gmail.com wrote:
Is the markdown syntax in Web2Py compatible what
response.flash = DIV(hello,BR(),world)
On Nov 24, 3:53 am, hamdy.a.farag hamdy.a.fa...@inbox.com wrote:
Hi
How can I make response.flash display a message containing new line
characters ?
--~--~-~--~~~---~--~~
You received this message because you are
Or this:
http://www.web2pyslices.com/main/slices/take_slice/34
On Nov 24, 10:17 am, mdipierro mdipie...@cs.depaul.edu wrote:
I think this does what you need:
http://nadiana.com/jquery-confirm-plugin
On Nov 24, 2:12 am, sandy sandeep.guptau...@gmail.com wrote:
I want to use javascript
wow that page is old (and contains some errors). It is much easier
than that now.
I edited the page
Massimo
On Nov 24, 7:03 am, David digitalcry...@gmail.com wrote:
I am trying to follow the example here:
http://www.web2py.com/AlterEgo/default/show/138
But I keep getting this error:
The
Can you tell us more? What does not work?
On Nov 24, 7:30 am, yamandu yamandu.co...@gmail.com wrote:
Before I updated to 1.72.3 it does not run.
It goes to the ticket page and does not even open the ticket link.
Any issue with this version?
This is a bug. It is already fixed in trunk. I guess it is time to
post 1.73.1
On Nov 24, 9:09 am, Youngblood youngbloodda...@gmail.com wrote:
i updated from 1.69 to 1.72 and my program now crashes with the
following error:
Traceback (most recent call last):
File
You can change the length of the field
form=SQLFORM.factory(Field('name',length=256))
of the size of the input/ from the view:
script
jQuery(document).ready(function(){jQuery('#no_table_name').attr('size',
80);});
/script
On Nov 24, 9:34 am, sandy sandeep.guptau...@gmail.com wrote:
How can
Something like this?
iframe src=http://google.com;/iframe
On Nov 24, 9:50 am, Lydia Manikonda lydia.maniko...@gmail.com wrote:
I'm very new to web2py. I want to include the HTML frames in my .html
file of web2py. Can anyone kindly let me know how to use frameset and
frames.
Thanks in
Indeed the slice is better and simpler.
On Nov 24, 10:23 am, mr.freeze nat...@freezable.com wrote:
Or this:
http://www.web2pyslices.com/main/slices/take_slice/34
On Nov 24, 10:17 am, mdipierro mdipie...@cs.depaul.edu wrote:
I think this does what you need:
Sorry for hijackthis your mail but does the like operator still not work?
2009/11/24 mdipierro mdipie...@cs.depaul.edu
wow that page is old (and contains some errors). It is much easier
than that now.
I edited the page
Massimo
On Nov 24, 7:03 am, David digitalcry...@gmail.com wrote:
I
Google still does not support them. web2py provides a workaround to
execute the filtering at the Python level:
http://www.web2py.com/AlterEgo/default/show/248
Not as good as if the back-end could do it but useful for small data
sets.
Massimo
On Nov 24, 10:41 am, Pynthon Pynthon
Ah, OK thanks for the info Massimo. You know last week I was thinking
about web2py. Well not about web2py but about a web-framework in
python for GAE. I know w2p supports GAE but I mean a framework that
only runs on GAE. A framework build on top of the GAE framework. I
think it could be really
Thanks for the quick reply. I appreciate everyone's hard work on this
program, it has made working with websites much easier.
On Nov 24, 11:32 am, mdipierro mdipie...@cs.depaul.edu wrote:
This is a bug. It is already fixed in trunk. I guess it is time to
post 1.73.1
On Nov 24, 9:09 am,
On Tue, Nov 24, 2009 at 6:57 AM, villas villa...@gmail.com wrote:
I am enjoying the debate, however, I wonder whether I am alone in
thinking that some points could be made more succinctly? I am
reminded of this quotation: I didn't have time to write a short
letter, so I wrote a long one
On Mon, Nov 23, 2009 at 2:25 PM, mdipierro mdipie...@cs.depaul.edu wrote:
Yarko's patch is tentatively in trunk since nobody seems to complain
about this change in behavior.
You made an error with the change you made in this patch: you added 3
languages, 'en', 'en-us', and 'en-gr';
This
what is it that I remember about this sort of thing?: clear sessions
files? sqlite migration issues (table files, but no tables - as could
happen is you install new web2py, but manually move your app)?
Look at some obvious things, then tell more of what is going on, how you set
this up...
I put en-uk not en-gr. You see, this is a big can of worms. How do you
know that the default application is in en-us and not en-uk? This is
way it was not specified before. This is why I am still not completely
convinced it is a good idea not to let the users be explicit.
On Nov 24, 12:14 pm,
On Tue, Nov 24, 2009 at 12:37 PM, mdipierro mdipie...@cs.depaul.edu wrote:
I put en-uk not en-gr.
right, en-uk; from a software analysis perspective, only one language
should be in the initialization (addition of a non-country specific version
of said language should also be acceptable).
a short version of this (context: U.N. type of meeting):
you (in effect) changed the translator initialization code to say The
default language [string] I will present you is TWO lanugages, Massimo, it
is _as if_ you said something like: I'm speaking Itailan, or another way
for you to think of it
Why can't it just be 'en'?
-Thadeus
On Tue, Nov 24, 2009 at 1:01 PM, Yarko Tymciurak
resultsinsoftw...@gmail.com wrote:
a short version of this (context: U.N. type of meeting):
you (in effect) changed the translator initialization code to say The
default language [string] I will present
On Tue, Nov 24, 2009 at 2:10 PM, Thadeus Burgess thade...@thadeusb.comwrote:
Why can't it just be 'en'?
It probably could I just checked the request environment in a new
install browser I've never used (Konquerer on Ubuntu) and web2py is
picking up
http_accept_language=['en-US', 'en']
So
new install on ubuntu is [en-us, en].
I think it should just default to 'en', if you want uk english or us
english, then these are different languages, and should be forced.
-Thadeus
On Tue, Nov 24, 2009 at 2:25 PM, Yarko Tymciurak
resultsinsoftw...@gmail.com wrote:
On Tue, Nov 24, 2009
I agree with you. Besides most of the current messages have been
written by Fran and Jonathan who are both in Europe. How are we to
decide what is en-us and what is en-uk?
On Nov 24, 2:28 pm, Thadeus Burgess thade...@thadeusb.com wrote:
new install on ubuntu is [en-us, en].
I think it should
Maybe it's just me, but I can read the same sentence in en-us, en-uk, and
en-gr, and I understand exactly what they mean just the same. Can't it just
default all to en, and then any new messages that are written get added with
this in mind?
-Thadeus
On Tue, Nov 24, 2009 at 2:31 PM, mdipierro
'en' is less specific.
color or colour might be in it (depending on who wrote the string); it is
ambiguous.
Removing ambiguity, so that - if some application appropriately needs to be
picky about spellings, idioms, grammatical subteties, I think is important.
'en' is generic;
However, it is
On Tue, Nov 24, 2009 at 2:31 PM, mdipierro mdipie...@cs.depaul.edu wrote:
I agree with you. Besides most of the current messages have been
written by Fran and Jonathan who are both in Europe. How are we to
decide what is en-us and what is en-uk?
as I think about this statement, I think
since 'en' is generic that is good and since when did color vs colour
become that big of an issue ?
If parts of web2py have color, and other parts have colour, then using 'en'
is what we need to use, since it is generic.
-Thadeus
On Tue, Nov 24, 2009 at 3:45 PM, Yarko Tymciurak
Yarko, I can always imagine you talking with tone fluctuations and
everything since you are so expressive on your emails! :)
-Thadeus
On Tue, Nov 24, 2009 at 4:11 PM, Thadeus Burgess thade...@thadeusb.comwrote:
since 'en' is generic that is good and since when did color vs colour
On Tue, Nov 24, 2009 at 4:40 PM, Thadeus Burgess thade...@thadeusb.comwrote:
Yarko, I can always imagine you talking with tone fluctuations and
everything since you are so expressive on your emails! :)
Thadeus -
Thank you! I take that as a great compliment!
WIshing you and yours (and
no not a guarantee, but would it be worth adding anyway?
On Nov 24, 4:10 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Unfortunately checking the mime type is no guarantee that the file
format is conform to specs.
On Nov 23, 7:49 pm, Richard richar...@gmail.com wrote:
could a new
instead of using is_tarfile() you could use the TarFile class (which
can take a file object) to check whether the data can be interpreted
as a tar file:
from tarfile import TarFile, TarError
from StringIO import StringIO
try:
TarFile(fileobj=StringIO(data))
except TarError:
print Not a
basically we do that now for w2p files.
On Nov 24, 6:03 pm, Richard richar...@gmail.com wrote:
instead of using is_tarfile() you could use the TarFile class (which
can take a file object) to check whether the data can be interpreted
as a tar file:
from tarfile import TarFile, TarError
from
I have tried this, and it throws a read error exception on even valid tar
files.
-Thadeus
On Tue, Nov 24, 2009 at 6:37 PM, mdipierro mdipie...@cs.depaul.edu wrote:
basically we do that now for w2p files.
On Nov 24, 6:03 pm, Richard richar...@gmail.com wrote:
instead of using
I expected the custom widget for strings to scale to the size of the
length specified in the ORM, but they all come out the same size - and
they're big.
Is there another place I should be entering something that helps me
with this? I've constructed a custom form using CRUD and the field
names
Sorry, missed the posting two down titled 'Length'.
That solved the problem, but is there a more eloquent way not using
JQuery?
On Nov 24, 9:44 pm, Gary gary.k.ma...@gmail.com wrote:
I expected the custom widget for strings to scale to the size of the
length specified in the ORM, but they
CSS will always be the best route for this, since you are designing your
forms. Leave the styling of your site to CSS, and the programming to web2py
:)
The other benefit of this is, if you want to update the way your site looks,
instead of having to edit lines of code, you just replace your CSS
Agreed. If you can achieve the desired effect with CSS it should be
the first choice. My examples should only be used if you need to
modify attributes.
On Nov 24, 9:33 pm, Thadeus Burgess thade...@thadeusb.com wrote:
CSS will always be the best route for this, since you are designing your
Hello,
I have get_workout action in controler and this action could be
called either directly using GET method, or could be called using
AJAX.
If it's called using GET it should return (render) whole page.
If it's called using AJAX it should return (render) only a part of the
page
It's not
On your ajax calls use the .json
so
http://mysite.com/init/default/index/ for normal pages
http://mysite.com/init/default/index.json/ to get the dict converted to json
or
index.xml to get it in xml format..
-Thadeus
On Tue, Nov 24, 2009 at 10:06 PM, Alex person...@gmail.com wrote:
But how can controller method know if current request is POST / GET or
AJAX?
Sometimes it's needed to generate very different part of HTML page and
return it to update some DIV on the page.
On Nov 25, 6:09 am, Thadeus Burgess thade...@thadeusb.com wrote:
On your ajax calls use the .json
so
Hello mate,
Let's said for example I have the following:
rows = db().select(db.table_A.first_name, db.table_B.email,
db.table_B.ID,
left=db.table_B.on
( db.table_A.ID = db.table_B.FK) )
NOW I want to do another left OUTER JOIN of the table from
Send a var back with the ajax request:
a href={{=URL('gym','default','get_workout')}} onclick=ajax
('{{=URL
(r=request,f='get_workout',vars=dict(is_ajax=True))}}', [],
'fitness_goals');return false;
{{=a.title}}/a
if request.vars.is_ajax:
On Nov 24, 10:14 pm, Alex person...@gmail.com
Massimo,
I've been working on an app that has this type of password reset:
1. click on password reset
2. user types in email address
3. the user gets an email that has a link that takes them back to the
web2py site
4. a new password is typed in and this resets the password.
This allows for a
if you want something simple for GAE just use the built in webapp
framework from Google:
http://code.google.com/appengine/docs/python/tools/webapp/
On Nov 25, 4:17 am, Pynthon forumx...@gmail.com wrote:
Ah, OK thanks for the info Massimo. You know last week I was thinking
about web2py. Well
On Nov 24, 2009, at 9:14 PM, Wes James wrote:
I've been working on an app that has this type of password reset:
1. click on password reset
2. user types in email address
3. the user gets an email that has a link that takes them back to the
web2py site
4. a new password is typed in and
63 matches
Mail list logo