Massimo,
You go above and beyond! Thanks you so much for the through
explanation. This second version is much much cleaner then the
version before it - thanks for hacking trunk to add the change! Now I
have to integrate it and make sure I understand how everything works!
-Rob
On Aug 8, 4:32
English-Chinese is far far from okay:)
Cheers,
Zhe
On Aug 9, 3:10 am, mdipierro mdipie...@cs.depaul.edu wrote:
I have been playing with google translate and I managed to get a
complete translation of the book in Italian, Spanish, Portuguese,
Chinese and Russian.
DISCLAMER:
- The
Yes. we will do what you say as soon as 3rd ed is final. Before the
end of the month.
On Aug 8, 8:38 pm, Zoom.Quiet zoom.qu...@gmail.com wrote:
On Mon, Aug 9, 2010 at 09:10, mdipierro mdipie...@cs.depaul.edu wrote:
I have been playing with google translate and I managed to get a
complete
Massimo,
Latinux Press begin a formal translation of the book into Spanish. The final
version will be redistribute with the same license. However, It is possible
that our editorial team make some design changes for the Spanish edition.
Ricardo Strusberg
2010/8/8 mdipierro
Hello everyone,
First of all, thank you Massimo and all the contributors for this
great framework and all the documentation and support.
I am kind of new on web2py and i am trying to use cache on Google App
Engine.
Thanks to Robin's contribution (gae_memcache.py), i can use cache.ram
on GAE but
Please email me personally about this. It is important to make sure we
are in sync with the 3rd edition and we are still editing it online.
On Aug 8, 11:33 pm, R. Strusberg strusb...@gmail.com wrote:
Massimo,
Latinux Press begin a formal translation of the book into Spanish. The final
version
Yes, now I see. It is browser issue.
I am on Ubuntu Linux 10.04.
It works on Firefox, Chromium, Konqueror.
it doesn't on Opera 10.60 and Epiphany, Midori (both are based on WebKit
rendering engine)
Hope this helps.
Julius
V Sobota, 7. august 2010 o 16:29 -0700, mdipierro napísal(a):
I am
If you ding out what the problem is perhaps we can improve the code
and make it more cross-browser compatible.
On Aug 9, 3:27 am, Julius Minka j...@minka.sk wrote:
Yes, now I see. It is browser issue.
I am on Ubuntu Linux 10.04.
It works on Firefox, Chromium, Konqueror.
it doesn't on Opera
I am not able to fix this, but I am willing to test it again if needed.
Julius
V Pondelok, 9. august 2010 o 01:28 -0700, mdipierro napísal(a):
If you ding out what the problem is perhaps we can improve the code
and make it more cross-browser compatible.
On Aug 9, 3:27 am, Julius Minka
default color is now black
the expanding of the tree is a bug caused by the async jquery
treeview widget
the objects that can be expandable do have a plus sign and are
expandable, however on clicking on the plus the requested object is
loaded and may not contain expandable information thus the
Does any of the browsers with problem have a debug feature that allow
you to see if there is JS error?
On Aug 9, 3:48 am, Julius Minka j...@minka.sk wrote:
I am not able to fix this, but I am willing to test it again if needed.
Julius
V Pondelok, 9. august 2010 o 01:28 -0700, mdipierro
Hi,
I've set up web2py using tornado server like this:
web2py_app =
tornado.wsgi.WSGIContainer(gluon.main.appfactory(logfilename=None,
profilerfilename=None))
application = tornado.web.Application([
(r/async, MyHandler),
(r.*, FallbackHandler, dict(fallback=web2py_app)),
I am not familiar with Tornado but it seems to me this line
web2py_app =
tornado.wsgi.WSGIContainer(gluon.main.appfactory(logfilename=None,
profilerfilename=None))
is wrapping everything in WSGI app. Your app should still be a web2py
and you should be allowed to define auth in your models as
Yes, that works, but I mean I need to do this inside MyHandler. And
that isn't web2py any more.
why? Is the handler executed at every request?
You are right that handler does not see Request, Response, etc and you
cannot define Auth there.
You can get the cookie session_id, try open the corresponding session
file, unpickle and look for auth in there.
Ugly but I cannot think of a better way.
Thanks Massimo, I can do that. Only slight issue is the computed
field physically takes space in the database.
I was a bit puzzled why a virtualfield would not work because I
thought it was introduced for precisely this kind of use.
--
D
On Aug 9, 1:54 am, mdipierro mdipie...@cs.depaul.edu
Perhaps some of you have experience with this and can give me advice.
http://www.lulu.com/services/distribution/
says You can choose ONE distribution option per book.
1. globalREAD does Amazon but not Apple
2. iBookstore does Apple but not Amazon
Both require an ISBN and even if I purchase my
great!. I dont know about that.
On 9 ago, 01:33, R. Strusberg strusb...@gmail.com wrote:
Massimo,
Latinux Press begin a formal translation of the book into Spanish. The final
version will be redistribute with the same license. However, It is possible
that our editorial team make some design
The problem is that when you autocomplete you may have lots of records
so search has to be done based on DB content. If you were to use
virtual fields (computed on the fly by web2py) the search would be
done client-side in memory. It would be faster but would not work for
large record sets.
Yes, that's what I have done and I got the logged in user's id.
My colleague just got an excellent idea of exposing a json api in our
web2py app for checking permissions. Then tornado handlers can query
permissions through http and we don't have this problem. I just wonder
if there are some
On Aug 9, 5:14 am, huimies huim...@gmail.com wrote:
Yes, that's what I have done and I got the logged in user's id.
My colleague just got an excellent idea of exposing a json api in our
web2py app for checking permissions. Then tornado handlers can query
permissions through http and we
I didn't get any JS error.
Details:
Epiphany has Webinspector which allowed me to run JS with debugging
enabled. It didn't throw any error while doing that.
Opera has its Dragonfly which does similar things. Neither it reported
any error.
Just to note:
Opera behaves differently from Epiphany.
Hi .
I think the question is more about python than web2py , but i am
asking here . I want to capitalize all user input , before storing the
answer , so everything is in capital letters . How can i do it with
custom forms or sqlform .
Thanks
Sarados
I don´t understand what am I doing wrong.
command:
days = db((db.troop_place_day.day ==
2)(db.troop_place_day.troop_place == 21)).select()
gives this error:
Traceback (most recent call last):
File gluon/restricted.py, line 178, in restricted
exec ccode in environment
File
Field(...,requires=IS_UPPER())
On Aug 9, 6:30 am, sarsar sarsara...@gmail.com wrote:
Hi .
I think the question is more about python than web2py , but i am
asking here . I want to capitalize all user input , before storing the
answer , so everything is in capital letters . How can i do it
Hello,
I´m in the process of starting a newer server for my web2py
applications and would like to hear your comments about what to use.
Anything about hardware that I should remeber?
As linux version I´m planing on using CentOS 5.5 as we use it on all
our servers.
Webserver: Apache and database
2.6 or even 2.7 are better. Tehy do have improvements and features I
like. Like better speed and sorted dictionaries. :)
BR,
Jason Brower
On Mon, 2010-08-09 at 05:05 -0700, Kenneth wrote:
Hello,
I´m in the process of starting a newer server for my web2py
applications and would like to
V Pondelok, 9. august 2010 o 05:05 -0700, Kenneth napísal(a):
Hello,
I´m in the process of starting a newer server for my web2py
applications and would like to hear your comments about what to use.
Anything about hardware that I should remeber?
As linux version I´m planing on using
Mine ubuntu server 8.04 hardy heron, with apache2 mod_wsgi, web2py in
production. Work very well.
On Aug 9, 9:31 am, Julius Minka j...@minka.sk wrote:
V Pondelok, 9. august 2010 o 05:05 -0700, Kenneth napísal(a):
Hello,
I´m in the process of starting a newer server for my web2py
change with: db.troop_place_day.day()==2 if I not wrong
On Aug 9, 8:31 am, Kenneth kenneth.t.lundst...@gmail.com wrote:
I don´t understand what am I doing wrong.
command:
days = db((db.troop_place_day.day ==
2)(db.troop_place_day.troop_place == 21)).select()
gives this error:
Traceback
You have the problem described here:
http://web2py.com/book/default/chapter/06#Fixing-Broken-Migrations
The first one of them.
On Aug 9, 6:31 am, Kenneth kenneth.t.lundst...@gmail.com wrote:
I don´t understand what am I doing wrong.
command:
days = db((db.troop_place_day.day ==
Ignore my response. Martin is right.
On Aug 9, 7:45 am, mdipierro mdipie...@cs.depaul.edu wrote:
You have the problem described here:
http://web2py.com/book/default/chapter/06#Fixing-Broken-Migrations
The first one of them.
On Aug 9, 6:31 am, Kenneth kenneth.t.lundst...@gmail.com wrote:
Now I´m getting:
Traceback(most recent call last):
Filegluon/restricted.py,line178,inrestricted
execccodeinenvironment
File/data/domains/exp-kal.nudata.fi/applications/init/controllers/troop.py
https://exp-kal.nudata.fi/admin/default/edit/init/controllers/troop.py,line2195,inmodule
I think you need to put in your field: writable=False, readable=False
Field('Latitude', 'double', writable=False, readable=False)),
Field('Longitude', 'double', writable=False, readable=False))
On Aug 8, 2:21 am, Rob r...@rmdashr.com wrote:
I have a model that has a 'Address', 'Lat' and Lon'
I wonder if I can use the plugin wiki, or at least the code that
creates and parses the pages to create non threaded comments?
Anyone done that already? How would I start?
In case you want to know - I want to add this to doc2py
because you define in db as time, and need to be datetime. I think
On Aug 9, 9:51 am, Kenneth Lundström kenneth.t.lundst...@gmail.com
wrote:
Now I�m getting:
Traceback(most recent call last):
Filegluon/restricted.py,line178,inrestricted
execccodeinenvironment
Sorry my mistake, now i view your definition
db.define_table('troop_place_day',
db.Field('troop_place', db.troop_place, required=True),
db.Field('day', 'integer'),
db.Field('starts', 'time', requires=IS_TIME()),
db.Field('ends', 'time', requires=IS_TIME()))
'day' you have as an
Just install plugin_wiki and in your pages add
{{=plugin_wiki.widget('comments',table='mytable',record_id=myrecord)}}
where you are attaching the comments to the item
db.mytable.id==myrecord
On Aug 9, 7:58 am, selecta gr...@delarue-berlin.de wrote:
I wonder if I can use the plugin wiki, or at
This is still an option:
On Aug 9, 7:45 am, mdipierro mdipie...@cs.depaul.edu wrote:
You have the problem described here:
http://web2py.com/book/default/chapter/06#Fixing-Broken-Migrations
The first one of them.
On Aug 9, 6:31 am, Kenneth kenneth.t.lundst...@gmail.com wrote:
I don´t
Great! I was hoping to do my rewrites in web2py for all the same
reasons Vasile mentioned.
As to Jonathan's point about serving static files, I am using
webfaction to host my site and the best practice there is to serve
static files from a dedicated nginx server whose sole purpose is to
serve
Sorry to keep adding to this thread, but I think this is still
related.
Now that I have the separate database in separate folders I have an
issue when I delete a community. Not with how to delete the folder,
but rather where to place the code. The code below never seems to
execute the
I use Ubuntu, Apache, Python 2.6, PostgreSQL, mod_wsgi.
For the love of god don't use CentOS for python web applications.
Just make sure to follow ALL of the web2py performance enhancements.
* Compile the app
* Sessions to database
* Make sure all database tables are designed to be thread safe
thanks, i understand, i will try it
I noticed that line 132 of controllers/plugin_wiki.py should probably
read
return A(T('login to comment'), _href=auth.settings.login_url)
On Aug 9, 3:15 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Just install plugin_wiki and in your pages add
I tried it but it is not quite what I want
I want comments that can be edited like wiki entries
In doc2py I want to allow the uses to add comments that contain source
code or videos, for that I want the functionalities that the wiki
editor has for comments
also I do not have a db table and a
I see Cube2py does it but I can' t figure out how.
I have the following in my menu:
[T('Login'), False,
URL(request.application,'default','user'), []],
[T('Logout'), False,
URL(request.application,'default','user/logout'), []],
I want only 'Login' or ' Logout' to be visible
It may be becase the folder is not empty and rmdir does not work if
the folder is not empty
On Aug 9, 8:23 am, david.waldrop david.wald...@gmail.com wrote:
Sorry to keep adding to this thread, but I think this is still
related.
Now that I have the separate database in separate folders I have
response.menu=[]
if not auth.user:
response.menu.append([T('Login'), False,
URL(request.application,'default','user'), []])
else:
response.menu.append([T('Logout'), False,
URL(request.application,'default','user/logout'), []])
On Aug 9, 9:04 am, Johann Spies
For the love of god don't use CentOS for python web applications.
I may have to use it for a project (got no choice). Any advice?
Massimo
I use CentOS + python2.7 + web2py + gevent.pywsgi
works great, I could help with installation if you need
Thanks!
Regards
Johann
--
Be not deceived; God is not mocked: for whatsoever a
man soweth, that shall he also reap.
Galatians 6:7
I guess the key is, no CentOS with apache/mod_wsgi. Can't comment on
other webservers since I never tried them with CentOS... just Apache.
--
Thadeus
On Mon, Aug 9, 2010 at 9:49 AM, Vasile Ermicioi elff...@gmail.com wrote:
I use CentOS + python2.7 + web2py + gevent.pywsgi
works great, I
i use the google app engine's provided bulk loader for dumping and
restoring data. it's supposed to deal with keeping ID's in sync, and
has been fine for me so far. the trouble with it is that you have to
have the GAE SDK installed to use it - you can't do it via either the
web2py interfaces or
I'm just looking for a best practice here. I am running web2py using
a clone of the repository https://web2py.googlecode.com/hg/. This has
worked really well for me. However, I just added a routes.py file.
Clearly, I want to version control this file, but that requires
committing the change to
That may also be a problem, but the code is never getting executed. I
think the crud.delete functionality does not emit forms.accept(...).
IIf this is the case and I need to use the crud.ondelete mechanism I
am unsure how I signal the id (or path) I want the function to
ooperate on.
On Aug 9,
On Aug 9, 2010, at 8:20 AM, mwolfe02 wrote:
I'm just looking for a best practice here. I am running web2py using
a clone of the repository https://web2py.googlecode.com/hg/. This has
worked really well for me. However, I just added a routes.py file.
Clearly, I want to version control this
I have a machine with configuration (somebody set it up for me and it
seesm to work).
On Aug 9, 10:00 am, Thadeus Burgess thade...@thadeusb.com wrote:
I guess the key is, no CentOS with apache/mod_wsgi. Can't comment on
other webservers since I never tried them with CentOS... just Apache.
--
You are right. crud forms should not be acceped. do this:
def f(form):
app=meeting.name # somehow determine which name
db_path = os.path.join(request.folder,'databases',app)
os.path.rmdir(db_path) # you may need to clear recursively
OK, but that still leaves a link to routes.py in the web2py
repository. Do you use the Pull -- Update -- Merge -- Commit
approach then when you update your web2py repository?
On Mon, Aug 9, 2010 at 11:40 AM, Jonathan Lundell jlund...@pobox.com wrote:
On Aug 9, 2010, at 8:20 AM, mwolfe02 wrote:
On Aug 9, 2010, at 9:06 AM, Michael Wolfe wrote:
OK, but that still leaves a link to routes.py in the web2py
repository. Do you use the Pull -- Update -- Merge -- Commit
approach then when you update your web2py repository?
Actually, I misdescribed my configuration slightly.
I run my app
Got it. I think that makes more sense than what I'm doing now. I
probably outsmarted myself a bit trying to use mercurial to maintain
the copy of web2py that I'm using to run my app (in my defense, when
you've got a nice hammer (mercurial), everything looks like a nail). I
thought about
As far as contributions go, you will just be sending diff files in. As
long as your diff is clean it should not matter what is in your
repository. Massimo does not use the hg import/export commands so you
don't even need to commit any contributions to your local version
anyways.
--
Thadeus
Hello Mike,
I checked this framework a long time ago and wanted to try that with Python.
At that time it didn't work, but now it seems more feasible.
It is a very interesting web2.0 AJAX framework that has a complete GUI set
to build beautiful applications.
Since web2py can run on Jython this
Does it have Plesk or a similar control panel installed?
--
Thadeus
On Mon, Aug 9, 2010 at 10:46 AM, mdipierro mdipie...@cs.depaul.edu wrote:
I have a machine with configuration (somebody set it up for me and it
seesm to work).
On Aug 9, 10:00 am, Thadeus Burgess thade...@thadeusb.com
Something Ive learned. if you build your menus based on the group
permissions, make sure they are logged in too.
if auth.is_logged_in() and auth.has_permission('admin', auth.user.id):
admin menu
elif auth.is_logged_in()
user menu
else:
guest menu
--
Thadeus
On Mon, Aug 9, 2010 at
Hello,
i defined a SQLFIELD with data type double.
Is there a way to make separator , in the textbox by default.
Thanks in Advance
Neveen Adel
You can but Jython has some regex problems it inherits from Java that
SUN refused to fix. This can create problems on some templates. This
is not a problem with web2py specifically wit with java and jython.
Anyway, give it a try and let us know.
Massimo
On Aug 9, 11:45 am, Júlio Monteiro
no
On Aug 9, 11:45 am, Thadeus Burgess thade...@thadeusb.com wrote:
Does it have Plesk or a similar control panel installed?
--
Thadeus
On Mon, Aug 9, 2010 at 10:46 AM, mdipierro mdipie...@cs.depaul.edu wrote:
I have a machine with configuration (somebody set it up for me and it
seesm
You can create a validator for it:
class EDOUBLE():
def __call__(self,value):
try:
return (float(str(value or 0).replace(',','.'),None)
except: return (value, 'error')
def formatter(self,value):
return str(value).replace('.',',')
On Aug 9, 12:03
I have a custom login method. I would like to set the group, and
names etc. I noticed the mappings for facebook in the docs, but was a
little confised about how to apply it. Can I apply a mapping from
within the actual login_method class, and if so how?
Thanks.
Thanks. I am now over the main hump and cleaning up a bit. But still
have a problem. I let the user create a community as described
above. The app create a new subdirectory and creats some tables
within that subdirectry at community creation time. All is well up to
this point. I display a
Thanks a lot mdipierro for your reply but how to use it ?
Thanks in Advance
Neveen
On Aug 9, 8:17 pm, mdipierro mdipie...@cs.depaul.edu wrote:
You can create a validator for it:
class EDOUBLE():
def __call__(self,value):
try:
return (float(str(value or
Put it in a model, before you use it and use it as
db.mytable.myfield.requires=EDOUBLE(),IS_FLOAT_IN_RANGE(0,1000)
On Aug 9, 12:48 pm, Neveen Adel nevo.a...@gmail.com wrote:
Thanks a lot mdipierro for your reply but how to use it ?
Thanks in Advance
Neveen
On Aug 9, 8:17 pm, mdipierro
Thanks, Thadeus. I'd like to contribute at some point in the future
and I wanted to make sure my design decisions wouldn't make that more
difficult.
I know you are a regular contributor, do you use a similar approach to
what Jonathan uses? ie, do you run your apps using an 'install' of a
web2py
Yes. I have one checkout that I always keep at the latest version. Its
easy since I just clone the tagged revisions from mercurial. I simlink
all of my applications to this single web2py instance.
If I need to work on web2py, I clone a brand new repository from tip
and then begin working. If I
That might be why I had so much difficulty with CentOS.
--
Thadeus
On Mon, Aug 9, 2010 at 12:14 PM, mdipierro mdipie...@cs.depaul.edu wrote:
no
On Aug 9, 11:45 am, Thadeus Burgess thade...@thadeusb.com wrote:
Does it have Plesk or a similar control panel installed?
--
Thadeus
On
It should still be fixed, the regex patterns did not get changed.
--
Thadeus
On Mon, Aug 9, 2010 at 12:19 PM, Jonathan Lundell jlund...@pobox.com wrote:
On Aug 9, 2010, at 10:14 AM, mdipierro wrote:
You can but Jython has some regex problems it inherits from Java that
SUN refused to fix.
Currently the auth systems requires the user to enter first name and
last name. Is there a way to turn this off. I see in the Reddit
example these fields are replaced by alias, but note in the book
that the fields are required to be in the table. Ideally I want the
user to only enter an alias
You add an alias field or a username field. and you can make the
fields that you do not need empty or remove them. A easy way is
db.auth_user.first_name.label='alias'
db.auth_user.last_name.readable=False
db.auth_user.last_name.writable=False
On Aug 9, 1:35 pm, david.waldrop
On Fri, Aug 6, 2010 at 1:36 PM, mdipierro mdipie...@cs.depaul.edu wrote:
db.table.field.widget=lambda field,value:
SQLFORM.widgets.TextWidget.widget(field,value,cols=35 rows=8)
You can add any attribute you need
Is this documented somewhere?
I found something strange, with this:
Hello !
I have a doubt using THEAD helper. THEAD(a, b) gives me as result
theadab/thead.
I expected theadtha/ththb/th/thead.
Why is not the same operation like TR(a, b) = trtda/
tdtdb/td/tr ?
Sorry
i expected theadtrtha/ththb/th/tr/thead
On 9 ago, 16:19, Skiros hansen.marc...@gmail.com wrote:
Hello !
I have a doubt using THEAD helper. THEAD(a, b) gives me as result
theadab/thead.
I expected theadtha/ththb/th/thead.
Why is not the same operation like TR(a, b) = trtda/
I have a clean install of CentOS 5.5, so I´ll try to write down every
step of installing web2oy and make a slice of it.
Kenneth
That might be why I had so much difficulty with CentOS.
--
Thadeus
On Mon, Aug 9, 2010 at 12:14 PM, mdipierromdipie...@cs.depaul.edu wrote:
no
On Aug 9,
after reading:
https://groups.google.com/group/web2py/browse_frm/thread/bd7b06b759c9b4ae
It looks like what I can do is this:
db.Dinners.Latitude.widget=lambda
field,value:SQLFORM.widgets.StringWidget.widget(field,value,_type=hidden)
Will this work? I'll test when I get home tonight.
On Aug
When using plugin_wiki (or just the LOAD command in general) is it
possible to somehow include response.files to include custom css and
js files?
It would be nice if I could only load .js files which are widget
specific if that widget is in use. I really don't want to have to
load every .js file
we are both missing the _ widgets are helpers.
db.sugerencias.texto.widget=lambda
field,value:SQLFORM.widgets.text.widget(field,value,_cols=35,_rows=8,_onKeyUp=counterUpdate('question_2434','countBody','250');)
This is documented in the book. Chapter 7
On Aug 9, 1:56 pm, Sebastian Bassi
You might look at http://www.web2py.com/AlterEgo/default/show/239 as a
basis.
It is a bug. Fixed in trunk:
THEAD('a','b').xml()
'theadtrtda/td/trtrtdb/td/tr/thead'
On Aug 9, 2:52 pm, Skiros hansen.marc...@gmail.com wrote:
Sorry
i expected theadtrtha/ththb/th/tr/thead
On 9 ago, 16:19, Skiros hansen.marc...@gmail.com wrote:
Hello !
I have a doubt using THEAD
This worked for me:
http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-fedora.sh
On Aug 9, 3:06 pm, Kenneth Lundström kenneth.t.lundst...@gmail.com
wrote:
I have a clean install of CentOS 5.5, so I´ll try to write down every
step of installing web2oy and make a slice of it.
You can make something like this work you should not. It is a security
vulnerability to have a editable hidden field because it does not
prevent the client from editing. In web2py you should never need
something like this. Just make the field invisible:
db.Dinners.Latitude.readable=False
The problem with this approach is that you can longer embed widgets in
regular views via {{=plugin_wiki.widget(name,**attr)}} because the
response.files list would be updated after the response.files are
included.
Massimo
On Aug 9, 4:43 pm, Chris S sanders.ch...@gmail.com wrote:
When using
Tomorrow is likely the last day to submit comments and corrections
about the online book. Then it will be frozen to go to print.
Massimo
It's probably lame, but I'm attempting to port NerdDinner to web2py
(http://nerddinnerbook.s3.amazonaws.com/Part11.htm), in this section
they have some javascript code that says this:
//... do a bunch of stuff to get lat/lon from user entered address ...
//If we've found exactly one place, that's
I need someone to implement Paypal MassPayment API (SOAP or NVP) into a
web2py app.
Please respond to alexandrema...@gmail.com
--
Atenciosamente
--
=
Alexandre Andrade
Hipercenter.com
On August 22 will present the lightning speech (only 5 minutes) at TDC2010 (
The Developers Conference ) in São Paulo - Brazil
TDC is a big event in São Paulo, with trails of speeches on various subjects
related to software development.
on sunday, Python will be the subject of a full day of
You can do this in that way, or you can do that in correct way. Good
programming dont hide or populate values in the client (javascript).
The correct way is to populate the lat and long in server side. I dont
know what values you need it. If you dont have any other way nobody
prohibit to do that.
If anyone can write a tutorial using bad programming practices, it's
Microsoft!
I could port that portion of the code that converts address to LAT/LON
values using this (server side):
http://web2py.com/book/default/chapter/12#Geocoding
But like I said, I'm just trying to do a straight port of
You could use the hg bookmark extension and keep 2 local branches.
One branch for upstream code and the other branch for your own
changes. Before you did a pull, you'd switch back to your upstream
branch, pull, switch to local change branch, merge (or rebase) with
upstream branch, etc...
At
a few files that I used for CentOS 5+
(I can;t attach them so I provide links)
http://thebookle.com/thebookle/static/install/supay.py
http://thebookle.com/thebookle/static/install/www.d
http://thebookle.com/thebookle/static/install/server_install.txt
use commands from server_install.txt
place
A couple of quick thoughts on using the book.
Can the online book have next page and previous page links added? This
would make browsing the book easier.
Also is it possible to have all in one page view? For searching
within the browser rather than the site.
my 2cents.
Matt
Massimo Di Pierro
I'm trying to make file uploads optional, however, SQLFORM is forcing
the fields to be filled. Is there any way, without javascript, to have
upload fields that are visible, but optional?
1 - 100 of 103 matches
Mail list logo