Hi Denes,
In a controller I have the following function:
def application_init():
response.functionname='Aanmeldingsformulier'
response.image=URL(r=request,c='static',f='init/media/
utilities_1.jpg')
response.function_menu=[]
form=SQLFORM.factory(SQLField('bedrijfsnaam',label='Bed
Aha! I've just noticed the messsage from server on google talk so the
init app code is sending xmpp messages. well done Robin.
Now when I go and send one back to testhogg from google talk I was
expecting to see my message either in the logs in GAE dashboard or in
the printed args on the http://te
Hi Denes,
> you could use the string replace function (if month IS a string):
> {{=month.replace('_',' ')}}
month is a string, so problem solved, thanks!
Kind regards,
Annet
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
On Sat, Oct 3, 2009 at 02:47, mdipierro wrote:
>
> On a second thought, Alvaro is right.
> I have implemented a rating component. It works but one may have a lot
> of them in one page.
> It should be possible for components work both via ajax a non.
>
> Moreover if {{load ... }} were to be implem
I've tested latest trunk as well as web2py_1.67.2 binary on Windows
platform. Both can call the cron job. In source code version it can
print an error traceback on the console, while in binary version it
can only print
WARNING:root:WEB2PY CRON Call returned code 255:
but not a big deal.
So, it
Have you seen the pagination example on page 327 of the manual? It
may be what you're looking for.
On Oct 2, 10:33 pm, Wes James wrote:
> t2 had itemize. Does this exist in current w2p? I'm looking for the
> itemize and page navigation routines for after a search is entered.
>
> thx,
>
> -wes
db(db.person.name=='Bob')(db.person.position==db.position.id).select
(orderby=db.position.sort_order)
On Oct 2, 9:39 pm, BioNip wrote:
> Consider this code:
>
> > db.define_table('position',
> > Field('name'),
> > Field('sort_order', 'integer'),
> > )
>
> > db.define_table('person',
I am hoping to be to brazil before the olimpics.
On Oct 2, 10:05 pm, Álvaro Justen [Turicas]
wrote:
> On Fri, Oct 2, 2009 at 14:34, mdipierro wrote:
>
> >http://www.google.com/hostednews/ap/article/ALeqM5izzuJeYaNdQE3RQW3n5...
>
> You are all invited! ;-)
>
> On Fri, Oct 2, 2009 at 21:28, Renat
something like this?
def MYVALIDATOR:
def __init__(self,error_message):
self.error_message=error_message
def __call__(self,value):
if not re.compile('^([a-zA-Z]*[ ]*[á]*[é]*[í]*[ó]*[ú]*)+
$').match(value):
return (value,self.error_message)
else
On Oct 3, 2009, at 7:50 AM, mdipierro wrote:
> something like this?
>
> def MYVALIDATOR:
>def __init__(self,error_message):
> self.error_message=error_message
>def __call__(self,value):
> if not re.compile('^([a-zA-Z]*[ ]*[á]*[é]*[í]*[ó]*[ú]*)+
Why not:
> if n
On Oct 3, 4:58 am, Álvaro Justen [Turicas]
wrote:
> On Sat, Oct 3, 2009 at 02:47, mdipierro wrote:
>
> > On a second thought, Alvaro is right.
> > I have implemented a rating component. It works but one may have a lot
> > of them in one page.
> > It should be possible for components work both
Getting crazed about not being able to retrieve the values from the
database.
query= db.user.name==uname
records=db(query).select()
I get at least something that looks somehow that I am getting closer.
Looking in WingIDE on what I get, records comes with a __dict__ which
contains _db and colname
I currently have a suite of 3 applications (not using Web2py) which
run on different machines on a LAN and all access a single SQLite
database on one of those machines. I am considering porting the
applications to Web2py but I wonder if it will be possible to share
the database in this way.
--~--
sqlite is not a client server database so the only option is for you
to share the folder (smb or nfs).
On Oct 3, 10:49 am, BluePoint wrote:
> I currently have a suite of 3 applications (not using Web2py) which
> run on different machines on a LAN and all access a single SQLite
> database on one
Okay, never mind, I just removed the big piece of wood from my
forehead. I see clearer now..
thanks a lot for your patience, sorry for being a doofus
ciao
Stefan
On Oct 3, 5:46 pm, znafets wrote:
> Getting crazed about not being able to retrieve the values from the
> database.
>
> query= db.us
:-)
Sometimes there's nothing like just going through that yourself.
I know all the structures exposed aren't completely transparent, don't
immediately seem to correlate to the written code, the expression.
On Sat, Oct 3, 2009 at 1:14 PM, znafets wrote:
>
> Okay, never mind, I just removed the
On Sat, Oct 3, 2009 at 9:42 AM, mdipierro wrote:
>
> db(db.person.name=='Bob')(db.person.position==db.position.id).select
> (orderby=db.position.sort_order)
>
To annotate this a little more -
Checking P. 16 of the manual (*Inner Joins*) you'll see that web2py DAL
performs these transparently wh
On Sat, Oct 3, 2009 at 1:43 PM, Yarko Tymciurak wrote:
> On Sat, Oct 3, 2009 at 9:42 AM, mdipierro wrote:
>
>>
>> db(db.person.name=='Bob')(db.person.position==db.position.id).select
>> (orderby=db.position.sort_order)
>>
>
> To annotate this a little more -
>
> Checking P. 16 of the manual (*In
It seems to me that as long as a plugin can contain modules and views,
if speed is a concern, one could define components like
def component(request,reponse,session,*a):
...
return reponse.render('view_for_component.html',dict(.)
and in view {{=component(request,response,session,
Check the new admin in trunk. The edit page has a "plugins" section.
You create a plugin by creating a model or controller called plugin_
[name].py or a view called plugin_[name]/whatever.html
This is another experiment, not sure this is the way to go.
If anybody want to help we need the design
On 14 sep, 15:22, mdipierro wrote:
> inroutes.py
>
> routes_in=('/myapplication/(?P.*)','/\g'),)
> routes_out=('/(?P.*)','/myapplication/\g'),)
>
This is my virtual host:
NameVirtualHost 127.0.0.1:port
ServerName mydomain.com
DocumentRoot /home/myaccount/webapps/apachew2p/web2py/applicat
http://desktop.sonspring.com/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+un
Sorry I didn't get a chance to look at this last night. Thanks to
everyone's help I've got it working smooth like butter. :) I'm by no
means an SQL expert, so I didn't even realize what I was looking for
what an INNER join. For for anyone googling this, this is what I did
to get it working:
> for
Thanks for this. BTW, what did you use to make those screenshots?
That's kind of cool.
On Oct 3, 12:32 pm, Yarko Tymciurak wrote:
> On Sat, Oct 3, 2009 at 9:42 AM, mdipierro wrote:
>
> > db(db.person.name=='Bob')(db.person.position==db.position.id).select
> > (orderby=db.position.sort_order)
>
Thanks! I submitted a link to Massimo a while back but I may need to
bug him again :)
On Oct 2, 9:41 pm, Iceberg wrote:
> On Oct2, 12:42pm, "mr.freeze" wrote:
>
> > New version. Another round of bug fixes and feature additions. There
> > is now a demo appliance that includes all of the example
After you send a chat message to your app, check your admin logs
online. AppEngine will POST messages to ' /_ah/xmpp/message/chat/ ',
if you do not see any log entries for '/_ah/xmpp/message/chat/ ', then
it means you forgot to:
Add this to app.yaml:
inbound_services:
- xmpp_message
Robin
On
Thadeus, I've set up my domain to use Passenger, set the web directory
to /home/username/phonetizer.com/public, then I uploaded web2py and
extracted it to the 'public' directory, then I simlinked
wsgihandler.py to wsgi_passenger.py via ln -s wsgihandler.py
wsgi_passenger.py
but all I see when I g
Sorry for the noise, Thadeus. I got it working.
I used this tutorial: http://www.web2pyslices.com/main/slices/take_slice/1
On Sun, Oct 4, 2009 at 11:23 AM, Alexei Vinidiktov
wrote:
> Thadeus, I've set up my domain to use Passenger, set the web directory
> to /home/username/phonetizer.com/publi
Awesome! Glad you could get it working.
-Thadeus
On Sat, Oct 3, 2009 at 11:04 PM, Alexei Vinidiktov <
alexei.vinidik...@gmail.com> wrote:
>
> Sorry for the noise, Thadeus. I got it working.
>
> I used this tutorial: http://www.web2pyslices.com/main/slices/take_slice/1
>
> On Sun, Oct 4, 2009
There is a major bug in the auth from version 1.66.2 to 1.67.2
Users can no longer log in when I upgraded to the newest version.
It seems as if the password hash has changed? When I go into appadmin and
manually change the password, then that user can log in.
I will start looking at the source t
if i have following code
db.define_table(
'users',
Field('name'),
Field('email')
)
# ONE (users) TO MANY (dogs)
db.define_table(
'dogs',
Field('owner_id', db.users),
Field('name'),
Field('type'),
Field('vaccinated', 'boolean', default=False),
Field('pictu
Hi Don --
You could make web2py run as a service as soon as the computer starts
up. Then an icon could point to the URL needed to start the web app.
It would launch like any other program, from a desktop icon. But, of
course, it would also be deliverable over the web.
I'm also very interested
32 matches
Mail list logo