Doesn't exactly answer my question. For example, say in web2py you
define table with fields a, b, c. In old db you have fields a, b and
d. Will you be able to load blank web2py table with old db data for a
and b just by importing the old db csv file into the new db? Or will
importer choke?
On Se
web2py version 1.98.2
If a custom url is set for login_url (via auth.settings.login_url) and no
arg is passed, auth() does not honor login_url and redirects to url based on
controller set while initializing Auth()
e.g.
auth=Auth(globals(),db)
auth.settings.login_url = URL(request.application,
I had some hard time while using jQueryUI with web2py first time.
Whatever I did, I couldn't get rid of the 'ui-darkness' theme.
The theme css files were correctly specified in the header.
After slogging for a long time, I uninstalled a web2py plugin for
jqueryUI (which was having ui-darkness theme
But, a VIEW() helper would be a very good idea
Because you are specifying a path in the views directory, not a URL.
Have you reviewed Chapter 11?
http://web2py.com/book/default/chapter/11
"Isn't it a good idea to send a verification email to prevent fake
emails and a 'captcha' to prevent automated registrations !"
No and no. Both of those are customer-hostile and usually unnecessary.
No and no. Both of those are customer-hostile and usually unnecessary.
No and no. Both of those are customer-hostile and usually unnecessary.
Mmmm I think that my poor english won't help jeje
I'm just saying that some widgets of jqueryUI can replace things in
default web2py
for example... Superfish menu
or maybe can be a plugin that let users to put whatever style they
want, or create one like the page you mention
... just saying =)
On
On Monday, September 19, 2011 11:05:18 PM UTC-4, rochacbruno wrote:
>
> I am confused too. but..
>
> If you are thinking about menu..
>
> consider this one: http://wijmo.com/Wijmo-Open/samples/#menu
>
Can it do horizontal submenus with a horizontal menus, like this:
http://users.tpg.com.au/j_bir
Quite interesting, well it still works with all java disabled. CSS10 maybe
:)
ha - I just managed to brake it. Here is some useful info
Traceback (most recent call last):
File
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py",
line 701, in __call__
h
I am confused too. but..
If you are thinking about menu..
consider this one: http://wijmo.com/Wijmo-Open/samples/#menu
This is MIT or GPL license http://wijmo.com/widgets/license/ and has a lot
of widgets...
Please download the nightly built and try it with your apps. If they
work, say go and I we will launch tomorrow.
Massimo
It was a mistake to put that in crud to begin with. It has nothing to
do with crud. That is why I do not like crud very much. Everything it
does that we like can now be done without crud and better.
On Sep 19, 9:56 pm, tomt wrote:
> Thanks a lot Massimo,
>
> Both forms work correctly.
> I had n
Can you help me with wireshark and see if the ajax requests send or
not back he cookie? What browser did you use? Can you reproduce with
multiple browsers?
My explanations must be wrong because the two sessions would not get
the same id.
On Sep 19, 8:53 pm, DenesL wrote:
> On Sep 19, 7:52 pm, Ma
Thanks a lot Massimo,
Both forms work correctly.
I had no idea I could use crud.archive(form) in the stable release
with anything but crud. I am now using it successfully on several
SQLFORM routines.
On Sep 18, 9:57 pm, Massimo Di Pierro
wrote:
> ERRATA:
>
> With stable you can do
>
> form=SQLF
> In my opinion, you can use this instead of superfish, just saying.
I am confused. The link was about fonts. Superfish was about menu. I
am happy to replace the menu but what do you suggest?
Hi,
Here is the link for web2py app (appointment manager) that is using jquery
plugin fullcalendar mentioned by Bruno.
http://code.google.com/p/web2py-appointment-manager/
It's quite simple, but I'm sure it's good starting point.
Cheers
I
On 20 September 2011 01:31, Noel Villamor wrote:
>
>
may be this http://wijmo.com/Wijmo-Open/samples/#calendar|overview
you can start with this jquery plugin
http://arshaw.com/js/fullcalendar-1.5.2/demos/agenda-views.html
On Mon, Sep 19, 2011 at 9:31 PM, Noel Villamor wrote:
>
> It would be handy if I can get hold of a calendar whose individual
> dates/days I can decorate based on an event table.
>
> I won't use
On Sep 19, 7:52 pm, Massimo Di Pierro
wrote:
> I did not try reproduce this but I can see a race condition caused by
> the browser. I make a guess.
Actually it is pretty simple to reproduce.
As posted above, there is an index page containing several LOAD
commands.
To keep it simple, say there i
It seems that all has been made using JQuery
and It will be interesting to develop an app of it
And maybe... a plugin or something for Web2Py
because (and you can see in a post were I've participated) JqueryUI
can be very useful in it.
In my opinion, you can use this instead of superfish, just sa
http://use.fontorie.com/
How about an app?
It would be handy if I can get hold of a calendar whose individual
dates/days I can decorate based on an event table.
I won't use it as a pop-up or date selector. I just need to display it on a
page and be able to pan the month and year. I see quite a few in .js, do we
have any in .py or web2
Massimo is the manager of that entry
On Mon, Sep 19, 2011 at 7:52 PM, Anthony wrote:
> It must be looking at an old/abandoned repository because it's showing no
> changes/commits in the last two years. Also has the wrong license info.
> Would be nice if someone could update/correct it.
>
> Antho
Its sort of a mixed bag of tools but web2py gets notice.
http://designmodo.com/web-development-frameworks/
I did not try reproduce this but I can see a race condition caused by
the browser. I make a guess.
When the page is loaded there is no session. Depending on the browser
it performs two ajax loads. There are three concurrent requests, the
outer page, and the two ajax requests. There is noway to tel
They do not have to match exactly, it is sufficient all data present
can be parsed by the existing fields types. For example a date can be
loaded into a string or an int can be loaded into a string or a
double.
On Sep 19, 11:55 am, weheh wrote:
> I haven't had time to try this but, does anyone al
Is this reproductible? How long does the upload take?
On Sep 19, 10:45 am, demetrio wrote:
> Hi, i'm having the next traceback when I try to upload a file in the
> production server:
>
> Traceback (most recent call last):
> File "/srv/web2py/gluon/main.py", line 442, in wsgibase
> parse_get
It must be looking at an old/abandoned repository because it's showing no
changes/commits in the last two years. Also has the wrong license info.
Would be nice if someone could update/correct it.
Anthony
On Monday, September 19, 2011 3:45:24 PM UTC-4, rochacbruno wrote:
>
>
> https://www.ohloh.
I ended up with something like this:
http://pastebin.com/Y9keC9tB
Chris
On Mon, Sep 19, 2011 at 8:42 PM, Chris Rowson
wrote:
> Thanks all!
>
> Chris
>
> On Mon, Sep 19, 2011 at 6:49 PM, Phyo Arkar wrote:
>> I like lxml more , and check pyquery! jQuery of python at server side.
>>
>> On 9/20/1
Oh, I figured out.
I should convert category.id to string :)
{{=" selected='selected'" if
str(category.id)==request.vars.category_name else ""}}>
On 9月19日, 午後4:52, Omi Chiba wrote:
> Bruno,
>
> That was so quick !!
> I have one problem. category.id is int type but looks like
> request.vars.cate
Bruno,
That was so quick !!
I have one problem. category.id is int type but looks like
request.vars.category_name is returned as string or something
so this is not equal
{{if category.id==request.vars.category_name:}}
This works
{{=" selected='selected'" if category.id==7 else ""}}>
I want to c
I dont use Ohloh ! but i gonna use now to promote web2py!
On 9/20/11, Ross Peoples wrote:
> Put mine in.
FIX:
http://zerp.ly/rochacbruno ]
[ Aprenda a programar: http://CursoDePython.com.br ]
[ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ]
[ Consultoria em desenvolvimento web: http://www.blouweb.com ]
> response.write(" selected='selected' ")}} >
>
--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]
I have a dropdown list in the form. The value is generated from
category table which has id and name field.
After select the category and click submit, I want to "selected" the
category we selected before submit (request.vars.category_name).
I'm trying to use if statement but not sure what I'm do
Put mine in.
https://www.ohloh.net/p/web2py
web2py is there but shows only 14 users using this..
lets change this.. Click in "I USE THIS" and add yourself to the stack.
Thanks all!
Chris
On Mon, Sep 19, 2011 at 6:49 PM, Phyo Arkar wrote:
> I like lxml more , and check pyquery! jQuery of python at server side.
>
> On 9/20/11, Bruno Rocha wrote:
>> I dont know your needs but, you can pass any XML to web2py TAG[''] helper so
>> then you can use Server side DOM to
yeah , how abt retrofitting Qooxdoo into pyjamas? it should work. It
will be easier. Then introduce it into web2py how thats soudns? I only
tested pyjamas a bit.
after coding mnore and more in Qooxdoo ,I realize jquery-UI main
weakness is making user depending on html and css , and selectors.
Actu
so the power is all yours,. use JSON or AMF
There are many C++ Json libs for sure.
(http://jsoncpp.sourceforge.net/)
For AMF (Binary Protocol , Lesser packet size , Higher Performance)
http://code.google.com/p/libamfx/
On 9/20/11, Magnitus wrote:
> I wrote the engine myself so it's as flexible
I have been looking at qooxdoo as a replacement for jQuery UI for quite a
while, since they seem to have a nice set of widgets. I don't know why it
takes the jQuery UI team over a year to make a menubar widget (that's still
not finished), when you could probably write your own high-quality versi
It works!!! Thanks so much!
I put {{response.files.append("
http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/themes/swanky-purse/jquery-ui.css
")}}
and it works :D
On Mon, Sep 19, 2011 at 11:03 AM, Anthony Bastardi wrote:
> I think response.files should work with external URLs as well --
I have a web server running with Web2py.
I have potentially several instances of my game engine running as
standalone C++ processes.
They communicate with each other via sockets (given that the game
engine needs to be expendable over several computers, sockets are a
must).
So far, I've used bare
LOL :D may be till 2012 december 21st should be enought?
On 9/17/11, pbreit wrote:
> Unsafe and unnecessary. Wouldn't 10 or 20 or 50 years be ok?
I like lxml more , and check pyquery! jQuery of python at server side.
On 9/20/11, Bruno Rocha wrote:
> I dont know your needs but, you can pass any XML to web2py TAG[''] helper so
> then you can use Server side DOM to inspect
>
> http://web2py.com/book/default/chapter/05#Server-side-DOM-and-Pars
The verification email has been sent!
But I am using a feature that allows first login without registration, but
you will not be able to login again
I will include a captcha...
de rifar...@gmail.com para d...@dfgdfg.pl
data 19 de setembro de 2011 06:27 assunto Bem-vindo, confirme seu
e-mail
I wrote the engine myself so it's as flexible as I need it to be ;).
Haven't gone on the XML wagon yet, was simply considering it.
I did work with JSON for the AJAX component of my web server so that
solution is looking pretty good atm. I thought it was mostly a
Javascript-Server thing and wasn't
I dont know your needs but, you can pass any XML to web2py TAG[''] helper so
then you can use Server side DOM to inspect
http://web2py.com/book/default/chapter/05#Server-side-DOM-and-Parsing
http://dev.s-cubism.com/plugin_elrte_widget
On Mon, Sep 19, 2011 at 1:14 PM, Guy Nesher wrote:
> Hi guys,
>
> I've trying to add a WYSIWYG editor to the SQLFORM.
> While it was fairly straightforward to get tinymce to work, it breaks
> the form submission (apparently the data is saved in an ifra
Also look into AMF/PyAMF
AMF is binary protocol , very much like json. I have a chatroulette
like webcam application in development using PyAMF.
On 9/20/11, Phyo Arkar wrote:
> yes, json/jsonp is much better portocol for gaming coz due to lesser
> size and its properties.
> But if he already ha
Anthony,
Very interesting behavior. I checked in the page source, and even
though my custom jQueryUI files append lines are commented, for some
reason they are still included. I think it has to do with that
files.append...I think that once those files are appended, they do not
automatically get re
yes, json/jsonp is much better portocol for gaming coz due to lesser
size and its properties.
But if he already have XML engine for his game he should go with it
(coz all the game engine supports XML , not any with JSON support i
know of yet.)
On 9/20/11, Ross Peoples wrote:
> You can try JSON, P
Look into:
twisted and lxml
they all can be integrated into web2py. lxml is python API for
libxml2. and Twisted is more pouplar Client/Server Network programming
lib .
I have implemented Peer to Peer UDP Hole Punching protocol from
scratch using Twisted. It was within 50 - Lines of code.
On 9/
You can try JSON, Python 2.6+ has a C JSON parser in it already which web2py
uses for JSON communications. I haven't done any testing with it versus XML,
but JSON is such a simple protocol with minimal parsing requirements that
I'd imagine it's much faster than parsing XML.
Don't sweat massimo , we are talking about source build of qooxdoo's
application! :D
You should give qooxdoo a try , it is quite innovative . First
learning curve is steep for starters with Java Style programming but
later it getting so well and i am getting addicted now.
Only problem at web2py s
I haven't had time to try this but, does anyone already know whether
csv import will work if only some of the fields match the importing
table and others do not? It would be useful to degrade gracefully like
this if new tables don't exactly match old tables.
I did look at that Bruno, but some of the articles I read suggested that it
is not very memory efficient?
Chris
On Sep 19, 2011 3:44 PM, "Bruno Rocha" wrote:
> I use xml minidom and it is easier.
>
> http://zerp.ly/rochacbruno
> Em 19/09/2011 11:40, "Chris Rowson"
escreveu:
>> Thank you Michele,
Hi guys,
I've trying to add a WYSIWYG editor to the SQLFORM.
While it was fairly straightforward to get tinymce to work, it breaks
the form submission (apparently the data is saved in an iframe instead
of the textarea).
I've checked online and found a tutorial on
http://www.web2pyslices.com/slic
You have to add 1 css and 2 js files
those files are in the zip that you've downloaded
after that you only have to copy paste the code that appears in jqueryui
page
On Mon, Sep 19, 2011 at 11:06 AM, rami wrote:
> Thank you, pbreit!
>
> You mean under the "Google Ajax Libraries API (CDN)", right
Thank you, pbreit!
You mean under the "Google Ajax Libraries API (CDN)", right?
Well I added for example
http://http://ajax.googleapis.com/ajax/
libs/jqueryui/1.8.5/themes/swanky-purse/jquery-ui.css" type="text/
css">
instead of my
{{response.files.append(URL('static','jQueryUI/css/custom-theme
Hi, i'm having the next traceback when I try to upload a file in the
production server:
Traceback (most recent call last):
File "/srv/web2py/gluon/main.py", line 442, in wsgibase
parse_get_post_vars(request, environ)
File "/srv/web2py/gluon/main.py", line 276, in parse_get_post_vars
re
Javier,
Could you please tell me how you included your javascript files in the
layout after the
?
I see that you added the latest jQuery and jqueryui under the default /
static/js folder that web2py has. Did you remove the jquery.js file
that web2py comes with? (or did you override it?)
On S
When the initial LOADs execute, two session files are created and each
holds the appropriate formkey for each form.
But on submit one of the session files is never read or updated again,
hence the corresponding form does not accept.
Almost sure this is bug, I just don't know where.
Denes.
I use xml minidom and it is easier.
http://zerp.ly/rochacbruno
Em 19/09/2011 11:40, "Chris Rowson" escreveu:
> Thank you Michele,
>
> Chris
>
> On Mon, Sep 19, 2011 at 2:00 PM, Michele Comitini
> wrote:
>> There is nothing wrong with your code. Maybe it is better to use
>> find() to get the tag
I used Pylons until 0.9. The 1.0 release broke my whole system.
Then after that, the guys created a glued frankestein. I do not like the
approach. I have a system running in Pylons 1.0 and planning the migration
to web2py soon.
http://zerp.ly/rochacbruno
Em 19/09/2011 03:00, "Richard B" escreve
Thank you Michele,
Chris
On Mon, Sep 19, 2011 at 2:00 PM, Michele Comitini
wrote:
> There is nothing wrong with your code. Maybe it is better to use
> find() to get the tag.
> If you have an XSD schema you can use generateDS
> http://www.rexx.com/~dkuhlman/generateDS.html
> to have a python par
hey guys ,
anyone can tell me what is the steps of using fast CGI with web2py ???
yes.
On Sep 19, 4:52 am, Cliff wrote:
> The book says,:
>
> Applications can connect to the same database and thus share tables.
> It is not necessary that all tables in the database are defined by all
> applications, but they must be defined by those applications that use
> them.
>
> Can I defin
> Both Web2Py and Pyramid are serious, proven, high-quality, well
> managed, well documented, and useful. They take different approaches
> and are best suited for different situations, so it's hard to imagine
> them ever being merged, but I've considered using both of them for
+1
There is nothing wrong with your code. Maybe it is better to use
find() to get the tag.
If you have an XSD schema you can use generateDS
http://www.rexx.com/~dkuhlman/generateDS.html
to have a python parser.
But if you can use the JSON API... much simpler.
mic
2011/9/19 Chris Rowson :
> Anybod
Thanks.
---Vineet
On Sep 18, 8:03 am, Massimo Di Pierro
wrote:
> Mind
>
> try:
> #do something (*)
> except Exception, e:
> db.rollback() # may be needed if (*) fail on db io
> response.flash = "Error occured %s" % str(e)
>
> or if you need more info
>
> try:
> #do something (*)
> ex
instead of this:
response.view = 'controller/function.html'
Why you cant do this?
response.view = URL(a = 'application', c = 'views', f = 'controller',
args = 'function.html')
Anybody using xml.etree?
I asked this question over at the Python tutors group but it seems
that few people there had experience of it.
I'm trying to access a UK postcode API at www.uk-postcodes.com to take
a UK postcode and return the lat/lng of the postcode. This is what the
XML looks like: htt
Thank you all.
I think I get the gist of what happens now.
Really appreciating all of the effort you guys put into helping people
on this list!
Chris
On Sat, Sep 17, 2011 at 4:17 PM, Anthony wrote:
> Also, note that your 'results' dict will only persist for the duration of a
> single request.
The book says,:
Applications can connect to the same database and thus share tables.
It is not necessary that all tables in the database are defined by all
applications, but they must be defined by those applications that use
them.
Can I define the common tables in one application's model files a
(a littlebit off-topic comment)
Bruno,
I visited the mentioned site.
I gave username as 'fff' & 'ddd' and a fake email; It got registered.
Isn't it a good idea to send a verification email to prevent fake
emails and a 'captcha' to prevent automated registrations !
---Vineet
On Sep 18, 8:43 pm, Mi
1) this is a webfaction questions :), for auto_start take a look at
http://forum.webfaction.com/viewtopic.php?id=2933
2) replace its content with nginx.conf
but I would recommend to use just uwsgi, it has a built in webserver
now I use that:
[web2py]
wget http://www.web2py.com/examples/static/
http://web2py.com/book/default/chapter/04#URL
81 matches
Mail list logo