[web2py:13527] Re: free surveys for everybody

2008-12-12 Thread Grahack
I think Fran means that answering South America to "In what continent would you like to live?" would only show further questions concerning this continent. On 13 déc, 02:19, ed wrote: > Very neat and a good start. But some websites require authenticated > respondents, > database should be option

[web2py:13526] Re: Can I do this in Web2Py?

2008-12-12 Thread mdipierro
Here is the problem should be layer.update_record(.) not layer.update() The former updates the record. The latter only update the dictionary that contains the record. Massimo On Dec 12, 4:33 pm, Fran wrote: > On Dec 12, 10:18 pm, mdipierro wrote: > > > I only see update, no ins

[web2py:13525] FORM Table horizontal

2008-12-12 Thread ed
Hi, I wanted to create a horizontal "search" prompt using the code below. I tried using TD tag after TR on all the fields but unfortunately the display was still vertical. Can somebody help me, please? Thanks form = FORM(TABLE(TR("", INPUT(_name="submit", _type="submit", _value="Search")),\

[web2py:13524] Re: free surveys for everybody

2008-12-12 Thread ed
Very neat and a good start. But some websites require authenticated respondents, database should be optional. On Dec 13, 6:30 am, mdipierro wrote: > GAE produces strange errors once in a while. I have seen it too. They > are not web2py errors they do not show up in the logs. > > Massimo > > On

[web2py:13523] Re: lambda with if is_admin

2008-12-12 Thread Wes James
What i'm trying to do is below: db.foto.represent=lambda foto: \ TABLE( if is_admin: # if admin show edit link A(foto.title,_id='fid'+str(foto.id),_href=t2.action('wiki/edit',foto.id)) else: # if not admin show only text SPAN(foto.title) A(IMG(_width=200,_src=U

[web2py:13522] Re: Can I do this in Web2Py?

2008-12-12 Thread Fran
On Dec 12, 10:18 pm, mdipierro wrote: > I only see update, no insert. Right, since this is an Update method, not an Insert method (I did the initial Insert via appadmin to get sample data into the system) > Moreover I do know what "layer" is. Is it a table? It was defined earlier in the

[web2py:13521] Re: free surveys for everybody

2008-12-12 Thread mdipierro
GAE produces strange errors once in a while. I have seen it too. They are not web2py errors they do not show up in the logs. Massimo On Dec 12, 4:28 pm, pedro wrote: > Worked like a charm to me. I like it. > I got an error somewhere when creating a survey, but unfortunately I > am not being abl

[web2py:13520] Re: lambda with if is_admin

2008-12-12 Thread mdipierro
Not on T3. Wes, what is the question. You are asking if you can do what you just did? or is it not working? If so how? Massimo On Dec 12, 4:03 pm, Timothy Farrell wrote: > If you look at the admin interface code, it reads the parameters_.py > file directly. > Perhaps we could implement an IS_

[web2py:13519] Re: free surveys for everybody

2008-12-12 Thread pedro
Worked like a charm to me. I like it. I got an error somewhere when creating a survey, but unfortunately I am not being able to replicate it. On 12 Dec, 23:19, mdipierro wrote: > how should branching be handled? > > On Dec 12, 3:36 pm, Fran wrote: > > > On Dec 12, 7:59 pm, mdipierro wrote: >

[web2py:13518] Re: Validate multiple fields

2008-12-12 Thread mdipierro
No. validators are associated to one field in the sense that only one field will report the error. db.define_table('t',SQLField('f1'),SQLField('f'2')) db.t.f2.requires=IS_NOT_IN_DB(db(db.t.f1==request.vars.f1),'t.f2') OR db.t.f1.requires=IS_NOT_IN_DB(db(db.t.f2==request.vars.f2),'t.f1') are equ

[web2py:13517] Re: free surveys for everybody

2008-12-12 Thread mdipierro
how should branching be handled? On Dec 12, 3:36 pm, Fran wrote: > On Dec 12, 7:59 pm, mdipierro wrote: > > >http://web2py.appspot.com/survey > > Looks very sweet :) > > Really need to be able to have branching options though > - i.e. sub-options that only apply if an answer went a certain way.

[web2py:13516] Re: Can I do this in Web2Py?

2008-12-12 Thread mdipierro
I only see update, no insert. Moreover I do know what "layer" is. Is it a table? On Dec 12, 3:31 pm, Fran wrote: > On Dec 12, 9:02 pm, mdipierro wrote: > > > you must do the insert manually after accept. > > Is this not what I'm already doing here? > > if form.accepts(request.vars,session,keepv

[web2py:13515] Re: lambda with if is_admin

2008-12-12 Thread Timothy Farrell
If you look at the admin interface code, it reads the parameters_.py file directly. Perhaps we could implement an IS_ADMIN_PASSWORD(pass) validator to check this. -tim Wes James wrote: Is there a way to do this on my model in t3: db.foto.represent=lambda foto: \ if is_admin: \ TABLE(

[web2py:13514] Re: Validate multiple fields

2008-12-12 Thread DenesL
On Dec 12, 4:07 pm, mdipierro wrote: > I still do not see why you cannot use IS_NOT_IN_DB(sqlset,) You > must have access to the variables that you want to validate. Correct me if I am wrong but IS_NOT_IN_DB only looks at the value of one field. >From validators.py: rows=self.dbset(field=val

[web2py:13513] lambda with if is_admin

2008-12-12 Thread Wes James
Is there a way to do this on my model in t3: db.foto.represent=lambda foto: \ if is_admin: \ TABLE( A(foto.title,_href=t2.action('wiki/edit',foto.id)),\ A(IMG(_width=200,_src=URL(r=request,f='download',args=[foto.image])),_class='zoom' ,_href='#zoom-me'+str(foto.id)),\ DIV(IMG(_widt

[web2py:13512] Re: Validate multiple fields

2008-12-12 Thread Timothy Farrell
The difference is that when the validator runs, it has access to global scope variables (request, response, SQLDB), but it does not have access to my controller local variables (which is where the data I'm trying to validate resides).  Currently, validators only validate based on 1 value passe

[web2py:13511] Re: t3 foto gallery

2008-12-12 Thread Wes James
ok in t3 db.py there IS is_admin :) -wj On Thu, Dec 11, 2008 at 5:04 PM, Wes James wrote: > Massimo, > > t3 is cool. > > In the last hour (following your t3 video), I've made a basic foto > gallery with CRUD (create, read, update, delete). > > In my lambda, how do i do: > > db.foto.represent=la

[web2py:13510] Re: free surveys for everybody

2008-12-12 Thread Fran
On Dec 12, 7:59 pm, mdipierro wrote: > http://web2py.appspot.com/survey Looks very sweet :) Really need to be able to have branching options though - i.e. sub-options that only apply if an answer went a certain way... Having some Auth beyond the URL would obviously also be useful... Looking f

[web2py:13509] Re: Can I do this in Web2Py?

2008-12-12 Thread Fran
On Dec 12, 9:02 pm, mdipierro wrote: > you must do the insert manually after accept. Is this not what I'm already doing here? if form.accepts(request.vars,session,keepvalues=True): layer.update( name=form.vars.name, description=form.vars.description, type=form.vars.t

[web2py:13508] t3 form text

2008-12-12 Thread Wes James
I used {{=self.search(db.foto)}} in a t3 page. I then copied and pasted the html and changed to: title contains title starts with title greater than title equal to

[web2py:13507] Re: Big Datatype in Postgres

2008-12-12 Thread mdipierro
I agree with Yarko, let me add that if you are using a legacy database with a 'bigint' field, you can use SQLField(...,'integer',...) and set the table to migrate=False. It will work fine. Massimo On Dec 12, 3:12 pm, "Yarko Tymciurak" wrote: > Well - you cannot use the BUT datatype portably

[web2py:13506] Re: Big Datatype in Postgres

2008-12-12 Thread Yarko Tymciurak
Well - you cannot use the BUT datatype portably you can set it up w/ SQL;I think the point is understanding if you really need to... For example, if you're looking at legacy / existing database, and want to manipulate results, then yes you can - with work & SQL But you cannot use BIG with

[web2py:13505] Re: Validate multiple fields

2008-12-12 Thread mdipierro
I still do not see why you cannot use IS_NOT_IN_DB(sqlset,) You must have access to the variables that you want to validate. Massimo On Dec 12, 3:01 pm, Timothy Farrell wrote: > The page in question is sorta like an SQLtable, it displays a full table and > allows for updates to each record

[web2py:13504] Re: Can I do this in Web2Py?

2008-12-12 Thread mdipierro
As I mentioned before, this: form=FORM(INPUT(_name="id",_value=layer.id),INPUT (_name="modified_on",_value=layer.modified_on),INPUT (_name="name",_value=layer.name),INPUT (_name="description",_value=layer.description),SELECT (_name="type",_value=layer.type),SELECT (_name="subtype",_value=subtype)

[web2py:13502] Re: refine checkbox on search

2008-12-12 Thread Yarko Tymciurak
refine takes the current result set, and applies the next search condition to it... you should be able to logically consider it as an incrementally built "AND" On Fri, Dec 12, 2008 at 2:57 PM, Wes James wrote: > > what is the refine checkbox supposed to do on a search? > > -wj > > > > --~--~--

[web2py:13503] Re: Validate multiple fields

2008-12-12 Thread Timothy Farrell
The page in question is sorta like an SQLtable, it displays a full table and allows for updates to each record without branching off to a separate page.  When the user is done making changes the wraps up the changes made and POSTs a JSON object to the web2py controller. This is a custom built

[web2py:13501] Re: refine checkbox on search

2008-12-12 Thread mdipierro
refine the pervious search instead of creating a new search On Dec 12, 2:57 pm, "Wes James" wrote: > what is the refine checkbox supposed to do on a search? > > -wj --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "w

[web2py:13500] Re: warning

2008-12-12 Thread mdipierro
We could have a party on second life instead. May be more fun! On Dec 12, 2:43 pm, Timothy Farrell wrote: > Oh man, you put up a public wiki and now you're gonna be gone for a couple of > days?!?!?! > PARTY ON THE WIKI! > mdipierro wrote:I may not be able to answer emails in the next c

[web2py:13499] refine checkbox on search

2008-12-12 Thread Wes James
what is the refine checkbox supposed to do on a search? -wj --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe f

[web2py:13498] Re: Validate multiple fields

2008-12-12 Thread mdipierro
I do not understand. Where is your input from? Massimo On Dec 12, 2:42 pm, Timothy Farrell wrote: > Yes, that would work if I used normal HTML forms (and I think that was what I > was looking for previously), but in my case, what would > berequest.vars.field1in your example is really somethin

[web2py:13497] Re: Can I do this in Web2Py?

2008-12-12 Thread Fran
On Dec 12, 3:02 pm, mdipierro wrote: > You are using a manual HTML form instead of {{=form}}. For an update > form you need to include > 1) 2) {{=form.hidden_field()}} I had form.hidden.fields() but not form.latest.id, now corrected (form.record.id doesn't work for me). I also added the T2 fiel

[web2py:13496] Re: Validate multiple fields

2008-12-12 Thread DenesL
> Yes, this would require changing some things in gluon.validators and > gluon.html. In my case they were: validators, sql, sqlhtml & compileapp; but that was back on rev.341 > I'm of the mindset that this sort of validator is very important. They become important as the need arises. My need had

[web2py:13495] Re: warning

2008-12-12 Thread Timothy Farrell
Oh man, you put up a public wiki and now you're gonna be gone for a couple of days?!?!?! PARTY ON THE WIKI! mdipierro wrote: I may not be able to answer emails in the next couple of days. Massimo -- Timothy Farrell Computer Guy Statewide General Insurance Agency (www.swg

[web2py:13494] Re: Validate multiple fields

2008-12-12 Thread Timothy Farrell
Yes, that would work if I used normal HTML forms (and I think that was what I was looking for previously), but in my case, what would be request.vars.field1 in your example is really something like simplejson.loads(request.vars.JSONdata)[2]['field1'].  And since that changes on a controller le

[web2py:13493] warning

2008-12-12 Thread mdipierro
I may not be able to answer emails in the next couple of days. Massimo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To un

[web2py:13492] Re: Validate multiple fields

2008-12-12 Thread mdipierro
you do not need this because you can already do it. requires=IS_NOT_IN_DB(db (db.table.field1==request.vars.field1),'table.field2') Massimo On Dec 12, 2:20 pm, Timothy Farrell wrote: > Yes, this would require changing some things in gluon.validators and > gluon.html. I'm of the mindset tha

[web2py:13491] Re: Validate multiple fields

2008-12-12 Thread Timothy Farrell
Yes, this would require changing some things in gluon.validators and gluon.html.  I'm of the mindset that this sort of validator is very important.  However, I'll have to look into it later.  Could you send me your code if you still have it? Thanks,   tim DenesL wrote: Oops, I misundersto

[web2py:13490] free surveys for everybody

2008-12-12 Thread mdipierro
could you give this a try? http://web2py.appspot.com/survey Massimo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsu

[web2py:13489] Re: T3 clean install - problems

2008-12-12 Thread mdipierro
try restart server and clear cache. On Dec 12, 12:45 pm, ceej wrote: > @Massimo, thank you > > @Wes James, I'm running python 2.5.2. It's doesn't have to do with > that though as I'm working on multiple other web2py projects and I'm > not getting the same issues. I can save settings fine now, it

[web2py:13488] Re: exposes and search in t3

2008-12-12 Thread mdipierro
exposes limits what you can modify, not what you can search. at this time you cannot change that. On Dec 12, 12:33 pm, "Wes James" wrote: > if i have: > > db.foto.exposes=['title','image'] > > in my models and on a page do > > {{=self.search(db.foto)}} > > should the search field dropdown have f

[web2py:13487] Re: Email problem with T3 on GAE

2008-12-12 Thread mdipierro
I do not know. I use it on GAE and it works. Massimo On Dec 12, 11:37 am, Vidul Petrov wrote: > yes I tried with different settings (with and without authentication/ > with smtp.gmail.com:587 and different smtp server). > I guess it is the well known GAE problem that prevents smtplib because >

[web2py:13485] Re: Validate multiple fields

2008-12-12 Thread DenesL
Oops, I misunderstood your goal. Actually I wrote a ROW_NOT_IN_DB validator which did not get Massimo's approval, but looking back it might have been because I used a bad example to make the case. Anyways, just coding the validator was not enough, I had to modify a few things in gluon too. On D

[web2py:13484] Re: T3 clean install - problems

2008-12-12 Thread ceej
@Massimo, thank you @Wes James, I'm running python 2.5.2. It's doesn't have to do with that though as I'm working on multiple other web2py projects and I'm not getting the same issues. I can save settings fine now, it's just things like models, procedures etc... that won't save. Everything else l

[web2py:13483] Re: WEB2PYCHAT

2008-12-12 Thread ceej
Thank you everyone :) > Shame the in-built translation is only visible to other Mibbit clients Everyone one can see the translated text, just not the english part in the () brackets :) On Dec 12, 8:18 am, Fran wrote: > Shame the in-built translation is only visible to other Mibbit clients > -

[web2py:13482] exposes and search in t3

2008-12-12 Thread Wes James
if i have: db.foto.exposes=['title','image'] in my models and on a page do {{=self.search(db.foto)}} should the search field dropdown have foto.id in it? I thought it shouldn't. Also, does exposes affect db.foto.represent? Since I just added foto.id to part of the represent I thought that t

[web2py:13481] Re: print function

2008-12-12 Thread pmate
edit: redirect(URL(r=request,c='printings',f='myPrint',args=[myDict])) On 12 Dic, 19:03, pmate wrote: > Hi, > using pyrtf i created a new controller called printings.py. > In it i have a function: > def myPrint(): >     myDict = request.args[0] >     ... >     ... >     return q.dumps(doc) > > f

[web2py:13480] Re: print function

2008-12-12 Thread Vidul Petrov
redirect(URL(r=request,c='myPrint',f='myPrint',args=[myDict])) # and not f='lprProvv' On Dec 12, 8:03 pm, pmate wrote: > Hi, > using pyrtf i created a new controller called printings.py. > In it i have a function: > def myPrint(): >     myDict = request.args[0] >     ... >     ... >     return q

[web2py:13479] print function

2008-12-12 Thread pmate
Hi, using pyrtf i created a new controller called printings.py. In it i have a function: def myPrint(): myDict = request.args[0] ... ... return q.dumps(doc) from my default controller i want to call that function passing to it a dictionary. After it finishes printing i want to get

[web2py:13478] Re: t2.display in lambda

2008-12-12 Thread Wes James
if fixed it. I changed: _href='#zoom-me' and _id='zoom-me' to _href='#zoom-me'+str(foto.id) and _id='zoom-me'+str(foto.id) -wj On Fri, Dec 12, 2008 at 10:34 AM, Wes James wrote: > funny thing though, using itemize to show several pics on the page > the zoom magic only shows the first pic o

[web2py:13477] Re: Email problem with T3 on GAE

2008-12-12 Thread Vidul Petrov
yes I tried with different settings (with and without authentication/ with smtp.gmail.com:587 and different smtp server). I guess it is the well known GAE problem that prevents smtplib because some low-level socket functions? On Dec 12, 7:30 pm, mdipierro wrote: > did you edit the settings? You

[web2py:13476] Re: Sqlalchemy and its autoload feature

2008-12-12 Thread mdipierro
No. Perhaps in the future. On Dec 12, 10:04 am, Iraklis wrote: > Hi web2py group! > > Is there something similar to SQLalchemy and its autoload function. > For example, if there is already a DatabaseModell? > > Kind Regards > Iraklis --~--~-~--~~~---~--~~ You rece

[web2py:13475] Re: t2.display in lambda

2008-12-12 Thread Wes James
funny thing though, using itemize to show several pics on the page the zoom magic only shows the first pic on on the list, even when clicking on any other pic on the list - the zoom always does just the first one :) On Thu, Dec 11, 2008 at 11:24 PM, mdipierro wrote: > > not quite but perhaps so

[web2py:13474] Re: Big Datatype in Postgres

2008-12-12 Thread mdipierro
SQLField('fielname','text') SQLField('fielname','blob') do not have size limitations on postgres. You cannot use the BIG datatype because it has not equivalent on other databases. Massimo On Dec 12, 10:07 am, Iraklis wrote: > Dear web2py community! > > How I can use the big data type from Post

[web2py:13473] Re: Email problem with T3 on GAE

2008-12-12 Thread mdipierro
did you edit the settings? You are supposed to configure your smtp server. If you use gmail you need to setup auth params. massimo On Dec 12, 10:10 am, Vidul Petrov wrote: > I am trying to use T3 email sending on GAE with no luck (T3 keeps on > saying "unable to send email"). Did anyone try thi

[web2py:13472] Sqlalchemy and its autoload feature

2008-12-12 Thread Iraklis
Hi web2py group! Is there something similar to SQLalchemy and its autoload function. For example, if there is already a DatabaseModell? Kind Regards Iraklis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py W

[web2py:13471] Big Datatype in Postgres

2008-12-12 Thread Iraklis
Dear web2py community! How I can use the big data type from Postgresql in web2py Kind Regards Iraklis --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send em

[web2py:13470] Re: Validate multiple fields

2008-12-12 Thread Timothy Farrell
Help me understand how this works. "value", in the _expression_, gets replaced with the value being validated, correct?  If so, then your suggestions check if field1 == field2.  That's not quite what I'm looking for. What I'm looking for would be something like this: ARE_NOT_IN_DB(db, 'tab

[web2py:13469] Re: t2.display in lambda

2008-12-12 Thread Wes James
Massimo, that works! thx!! -wj On Thu, Dec 11, 2008 at 11:24 PM, mdipierro wrote: > > not quite but perhaps something like this: > > db.foto.represent=lambda foto: TABLE(A(foto.title,_href=t2.action > ('wiki/edit',foto.id)), > A(IMG(_width=200,_src=URL(r=request,f='download',args=[foto.image]

[web2py:13468] Re: Validate multiple fields

2008-12-12 Thread DenesL
You can probably tailor this to your needs: db.mytable.field2.requires=IS_EXPR('value==%s' % repr (request.vars.field1),error_message='oops!') or the equivalent (and more flexible): db.mytable.field2.requires=IS_EXPR('True' ),error_message='oops!') db.mytable.field2.requires.expressions='value=

[web2py:13467] Re: T3 clean install - problems

2008-12-12 Thread Wes James
ceej, i just tried it again. new svn, new copy of t3, copied t3 in via admin, reg'd, then went in to settings and it saved my admin email fine. what python are you using? python -V and try which python to see where python is. btw, -M means load models not modules. (ver ./web2py.py -help

[web2py:13466] Re: WEB2PYCHAT

2008-12-12 Thread Fran
Shame the in-built translation is only visible to other Mibbit clients - looks really nice there :) This fits the 'Easy to Internationalise' ethos of Web2Py nicely... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "w

[web2py:13465] Email problem with T3 on GAE

2008-12-12 Thread Vidul Petrov
I am trying to use T3 email sending on GAE with no luck (T3 keeps on saying "unable to send email"). Did anyone try this setup? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group.

[web2py:13464] Validate multiple fields

2008-12-12 Thread Timothy Farrell
It seems that we discussed this a while ago, but I can't find the discussion. Can we have a validator based on multiple unique fields? Basically, I would like uniqueness to be defined by multiple fields instead of just one on a validator level.  This would be to simulate a complex primary ke

[web2py:13463] Re: Can I do this in Web2Py?

2008-12-12 Thread mdipierro
yes On Dec 12, 9:10 am, "Wes James" wrote: > i have: > > > > will that be fine? > > On Fri, Dec 12, 2008 at 8:02 AM, mdipierro wrote: > > > You are using a manual HTML form instead of {{=form}}. For an update > > form you need to include > > > 1) > 2) {{=form.hidden_field()}} > > --~--~-

[web2py:13462] Re: Can I do this in Web2Py?

2008-12-12 Thread Wes James
i have: will that be fine? On Fri, Dec 12, 2008 at 8:02 AM, mdipierro wrote: > > You are using a manual HTML form instead of {{=form}}. For an update > form you need to include > > 1) 2) {{=form.hidden_field()}} --~--~-~--~~~---~--~~ You received this messa

[web2py:13461] Re: Can I do this in Web2Py?

2008-12-12 Thread mdipierro
You are using a manual HTML form instead of {{=form}}. For an update form you need to include 1) form=FORM(INPUT(_name="name"),INPUT(_name="description"),SELECT > (_name="type"),SELECT(_name="subtype"),INPUT(_name="priority"),INPUT > (_name="enabled"),INPUT(_type="submit",_value=T("Save"))) Not

[web2py:13460] Re: WEB2PYCHAT

2008-12-12 Thread Wes James
that's interesting - put mibbit in a window with web2py as the back end ceej, your having too much fun :) -wj On Fri, Dec 12, 2008 at 3:39 AM, ceej wrote: > > Hey all, > > I've created a site http://www.web2pychat.com which will let you chat > to people in the irc web2py room without downl

[web2py:13459] Re: New Genshi4web2py.py

2008-12-12 Thread Timothy Farrell
Now there is.  Thanks for pointing that out. http://genshi.edgewall.org/wiki/GenshiRecipes/web2py Grahack wrote: Hi, I think there could be an entry+page for web2py+genshi here: http://genshi.edgewall.org/wiki/GenshiRecipes Sorry, I'm not good enough to put some info here. -- Timot

[web2py:13458] Re: Can I do this in Web2Py?

2008-12-12 Thread Fran
On Dec 11, 5:49 pm, mdipierro wrote: > 1) use your html instead of {{=form}} for but in the form include > {{if form.errors.email:}}{{=form.errors.email}}{{pass}} > {{=form.hidden_field()}} I'm trying to do the same kind of thing. I tried using form=SQLFORM(db.gis_layer) However I am missing one

[web2py:13457] Re: new web2py wiki

2008-12-12 Thread mdipierro
You can now add pages. Sorry the link was not there before. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe fro

[web2py:13456] Re: T3 clean install - problems

2008-12-12 Thread mdipierro
No idea. I will take a look. Massimo On Dec 12, 12:57 am, ceej wrote: > Spoke to soon, now this is strange. So updating settings works, but > anything else in that menu doesn't save... > > Any ideas? > > On Dec 11, 9:32 pm, "Wes James" wrote: > > > np :) > > > On Thu, Dec 11, 2008 at 10:21

[web2py:13455] Re: Monitor a User

2008-12-12 Thread mdipierro
This is beyond web2py. You can monitor the logs (httpserver.log) and web2py has a log analyzer app. You can put checks in code that save history in sessions. Then you can browse sessions via appadmin. Massimo On Dec 12, 3:46 am, KapilG604 wrote: > Hi Everybody, > > Being an owner of a firm, I

[web2py:13454] Re: WEB2PYCHAT

2008-12-12 Thread mdipierro
Really Nice! On Dec 12, 5:14 am, DenesL wrote: > It looks really good, nice job! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups

[web2py:13453] Re: new web2py wiki

2008-12-12 Thread Grahack
Ok, sorry, I think I didn't even try to login... On 12 déc, 14:27, mdipierro wrote: > you account seems active > > On Dec 12, 2:26 am, Grahack wrote: > > > Mmmmf, the activation url I received is said to be invalid. > > The problem could be on my side since FF bugged at the very moment I > > cl

[web2py:13452] Re: new web2py wiki

2008-12-12 Thread mdipierro
you account seems active On Dec 12, 2:26 am, Grahack wrote: > Mmmmf, the activation url I received is said to be invalid. > The problem could be on my side since FF bugged at the very moment I > clicked this url (note that the FF bug is not related to the wiki). > So now the problem is that my e

[web2py:13451] Monitor a User

2008-12-12 Thread KapilG604
Hi Everybody, Being an owner of a firm, I would like remotely see, what my users are upto and if they are comprmising anywhre. (Without Intruding their Work). PLease suggest if there are anyways, I can remotely see their screens for the purpose. Thanks --~--~-~--~~~-

[web2py:13450] Re: Not-so-intuitive behavior when search in boolean field

2008-12-12 Thread achipa
I might be very wrong on this, but it's actually correct that way. None is NOT a value (it is a const identifier) and hence you cannot/ should not compare it by value or use logic operators on it. The same goes for databases' NULL. Take a look for example at mysql, when you do 'WHERE id = NULL' th

[web2py:13449] Not-so-intuitive behavior when search in boolean field

2008-12-12 Thread Iceberg
Hi there, I encounter a not-so-intuitive behavior when search in boolean field, named Giving the definition: SQLField('special', 'boolean', default=False) And bear in mind that there are THREE kinds of value in this field: True, False, and ""(None)! When I search: db(db.Orders.special==True

[web2py:13448] Re: New Genshi4web2py.py

2008-12-12 Thread Grahack
Hi, I think there could be an entry+page for web2py+genshi here: http://genshi.edgewall.org/wiki/GenshiRecipes Sorry, I'm not good enough to put some info here. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py

[web2py:13447] Re: WEB2PYCHAT

2008-12-12 Thread DenesL
It looks really good, nice job! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to

[web2py:13446] Re: can i add vars to request from SQLFORM and then use form.accepts()

2008-12-12 Thread DenesL
Use form.vars.fieldname=fieldvalue before form.accepts --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from th

[web2py:13445] WEB2PYCHAT

2008-12-12 Thread ceej
Hey all, I've created a site http://www.web2pychat.com which will let you chat to people in the irc web2py room without downloading anything. I'ts built on the new T3, it's very early beta and I will be adding a lot more soon. Special thanks to Mibbit :) So there is no excuse for any web2py uses

[web2py:13444] Re: can i add vars to request from SQLFORM and then use form.accepts()

2008-12-12 Thread billf
I think you should be able to do what you ask but it would help to see your define_table and controller method. On Dec 12, 10:02 am, zhaopeng wrote: > Hello everybody, >   I display some fields of a table use SQLFORM to view.when i get the > request data from SQLFORM, I add some vars to request.

[web2py:13443] can i add vars to request from SQLFORM and then use form.accepts()

2008-12-12 Thread zhaopeng
Hello everybody, I display some fields of a table use SQLFORM to view.when i get the request data from SQLFORM, I add some vars to request.vars,then add the data to db by form.accepts(request.vars,session),but i found the vars i added in db is None.so i must use db.table.insert() to add the data

[web2py:13442] Re: new web2py wiki

2008-12-12 Thread Grahack
Mmmmf, the activation url I received is said to be invalid. The problem could be on my side since FF bugged at the very moment I clicked this url (note that the FF bug is not related to the wiki). So now the problem is that my email is in the DB but the activation url is bad. Massimo could you do