I have a table in which users can insert css declarations to customize
a page. In a controller I retrieve these declarations, and in a view I
would like them to be inserted in the head section.
This is what the rows object contains:
declaration_id1
declaration.company_id 2
By the way, Just curious if anyone was able to access the site and the
application contained using this url.
http://www.flockbird.com:9090/web2py/Flockbird
Please let me know your opinions..
BugBuster is an application and technology demo of web2py I made. This
is free for personal use -
Login De
By the way, Just curious if anyone was able to access the site and the
application contained using this url.
http://www.flockbird.com:9090/web2py/Flockbird
Please let me know your opinions..
BugBuster is an application and technology demo of web2py I made. This
is free for personal use -
Login De
Hi All,
This solution is far from normal. Its just that I am using it
on internet with nohup command, I'll try to get this fixed and try my
permutations and combinations for it. For now flockbird is up on
http://www.flockbird.com:9090/web2py/Flockbird
this port being served by Rocket.
I just
On Sep 26, 8:50 pm, Richard wrote:
> hi Massimo,
>
> I don't think those examples will work as expected.
>
> This updates the state of auth but not the database:
> auth.user.update(field=value)
>
> And this updates the database but not the state of auth:
> db(db.auth_user.id == auth.user.id).upd
ajax calls do not execute js in views but you can return any js code
from a web2py controller as in
response.js="activate_slider();"
and it should do it.
On Sep 26, 8:46 pm, Jose wrote:
> Hello,
>
> I have a beautiful slider. In my layout.html define the following to
> activate it.
>
> function
You are using # but you have to use @ for the decorador
class PluginWikiWidgets(PluginWikiWidgets):
@staticmethod
def blabla(a,b):
return blabla
Enviado via iPhone
Em 26/09/2010, às 22:59, "tom_tren...@yahoo.com"
escreveu:
> Hi,
>
> I have been following the video at htt
release: "1.3.7"
timestamp: 1282688496
api_versions: ['1']
On Sep 25, 10:05 pm, Scott wrote:
> What version of the GAE development server are you using?
>
> On Sep 24, 5:55 am, mdmcginn wrote:
>
>
>
>
>
>
>
> > GAE appstats no longer works in app.yaml for 1.85.3 and some earlier
> > versions (at
Hi,
I have been following the video at http://www.vimeo.com/13485916
I'm impressed by the possibilities of this plugin and I was able to
successfully run the examples localy, but I ran into a problem when
trying to duplicate the tutorial's example of creating a new widget.
I believe I copied the
1$ == 8¥ ;(
On 9月24日, 上午1时00分, bally boy wrote:
> You can buy it from Lulu.. Believe me it would be worth buying, though I
> have not bought it
> yethttp://www.lulu.com/product/paperback/web2py-(3rd-edition)/12199578
>
> On Thu, Sep 23, 2010 at 9:46 PM, weiertzw wrote:
> > do you have web2py o
hi Massimo,
I don't think those examples will work as expected.
This updates the state of auth but not the database:
auth.user.update(field=value)
And this updates the database but not the state of auth:
db(db.auth_user.id == auth.user.id).update(field=value)
Is there a single operation to do b
Hello,
I have a beautiful slider. In my layout.html define the following to
activate it.
function active_slider(){
$('#slider').nivoSlider({
...
});
}
$(window).load(function() {
active_slider();
});
If the images show the slider the get from the database by call
Interesting... but I need it to be part of the app and not the browser
(specially if browser specific)...I have a few other ideas
Thanks,
Mart :)
On Sep 26, 6:14 pm, Oleg wrote:
> https://addons.mozilla.org/en-US/firefox/addon/4125/
>
> On Sep 26, 11:06 pm, mdipierro wrote:
>
> > I know
Just downloaded the latest book app, still pointing to following page
(or maybe I misunderstood the message? I saw that the app had been
updated).
@ stef - the book app is part of the "free applications" section in
the books index (i think the title "the Web2py Book"). Or you can use
the following
working on that... just committe to trunk
gluon/contrib/markmin2latex.py
gluon/contrib/markmin2pdf.py (via latex)
On Sep 26, 5:00 pm, mart wrote:
> Hi,
>
> Trying to use the web2py book (the application) as a model (because
> the layout is great and has that "I'm the editor" feature :) So, no
>
On 27-09-2010 00:00, mart wrote:
> Hi,
>
> Trying to use the web2py book (the application) as a model (because
> the layout is great and has that "I'm the editor" feature :)
That might be the first part I'm looking for,
where can I find that application (google gives me only the content of the bo
On 26-09-2010 20:58, stefaan wrote:
> It's not entirely clear what you are after...
> I would think in the direction of a wiki?
As most of the content / text is fixed, I'm not sure if a wiki is the solution.
But I just saw a question about the web2py book as an application,
that comes into the dir
Well, no, the user row gets updated in a separate context. Paypal has
a service called IPN, which is Instant Payment Notification. It sends
data via post at a URL you specify when the transaction is complete.
This necessarily has to happen in a separate context(ie, a new
unlogged in auth).
On Sep 2
Meant to do this for a while as it was irritating me (both the lack of
multilingual support and the "" option when a default is specified).
Pretty much a copy-paste from sqlhtml.OptionsWidget.widget method with
2 improvements (as per the title):
1) The options get translated using the facility pr
https://addons.mozilla.org/en-US/firefox/addon/4125/
On Sep 26, 11:06 pm, mdipierro wrote:
> I know there is a firefox plugin that lets you edit textarea with your
> favorite editor. I do not recall its name.
>
> On Sep 26, 2:16 pm, mart wrote:
>
>
>
> > Hi,
>
> > I am embedding an an applicat
itneresting... when you check a section's history, the db will point
to the section above it, which is why we get linked to the following
section instead of viewing the the edited section...
On Sep 26, 6:00 pm, mart wrote:
> Hi,
>
> Trying to use the web2py book (the application) as a model (beca
there is an undefined var in /plugin_wiki.py, line 144
the var 'error' is undefined causing an exception.
@auth.requires_login()
def jqgrid():
"""
jqgrid callback retrieves records
http://trirand.com/blog/jqgrid/server.php?q=1&_search=false&nd=1267835445772&rows=10&page=1&sidx=amount&s
Hi,
Trying to use the web2py book (the application) as a model (because
the layout is great and has that "I'm the editor" feature :) So, no
sure what I am doing wrong... everytime I update the text, it
section's content disapears... but the heading in the side bar
remains ... If I remove the cont
LOL:) what version are we using? are we on 3.8?
On Sep 26, 5:07 pm, mdipierro wrote:
> I'd like to know that too. ;-)
>
> On Sep 26, 2:45 pm, mart wrote:
>
> > hi,
>
> > How do we fix the grid's container size so that it doesn't get cut
> > off?
>
> > Thanks,
> > Mart :)
>
>
I assume you do
db().update(field=value)
similarly you can do
auth.user.update(field=value)
On Sep 26, 3:44 pm, Tyler Laing wrote:
> I ran into an interesting issue in testing my site (http://www.novelite.ca
> ). If the user buys tokens while logged in, via paypal, paypal then
> sends a no
oops.fixed in trunk now.
On Sep 26, 2:48 pm, mart wrote:
> there is a typo in models/plugin_wiki.py
>
> when using widget_builder to configure a search widget, I get this
> error:
>
> models/plugin_wiki.py", line 228, in search fields=['%s.%s' %
> (table,f.spritp()) for f in fields.split(',')]
>
I'd like to know that too. ;-)
On Sep 26, 2:45 pm, mart wrote:
> hi,
>
> How do we fix the grid's container size so that it doesn't get cut
> off?
>
> Thanks,
> Mart :)
I know there is a firefox plugin that lets you edit textarea with your
favorite editor. I do not recall its name.
On Sep 26, 2:16 pm, mart wrote:
> Hi,
>
> I am embedding an an application within web2py, which is all working
> great, except that when I pass commands to it, It wants to redirect a
I ran into an interesting issue in testing my site ( http://www.novelite.ca
). If the user buys tokens while logged in, via paypal, paypal then
sends a notification to the server via IPN. Processing this adds the
tokens to the user's account. My problem is that the auth.user object
isn't updated wh
there is a typo in models/plugin_wiki.py
when using widget_builder to configure a search widget, I get this
error:
models/plugin_wiki.py", line 228, in search fields=['%s.%s' %
(table,f.spritp()) for f in fields.split(',')]
AttributeError: 'str' object has no attribute 'spritp'
so easy enough, m
hi,
How do we fix the grid's container size so that it doesn't get cut
off?
Thanks,
Mart :)
Hi,
I am embedding an an application within web2py, which is all working
great, except that when I pass commands to it, It wants to redirect a
form through stdout (can go to a text editor or a terminal), then I
edit the form and save (which gets back to the app on save). Has
anybody done this befo
A little something like this I use a much more complex version of
this for migration.
open csv
records = dict()
for line in csv:
parse if new table if yes continue
parse table field names if yes continue
if tablename == 'asdf':
asdf = line but [delete id, set reference records t
It's not entirely clear what you are after...
I would think in the direction of a wiki?
Or alternatively you probably could generate HTML from some markup
language like reStructured text.
Dear members of the the web2py mailing list.
The call for proposals for talks and tutorials at PyCon 2011 is out
http://us.pycon.org/2011/home/
I strongly encourage you to apply. It is a good conference and organized by
smart people.
Facts you may or may not know:
I have personally propos
Ok, sounds good. Thanks for the clarification :) One question, what
does happen behind the scene when upgrading web2py to the next version
and would it be worth it to add a feature to revert an upgrade? maybe
by copying the core web2py fileset (and anything else it updates) to a
temp dir, something
Massimo, as I said, there are 2 processes. The background process is a
queueing engine. The queue is doing stuff like you describe: creating
and deleting records and writing out to a log file. However, the queue
is running just fine and doesn't have the "print a.xxx" statement that
you flag as the
You can use LDAP auth in web2py. I would look in the pdf book on page
363.
On Sep 26, 12:07 pm, Mac wrote:
> Whether we can use windows authentication in web2py application? For
> an intranet application, need to retrieve windows user name in the
> controller.
>
> Any suggestion will be very hel
Whether we can use windows authentication in web2py application? For
an intranet application, need to retrieve windows user name in the
controller.
Any suggestion will be very helpful.
Thanks,
Mac
I found the solution:
http://groups.google.com/group/web2py/browse_thread/thread/451b3a8614aaf76c/bf16c51375dc1e72?lnk=gst&q=manual+upload#bf16c51375dc1e72
I am able to up/download files retrieved with the suds library. if
i insert like:
db.srattachments.insert(filelink=db.srattachments.fileli
hello,
I'm thinking of using web2py for a site that will be used for internet therapy.
The main content will be a hierachical set of pages, something like this
chapters
paragraphs
sub paragraphs
Most of the pages contain plain text, and further a next and previous button.
Some pages
I do not know if there is a way to control expiration. Even if you
could, cache expiration is never reliable.
On Sep 26, 5:12 am, hywang wrote:
> I set auth.settings.expiration=3600*24*7
> everything is ok when I put session into disk
>
> But , when I put session to memcached, it expired after se
store the url is session.next and after login if session.next redirect
there and clear the variable.
On Sep 26, 4:48 am, "david.waldrop" wrote:
> I have an application that enables users to invite others by
> capturing
> their email address and sending an email invite. The invite includes
> a li
somehow you are doing something like this
a=db.mytable.insert(myfield='xxx')
del db.mytable[a]
print a.xxx ### <<< your error
The problem should only exist if the three statements happen in the
same process because of transactions.
On Sep 26, 3:38 am, weheh wrote:
> File "C:\web2py\gluon\sql
GAE caching recipies -- would be a nice thing to have :)
main ideas are batch'ing and cach'ing :)
I found proposal to do batch gets at minute 33:30
http://www.youtube.com/watch?v=bvp7CuBWVgA
one more recipy I stumbled upon
http://blog.notdot.net/2010/01/ReferenceProperty-prefetching-in-App-Engi
Hello,
1) let's say, I want to know, where tese 72 ms are spent.
but the last path line shows to the "nonexisting line"
"default.py:topic_examples:1659 ()"
as default.py has only 1658 lines.
how could I understand what it means?
@459ms datastore_v3.RunQuery real=72ms api=0ms
Request: Query], ..
Solved without it.. thanks!
On Sun, Sep 26, 2010 at 4:26 PM, b vivek wrote:
> Hi , I am using the plugin_wiki to generate a tag cloud . The cloud actions
> return looks something like this:-
>
> return DIV(_class='plugin_wiki_tag_cloud',*[SPAN(A(tag.name
> ,_href=URL(r=request,c='default',f='ta
better way:
link = 'http://' + str(request.env.http_host) + URL('show',
args=row.id)
On 26 sep, 06:30, Tom Atkins wrote:
> Thanks for the replies. I worked out what the problem is. The code in the
> book is incorrect. The line:
>
> link = URL('show', args=row.id)
>
> does not produce a full UR
Hi , I am using the plugin_wiki to generate a tag cloud . The cloud actions
return looks something like this:-
return DIV(_class='plugin_wiki_tag_cloud',*[SPAN(A(tag.name
,_href=URL(r=request,c='default',f='taglist',args=('tag',tag.id))),_style='font-size:%sem'
% (0.8+1.0*tag.links/mc),_class='my
I set auth.settings.expiration=3600*24*7
everything is ok when I put session into disk
But , when I put session to memcached, it expired after several
minutes.
How can I solve this ?
thank you .
I have an application that enables users to invite others by
capturing
their email address and sending an email invite. The invite includes
a link to a specific 'community'. When the user clicks the link they
are taken to the application. If they are already registered (which
is not the case on
Thanks for the replies. I worked out what the problem is. The code in the
book is incorrect. The line:
link = URL('show', args=row.id)
does not produce a full URL. The RSS service does not like this and fails.
If I replace it with:
link = "http://127.0.0.1:8000"; + URL('show', args=row.id)
File "C:\web2py\gluon\sql.py", line 1501, in __allocate
raise RuntimeError, "Using a recursive select but encountered a
broken reference"
RuntimeError: Using a recursive select but encountered a broken
reference
I encountered this problem trying to do a select and display in the
browser, w
Found the problem in the left clause.
On Sep 26, 3:45 am, weheh wrote:
> I'm running sqlite. I have a query with 5 left clauses and 3 orderby
> fields that is running slow. This is the first time I'm running into a
> db speed issue. Any thoughts about how to speed up?
not sure if this is web2py or gae dev_appserver 1.3.6,
but I see this in terminal where I started dev_appserver after each
request.
On Sep 26, 2:41 am, mdipierro wrote:
> where? that is what it is in web2py.
>
> On Sep 25, 2:22 pm, Jurgis Pralgauskis
> wrote:
>
>
>
> >http://localhost:8080/stat
I'm running sqlite. I have a query with 5 left clauses and 3 orderby
fields that is running slow. This is the first time I'm running into a
db speed issue. Any thoughts about how to speed up?
56 matches
Mail list logo