[web2py:27276] Before every request

2009-07-23 Thread Delaney
Hi guys! i am new to web2py but so far very very impressed! I have come form asp.net background and I am trying to find a similar concept to the global.asax file in web2py. effectively i want the user to be automatically redirected to the logon screen on session start , is that possible or have i

[web2py:36554] Windows Icon missing from source build.

2009-12-04 Thread Delaney
I don't see the ico file use in the taskbar icon in the Source zip file. Where is it located? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send ema

[web2py:36712] Re: Someone have examples using mongodb

2009-12-07 Thread Delaney
I know MongoDB doesn't have transactions support. Is this something that could be provided by the DAL layer? On Dec 6, 12:08 pm, Alex Fanjul wrote: > Thanks to both, > Will we see this great database implemented in DAL at any point in > future Massimo?? :-D > > Other thing: lxml its simply aweso

[web2py:37944] Standalone Web2py that accepts all request on a given port.

2009-12-28 Thread Delaney
I'm using web2py for an intranet but notice that in the default config web2py does not handle all requests to the port you serve from. Basically I want to accept connections from 'localhost','127.0.0.1','whatevermyhostnameis','etc' all on say port 80 of the server. I know how to set this up but ca

[web2py:37947] Re: Standalone Web2py that accepts all request on a given port.

2009-12-28 Thread Delaney
Is there something else I'm missing? On Dec 28, 9:57 am, mdipierro wrote: > If you use the built-in web server, when you start it, serve from > 0.0.0.0 > > On Dec 28, 11:39 am, Delaney wrote: > > > I'm using web2py for an intranet but notice that in the d

[web2py:37951] Re: Standalone Web2py that accepts all request on a given port.

2009-12-28 Thread Delaney
nt. Any thoughts Massimo? On Dec 28, 10:40 am, mdipierro wrote: > you need these in options.py > > extcron = None > nocron = None > > On Dec 28, 12:20 pm, Delaney wrote: > > > Thanks... This works as a param on the command line ''' start > >

[web2py:37955] Re: Standalone Web2py that accepts all request on a given port.

2009-12-28 Thread Delaney
o_console.exe since i do not use windows and I never tried it > myself. > > Massimo > > On Dec 28, 1:04 pm, Delaney wrote: > > > Yep, with a few more things (profiler_filename, ssl, etc) the options > > file works! > > > On last thing.  Since this is a backend

[web2py:38014] Re: Standalone Web2py that accepts all request on a given port.

2009-12-29 Thread Delaney
There > should not be a splash screen when running with -t if options.py is > present. I would take a patch to fix this. > > On Dec 28, 2:21 pm, Delaney wrote: > > > That doesn't seem to be true if you combine with -t option.  For > > web2py.exe as well. > >

[web2py:38146] Linked sqlform inputs

2009-12-31 Thread Delaney
So I'm finishing up my first web2py program (has been interesting, once you 'get' the web2py way of doing things. One last thing left. I need to link the actions of a few inputs from a SQLForm together. Specifically I need a double email inputs that have to matched but don't really need the secon

[web2py:38481] Re: Linked sqlform inputs

2010-01-06 Thread Delaney
>                                repr(request.vars.get(email, None)), >                         error_message=T('Emails do not math')),'') > > On Dec 31 2009, 5:52 pm, Delaney wrote: > > > So I'm finishing up my first web2py program (has been interesting, > > once you

[web2py] Re: Linked sqlform inputs

2010-01-06 Thread Delaney
d_again' in the database. If I try inserting/append the Field into the sqlform it complains about not being in the table. Am I missing something? On Jan 6, 2:37 pm, Delaney wrote: > Thanks for that, but it doesn't seem to work when using > sqlform.custom.label & wigdets.  Whic

[web2py] Re: Linked sqlform inputs

2010-01-07 Thread Delaney
he model. Thanks for your time mdipierro! On Jan 6, 6:19 pm, mdipierro wrote: > Can you post an example of your code? > > On Jan 6, 7:22 pm,Delaney wrote: > > > On page  228 of the web2py manual I see the docs pertaining to almost > > exactly what I'm trying to do w

[web2py] Re: Linked sqlform inputs

2010-01-07 Thread Delaney
Sure, http://www.pasteall.org/10201/html4strict This is the view and the output. On Jan 7, 10:28 am, mdipierro wrote: > where do you get '.verify_email'? can you show the complete > html output? > > On Jan 7, 12:22 pm,Delaney wrote: > > > The controller is... &

[web2py] Re: Linked sqlform inputs

2010-01-07 Thread Delaney
Honestly doing keeping 'verify_email' in the db is not a big deal to me. If there is a way to reference other Field values in db.define_table I'll do it there instead. Just a little lost with the docs on how to do it. On Jan 7, 10:49 am, Delaney wrote: > Sure,http://www.

[web2py] Re: Linked sqlform inputs

2010-01-07 Thread Delaney
Sorry for the spamming of messages. But on page 213 of the manual it says... "The same mechanism can be applied to FORM and SQLFORM objects." Can I get an example that in the controller that will work with custom sqlforms? Maybe that's all I really need. On Jan 7, 10:52 am,

[web2py] Re: Linked sqlform inputs

2010-01-07 Thread Delaney
.vars.first_name,form.vars.last_name) >         redirect(URL(r=request,f='thank_you')) >     elif form.errors: >         response.flash = 'form has errors: %s' % form.errors >     else: >         response.flash = 'Please fill out the registration form' >     re

[web2py] Re: Linked sqlform inputs

2010-01-07 Thread Delaney
fill the gaps for me with what's left out of the manual. Thanks agian! On Jan 7, 2:32 pm, mdipierro wrote: > You are right. It will never be in form.custom but this could work > > {{=form[0][-2][1][0]}} > > On Jan 7, 3:39 pm, Delaney wrote: > &g

[web2py] Re: Linked sqlform inputs

2010-01-07 Thread Delaney
> form[0][-2] is the row (TR) before the last, the one you inserted > > form[0][-2][1] is the second TD of the TR > > form[0][-2][1][0] is the first thing in the TD, the INPUT helper > > > error messages are appended after INPUT/TEXTAREA helpers > > automatically, if any. &

[web2py:27282] Re: Before every request

2009-07-23 Thread Delaney Burke
eful > concept). > > To accomplish what you want in web2py, you would use the > authentication system, and precede each of your functions ("pages") > that require login such: > > @auth.requires_login() > def index(): ># your code > > See http://www.web2py

[web2py:27305] Google Appengine Fecth call

2009-07-24 Thread Delaney Burke
this method, on the web2py server it works fine. it sends my sms message and then gives me the api response. when i run the same code on Google Appengine local and deployed it doesn't work. it doesn't giveme an error but does not fetch the api repsonse. do i have en

[web2py:28150] Form_factory on Google Appengine

2009-08-07 Thread Delaney Burke
p another problem for myself later? if there are no implications is there anyway of having some type of check the does not do this call if on GAE? Thanks in advance Delaney Burke --~--~-~--~~~---~--~~ You received this message because you are subscrib

Re: [web2py:36558] Re: Windows Icon missing from source build.

2009-12-04 Thread Delaney Gillilan
Ah didn't realize they were embedded in __getIconRunning & __getIconStopped. Attached is a version of the icons using the logo with a stroke to denote up/down status, kinda like Apache's icon. Using actual graphics files makes it easier to change. Let me know if these work for you. Thanks. On