[web2py:11728] Re: css path on public access

2008-11-11 Thread Wes James
On Tue, Nov 11, 2008 at 6:01 PM, mdipierro <[EMAIL PROTECTED]> wrote: > > It is in > > http://site/plugin_t2/static/t2/styles/style.css > > you found a bug in the latest version because > > http://site/web2py-app-name/plugin_t2/static/t2/styles/style.css > > should not give you a ticket. > > Massi

[web2py:11727] Widgets and styling

2008-11-11 Thread billf
I don't know much about widgets and I have a question. How do I ensure that my widget is styled in line with other, similar components? Or putting it another way, can I ensure that my widget gets class= or id= attributes that are compatible with those given to non-widget components or do I have

[web2py:11726] Re: Possible bug in IS_URL

2008-11-11 Thread mdipierro
Send me the patch when done. Great work Jonathan. Massimo On Nov 11, 10:25 pm, Jonathan Benn <[EMAIL PROTECTED]> wrote: > Hi Achipa, > > On Nov 12, 1:54 am, achipa <[EMAIL PROTECTED]> wrote: > > > Maybe it would be worth generalizing it a bit, a sort of > > IS_URI(schema=['generic'|'http'|'ftp'|

[web2py:11725] Re: web2py 1.49.1

2008-11-11 Thread mdipierro
No. please use a different thread to discuss that. Massimo On Nov 11, 10:23 pm, "Wes James" <[EMAIL PROTECTED]> wrote: > Is this supposed to fix the issue i was having accessing web2py from > public face? I did a quick test before I had to run this evening and > it still was not accessing t2 cs

[web2py:11724] Re: mod_wsgi / Apache, Non-root mount, setting default application

2008-11-11 Thread Mark Larsen
Experimenting some and it seems it might be as simple as: WSGIScriptAlias /appName /opt/web2py-1.49/wsgihandler.py/appName Of course this would require multiple handlers for each application. Is there a better way? On Nov 11, 4:10 pm, Mark Larsen <[EMAIL PROTECTED]> wrote: > web2py users, > >

[web2py:11723] Re: Possible bug in IS_URL

2008-11-11 Thread Jonathan Benn
Hi Achipa, On Nov 12, 1:54 am, achipa <[EMAIL PROTECTED]> wrote: > Maybe it would be worth generalizing it a bit, a sort of > IS_URI(schema=['generic'|'http'|'ftp'|'mailto']) and have http as the > default? Good idea. I will do so. For the moment, IS_URL will only support 'generic' and 'http'

[web2py:11722] Re: web2py 1.49.1

2008-11-11 Thread Wes James
Is this supposed to fix the issue i was having accessing web2py from public face? I did a quick test before I had to run this evening and it still was not accessing t2 css properly (after updating to 1491). -wj On Tue, Nov 11, 2008 at 6:04 PM, mdipierro <[EMAIL PROTECTED]> wrote: > > One of the

[web2py:11721] Re: Oracle Rdb & Web2py

2008-11-11 Thread mdipierro
Yes. web2py works with Oracle. Marcel Leuthi from Switzerland ported it. 0) Install python 2.5 1) you need to install this driver http://cx-oracle.sourceforge.net/ 2) download web2py source 3) In your apps, in the model(s) connect to oracle using db=SQLDB('oracle://[URI]') where URI th

[web2py:11720] Oracle Rdb & Web2py

2008-11-11 Thread red
Does Web2py work with Oracle Rdb as the backend database? If yes, how do I make this work? I am trying to search for Python Web frameworks that work with Rdb. I am currently looking at Web2py, Zope Django and Webware. I am new to Python and searching for web application tools. Thank you for y

[web2py:11719] Re: web2py 1.49.1

2008-11-11 Thread mdipierro
google code or launchpad? If you can choose please use launchpad. Massimo On Nov 11, 9:02 pm, ceej <[EMAIL PROTECTED]> wrote: > The GIT repo of web2py that I created on github.org uses all the > comments/info 'everything' that Massimo does, If you look at the repo > the author and comments are a

[web2py:11718] Re: web2py 1.49.1

2008-11-11 Thread ceej
The GIT repo of web2py that I created on github.org uses all the comments/info 'everything' that Massimo does, If you look at the repo the author and comments are all Massimo and the same as svn. The repo is checked against the svn repo at least 5 times a day and updated when necessary :) I will

[web2py:11716] Re: web2py 1.49.1

2008-11-11 Thread mdipierro
:-) On Nov 11, 7:27 pm, ceej <[EMAIL PROTECTED]> wrote: > All up to date athttp://github.com/web2py/web2py/tree/masteralso :) > > On Nov 11, 5:17 pm, "Yarko T" <[EMAIL PROTECTED]> wrote: > > > 1.49.1 changeset has been mirrored tohttp://bitbucket.org/yarko/web2py > > > On Tue, Nov 11, 2008 at 7:0

[web2py:11715] Re: web2py 1.49.1

2008-11-11 Thread ceej
All up to date at http://github.com/web2py/web2py/tree/master also :) On Nov 11, 5:17 pm, "Yarko T" <[EMAIL PROTECTED]> wrote: > 1.49.1 changeset has been mirrored tohttp://bitbucket.org/yarko/web2py > > On Tue, Nov 11, 2008 at 7:04 PM, mdipierro <[EMAIL PROTECTED]> wrote: > > > One of the latest

[web2py:11714] Re: web2py 1.49.1

2008-11-11 Thread Yarko T
1.49.1 changeset has been mirrored to http://bitbucket.org/yarko/web2py On Tue, Nov 11, 2008 at 7:04 PM, mdipierro <[EMAIL PROTECTED]> wrote: > > One of the latest patches about routes_onerror introduced a nasty > error. If you call a function or controller or app that does not exist > you get a t

[web2py:11713] web2py 1.49.1

2008-11-11 Thread mdipierro
One of the latest patches about routes_onerror introduced a nasty error. If you call a function or controller or app that does not exist you get a ticket instead of a 400 error. Fixed and reposted 1.49.1 for src and osx. The windows version is still 1.47 until I go to my office on Firday. It see

[web2py:11712] Re: css path on public access

2008-11-11 Thread mdipierro
It is in http://site/plugin_t2/static/t2/styles/style.css you found a bug in the latest version because http://site/web2py-app-name/plugin_t2/static/t2/styles/style.css should not give you a ticket. Massimo On Nov 11, 5:47 pm, "Wes James" <[EMAIL PROTECTED]> wrote: > I ran a test to see what

[web2py:11711] css path on public access

2008-11-11 Thread Wes James
I ran a test to see what my site looks like from another system. The css is not begin applied. In the source css is at: http://site/plugin_t2/static/t2/styles/style.css i get an access denied error i also tried: http://site/web2py-app-name/plugin_t2/static/t2/styles/style.css but then an in

[web2py:11710] Re: NOTAG class

2008-11-11 Thread DenesL
LOL --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more o

[web2py:11709] Re: change height of edit window

2008-11-11 Thread Wes James
ah - rows="75" is much better. thank you! On Tue, Nov 11, 2008 at 3:58 PM, mdipierro <[EMAIL PROTECTED]> wrote: > > you can edit the admin/views/default/edit.html file. > > On Nov 11, 4:55 pm, "Wes James" <[EMAIL PROTECTED]> wrote: >> Is there a settings file somewhere to change the height of th

[web2py:11708] Re: Web2py Modjy & Glassfish

2008-11-11 Thread Andrew
Closer still :) Looked up windows signal.h and found only following signal types are defined in windows: #define SIGINT 2 /* interrupt */ #define SIGILL 4 /* illegal instruction - invalid function image */ #define SIGFPE 8 /* floating point exception

[web2py:11707] Re: change height of edit window

2008-11-11 Thread mdipierro
you can edit the admin/views/default/edit.html file. On Nov 11, 4:55 pm, "Wes James" <[EMAIL PROTECTED]> wrote: > Is there a settings file somewhere to change the height of the web2py > gui edit window? > > -wj --~--~-~--~~~---~--~~ You received this message becaus

[web2py:11706] Re: Possible bug in IS_URL

2008-11-11 Thread mdipierro
yes, better. On Nov 11, 4:54 pm, achipa <[EMAIL PROTECTED]> wrote: > Maybe it would be worth generalizing it a bit, a sort of > IS_URI(schema=['generic'|'http'|'ftp'|'mailto']) and have http as the > default? > > On Nov 11, 4:43 pm, mdipierro <[EMAIL PROTECTED]> wrote: > > > Hi Jonathan, > > > pl

[web2py:11705] Re: Web2py Modjy & Glassfish

2008-11-11 Thread mdipierro
I did a mistake before because of indentation. The applicaiton.py should be: def handler(environ, start_response): from gluon.main import wsgibase return wsgibase(environ, start_response) You may also want to try something even simpler #from gluon.main import wsgibas

[web2py:11704] change height of edit window

2008-11-11 Thread Wes James
Is there a settings file somewhere to change the height of the web2py gui edit window? -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@go

[web2py:11703] Re: Possible bug in IS_URL

2008-11-11 Thread achipa
Maybe it would be worth generalizing it a bit, a sort of IS_URI(schema=['generic'|'http'|'ftp'|'mailto']) and have http as the default? On Nov 11, 4:43 pm, mdipierro <[EMAIL PROTECTED]> wrote: > Hi Jonathan, > > please make them into a single one IS_URL(mode="strict" or "generic") > and email it

[web2py:11700] Re: NOTAG class

2008-11-11 Thread mdipierro
Too late. It exists since 1.48. ;-) lbl=LABEL('labelx',_for='fieldx',_id='x__label') inp=INPUT(_type='text',_id='fieldx',_name='fieldx') somecode=TAG[''](lbl,inp,BR()) Massimo On Nov 11, 4:16 pm, DenesL <[EMAIL PROTECTED]> wrote: > I came across the need for an HTML helper object that could con

[web2py:11702] The Point of Merge Proposals

2008-11-11 Thread Yarko T
For those who wonder about merging on Launchpad, and how this will / should work, here's an example announcement. WHY? When someone has a change, you can review their changes, and make comments (in the Group is good); When you propose a change, your Whiteboard can introduce the change and motivati

[web2py:11701] Re: Web2py Modjy & Glassfish

2008-11-11 Thread Andrew
*correction in my layout, application.py is in the root of the webapp folder. c:\temp\webapp |__WEB-INF | |__web.xml | |___lib ||__modjy.jar ||__jython-complete.jar

[web2py:11699] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread billf
Many thanks. On Nov 11, 10:00 pm, Keith Edmunds <[EMAIL PROTECTED]> wrote: > On Tue, 11 Nov 2008 11:56:12 -0800 (PST), [EMAIL PROTECTED] > said: > > > Can achipa or Keith or > > anyone who gets the problem try storing the source locally (if they > > can access it at all!) and see if they still ge

[web2py:11698] NOTAG class

2008-11-11 Thread DenesL
I came across the need for an HTML helper object that could contain a list of HTML helpers (ala DIV) but without generating any tags itself. Since I could not find one already made I defined it as: class NOTAG(DIV): tag=' ' # one blank def xml(self): return self._xml()[1] Sample usage: l

[web2py:11697] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread Keith Edmunds
On Tue, 11 Nov 2008 11:56:12 -0800 (PST), [EMAIL PROTECTED] said: > Can achipa or Keith or > anyone who gets the problem try storing the source locally (if they > can access it at all!) and see if they still get the problem? The problem (for me, at least) is NOT the page itself, but the DNS entr

[web2py:11696] Re: Web2py Modjy & Glassfish

2008-11-11 Thread Andrew
Getting closer. I added the following init-param to my web.xml python.path c:\temp\webapp\WEB-INF\lib\Lib;c:\temp\webapp \web2py and based off of one of deha's post found that Jython has no signal module so I stole the one from: http://twistedmatrix.com/trac/attachment/tick

[web2py:11695] mod_wsgi / Apache, Non-root mount, setting default application

2008-11-11 Thread Mark Larsen
web2py users, I'm running apache2 with mod_wsgi. I ScriptAlias the wsgihandler.py not as the root of the server but with it's own directory. From my vhost file: WSGIScriptAlias /appName /opt/web2py-1.49/wsgihandler.py Order allow,deny Allow from all To access th

[web2py:11694] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread Yarko T
thanks! that works! On Tue, Nov 11, 2008 at 2:35 PM, aprendiz <[EMAIL PROTECTED]>wrote: > > Hi, > > think it should be > > http://www.wellbehavedsystems.co.uk/web2py/examples/mvc.html > > . > > On 11 nov, 20:58, "Yarko T" <[EMAIL PROTECTED]> wrote: > > still get "not found" on that somethi

[web2py:11693] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread aprendiz
Hi, think it should be http://www.wellbehavedsystems.co.uk/web2py/examples/mvc.html . On 11 nov, 20:58, "Yarko T" <[EMAIL PROTECTED]> wrote: > still get "not found" on that  something's going on there... > > On Tue, Nov 11, 2008 at 1:56 PM, billf <[EMAIL PROTECTED]> wrote: > > > Oops - th

[web2py:11692] Re: GAE "BadValueError"

2008-11-11 Thread Nicol van der Merwe
Awesome, that was quick. Thanks :) Nicol -- This is not a sig. On Tue, Nov 11, 2008 at 6:01 PM, mdipierro <[EMAIL PROTECTED]> wrote: > > Yes. There was a bug in GAE with blobs. Not sure why it showed up only > now. Fixed in trunk! > > On Nov 11, 7:18 am, Aspersieman <[EMAIL PROTECTED]> wrote:

[web2py:11691] Re: Web2py Modjy & Glassfish

2008-11-11 Thread Andrew
I'm able to deploy fine but when I try to hit the application I receive: Traceback (most recent call last): File "c:\temp\webapp\WEB-INF\lib\modjy.jar\modjy.py", line 76, in service File "c:\temp\webapp\WEB-INF\lib\modjy.jar\modjy_exceptions.py", line 91, in handle modjy_exceptions.NoCallable

[web2py:11690] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread Yarko T
still get "not found" on that something's going on there... On Tue, Nov 11, 2008 at 1:56 PM, billf <[EMAIL PROTECTED]> wrote: > > Oops - thanks Timothy :-) > > Well some can get the page and some can't. Can achipa or Keith or > anyone who gets the problem try storing the source locally (if

[web2py:11689] Re: access issue was: Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread billf
Well some can get the page and some can't. Can achipa or Keith or anyone who gets the problem try storing the source locally (if they can access it at all!) and see if they still get the problem? and if so take out stuff to find the offending article? Thanks, Bill On Nov 11, 7:49 pm, "Wes Jame

[web2py:11688] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread billf
Oops - thanks Timothy :-) Well some can get the page and some can't. Can achipa or Keith or anyone who gets the problem try storing the source locally (if they can access it at all!) and see if they still get the problem? and if so take out stuff to find the offending article? On Nov 11, 7:34 

[web2py:11686] Re: access issue was: Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread billf
That's good Wes but I'd still like to know what the Firefox problem is. My problem is I don't have a problem (if you know what I mean) - it all works in Firefox and IE. If you store the source locally, do you still get the problem? Could you try deleting stuff, like the meta lines and see if it

[web2py:11687] Re: access issue was: Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread Wes James
works fine in my firefox, opera, camino (on mac) and i just tried ie7 (intravenousExploder) and firefox in windows (vmware fusion) and they go right to your page too -wj On Tue, Nov 11, 2008 at 12:42 PM, billf <[EMAIL PROTECTED]> wrote: > > That's good Wes but I'd still like to know what the

[web2py:11685] Re: Possible bug in IS_URL

2008-11-11 Thread Yarko T
FYI - For those working w/ mercurial: I've mirrored this morning's latest changes from Massimo to http://bitbucket.org/yarko/web2py On Tue, Nov 11, 2008 at 10:44 AM, Yarko T <[EMAIL PROTECTED]> wrote: > Jonathan - > Nice work! > > For everyone (I think this will work easiest - if I'm missing some

[web2py:11684] access issue was: Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread Wes James
Ah came right up in safari... web2py > examples > a proposal for a cleaner approach to MVC web2py A proposal for a cleaner approach to MVC Change Log: 20:59 on 10 Nov 2008Original version. 06:22 on 11 Nov 2008Removed onaccept= and ondelete= arguments from Resource __init__ as they

[web2py:11683] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread Timothy Farrell
It's amazing how critical that ".co.uk" is. http://www.wellbehavedsystems.co.uk/web2py/examples/mvc.html billf wrote: Wes The home page is a do-nothing page. The doc can be found at http://www.wellbehavedsystems/web2py/examples/mvc.html On Nov 11, 7:21 pm, "Wes James" <[EMAIL PROTECTE

[web2py:11682] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread billf
Wes The home page is a do-nothing page. The doc can be found at http://www.wellbehavedsystems/web2py/examples/mvc.html On Nov 11, 7:21 pm, "Wes James" <[EMAIL PROTECTED]> wrote: > All i get in safari is a box with a question mark and the source of > the page looks like this: > > > Well-behave

[web2py:11681] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread Timothy Farrell
My firefox has no trouble but, it does render in quirks mode (which is ironic for "wellbehavedsystems"). See more about quirks mode vs. standards mode here: http://www.alistapart.com/articles/beyonddoctype/ -tim billf wrote: Ugh! If anyone can help me stop that I'd be grateful. I don't

[web2py:11680] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread Wes James
All i get in safari is a box with a question mark and the source of the page looks like this: Well-behaved Systems On Tue, Nov 11, 2008 at 12:13 PM, billf <[EMAIL PROTECTED]> wrote: > > Ugh! If anyone can help me stop that I'd be grateful. I don't get > the problem. I copied the meta lin

[web2py:11679] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread Wes James
take out the meta lines and then put them back in one by one - people may need to empty cache to get new data... -wj On Tue, Nov 11, 2008 at 12:13 PM, billf <[EMAIL PROTECTED]> wrote: > > Ugh! If anyone can help me stop that I'd be grateful. I don't get > the problem. I copied the meta lines

[web2py:11678] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread billf
Ugh! If anyone can help me stop that I'd be grateful. I don't get the problem. I copied the meta lines from another page - could there be something in there that some clients don't like? Any help gratefully received. On Nov 11, 6:25 pm, Keith Edmunds <[EMAIL PROTECTED]> wrote: > On Tue, 11 No

[web2py:11677] Re: error on submitting form

2008-11-11 Thread Wes James
I'm getting around this by making the first page just a general Welcome page then I created a Profile link for the person to edit the "Student" info and now the login/logout are working fine. This works better anyway, I think. -wj On Tue, Nov 11, 2008 at 10:24 AM, [EMAIL PROTECTED] <[EMAIL PROT

[web2py:11676] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread Keith Edmunds
On Tue, 11 Nov 2008 02:10:23 -0800 (PST), [EMAIL PROTECTED] said: > Am I the only one who gets "Firefox can't find the server at > www.wellbehavedsystems.co.uk" ? No, you're not. Every time I try to read a document on Bill's website, I have to flush my DNS cache (note: not my browser cache). I h

[web2py:11675] Re: Web2py Modjy & Glassfish

2008-11-11 Thread Andrew
Thanks much Massimo! I'll try it out tonight and report back on how everything works :) Andrew On Nov 11, 11:50 am, mdipierro <[EMAIL PROTECTED]> wrote: > Absolutely. I am very exited by seeing web2py on jython. That would be > a very big step. > > # in Django from your link > >     import os >

[web2py:11674] Re: Web2py Modjy & Glassfish

2008-11-11 Thread mdipierro
Absolutely. I am very exited by seeing web2py on jython. That would be a very big step. # in Django from your link import os from django.core.handlers import wsgi os.putenv("DJANGO_SETTINGS_MODULE", "mysite.settings") def handler(environ, start_response): h = wsgi.WSGIHandler

[web2py:11673] Re: 1.49

2008-11-11 Thread mdipierro
There are many ways to make custom forms: 1) the old way 2) the new way 3) the widget you should be able to find examples by googling this list. If not, let me know and I will post some more. On Nov 11, 11:34 am, David Marko <[EMAIL PROTECTED]> wrote: > Is there any info on 'custom forms' avail

[web2py:11672] Web2py Modjy & Glassfish

2008-11-11 Thread Andrew
I'm trying to get Web2Py working in glassfish via the new Jython 2.5 beta (www.jython.org) and was following the same approach that Frank outlines here: http://fwierzbicki.blogspot.com/2008/04/jython-and-django-progress-part-ii.html I'm stuck at the point where you setup the application.py and w

[web2py:11671] Re: 1.49

2008-11-11 Thread David Marko
Is there any info on 'custom forms' available? Thanks, David On 11 Lis, 18:04, mdipierro <[EMAIL PROTECTED]> wrote: > because of the problem with GAE found in 1.48 I have posted 1.49 (src > and osx only). > I will not be in my office until Friday so I will not be able to > update the windows ver

[web2py:11670] Re: also error

2008-11-11 Thread Yarko T
The gluon libraries (web2py core, so to speak) are in the gluon directory... Applications live in On Tue, Nov 11, 2008 at 9:27 AM, Wes James <[EMAIL PROTECTED]> wrote: > > Massimo, > > I svn'd the latest and was looking where to copy the html.py to. You > must have it in a lib somewhere, I'm not

[web2py:11669] Re: CSS layout specs

2008-11-11 Thread Yarko T
Nice! On Tue, Nov 11, 2008 at 7:51 AM, Timothy Farrell <[EMAIL PROTECTED]> wrote: > Yeah for google: > > http://en.wikipedia.org/wiki/Comparison_of_layout_engines_(CSS) > > > > Jonathan Benn wrote: > > On Nov 10, 9:36 pm, mdipierro <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: > > > We should

[web2py:11668] Re: error on submitting form

2008-11-11 Thread [EMAIL PROTECTED]
Now when I logout or try to log in with this custom form as the index page i get: Traceback (most recent call last): File "gluon/restricted.pyc", line 62, in restricted File "/Users/Shared/web2py149-svn.app/Contents/Resources/ applications/cnrsa/views/generic.html", line 27, in NameError: na

[web2py:11667] Re: error on submitting form

2008-11-11 Thread Wes James
Massimo, thank you! On Tue, Nov 11, 2008 at 10:15 AM, mdipierro <[EMAIL PROTECTED]> wrote: > > {{if form.record:}} > http://groups.google.com/group/web2py?hl=en -~--~~~~--~~--~--~---

[web2py:11666] Re: error on submitting form

2008-11-11 Thread mdipierro
{{if form.record:}} wrote: > I have this: > > > I did put in value="1" and it updated fine. Now to just get the id > for the record > > thx, > > -wj > > On Tue, Nov 11, 2008 at 9:55 AM, mdipierro <[EMAIL PROTECTED]> wrote: > > > Yes, update forms must have a INPUT id (the id of the record b

[web2py:11663] Re: error on submitting form

2008-11-11 Thread mdipierro
Yes, update forms must have a INPUT id (the id of the record being modified). This field can be hidden or readonly. Up to you. Massimo On Nov 11, 10:42 am, "Wes James" <[EMAIL PROTECTED]> wrote: > ah - there is a at the bottom. That > is probably the problem i'll try and put that in. > >

[web2py:11665] Re: error on submitting form

2008-11-11 Thread Wes James
I have this: wrote: > > Yes, update forms must have a INPUT id (the id of the record being > modified). This field can be hidden or readonly. Up to you. > > Massimo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[web2py:11664] 1.49

2008-11-11 Thread mdipierro
because of the problem with GAE found in 1.48 I have posted 1.49 (src and osx only). I will not be in my office until Friday so I will not be able to update the windows version until then. You will not be able the latest feature on custom forms on windows until then. Massimo --~--~-~--~--

[web2py:11662] Re: Possible bug in IS_URL

2008-11-11 Thread Yarko T
Jonathan - Nice work! For everyone (I think this will work easiest - if I'm missing something, let me know): If you know / use mercurial, go ahead and figure out Bitbucket.org. If not, you might as well figure out Launchpad.net and bazaar. Either way, you should have a Launchpad account. When

[web2py:11661] Re: error on submitting form

2008-11-11 Thread Wes James
ah - there is a at the bottom. That is probably the problem i'll try and put that in. On Tue, Nov 11, 2008 at 9:38 AM, Wes James <[EMAIL PROTECTED]> wrote: > do i have to have every table field in the submitted form? I'm > testing with only a few fields to see how it should work. > > On T

[web2py:11650] Re: Problems attaching to either remote or localhost PostgreSql

2008-11-11 Thread mdipierro
Glad to hear that! It is strange anyway it took so long to connect without the pooling. On Nov 11, 8:17 am, NoviceSortOf <[EMAIL PROTECTED]> wrote: > On Nov 2, 4:19 pm, mdipierro <[EMAIL PROTECTED]> wrote: > > > I am puzzled because I have never seen this. > > > Has anybody else experienced this

[web2py:11660] Re: error on submitting form

2008-11-11 Thread Wes James
do i have to have every table field in the submitted form? I'm testing with only a few fields to see how it should work. On Tue, Nov 11, 2008 at 9:31 AM, Wes James <[EMAIL PROTECTED]> wrote: > this is for updating > > On Tue, Nov 11, 2008 at 9:27 AM, mdipierro <[EMAIL PROTECTED]> wrote: >> >> Is

[web2py:11659] Re: error on submitting form

2008-11-11 Thread Wes James
this is for updating On Tue, Nov 11, 2008 at 9:27 AM, mdipierro <[EMAIL PROTECTED]> wrote: > > Is this a create or an update form? this should work for create. > > Massimo > > On Nov 11, 10:17 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: >> in app/views/layout.html i have this form and wh

[web2py:11658] Re: error on submitting form

2008-11-11 Thread mdipierro
Is this a create or an update form? this should work for create. Massimo On Nov 11, 10:17 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > in app/views/layout.html i have this form and when i submit it i get > the error: > > File "gluon/sqlhtml.pyc", line 231, in accepts > SyntaxError: user

[web2py:11657] Re: Web2py & CGI

2008-11-11 Thread mdipierro
I think this may be a Python configuration problem. Perhaps this is useful: http://prefetch.net/articles/linkers.badldlibrary.html On Nov 11, 3:44 am, daniel dot larkin at gmail dot com <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm putting together a small intranet website and have been playing >

[web2py:11656] error on submitting form

2008-11-11 Thread [EMAIL PROTECTED]
in app/views/layout.html i have this form and when i submit it i get the error: File "gluon/sqlhtml.pyc", line 231, in accepts SyntaxError: user is tampering with form I copied the part from the html on a page create with {{include}} which auto generates the form and labels/fields, etc...

[web2py:11655] Web2py & CGI

2008-11-11 Thread daniel dot larkin at gmail dot com
Hi all, I'm putting together a small intranet website and have been playing around with web2py. However, I'm running into problems when I try to run the site for "real". Basically I want to use cgi along with web2py, as I dont have root access to the webserver, mod_python isn't installed etc etc.

[web2py:11654] Re: how does this work?

2008-11-11 Thread mdipierro
You can navigate the form is you want... form[0] is the table form[0][0] is the first row of the table form[0][0][1] is the second column of the first row form[0][0][1][0] is the input in the second columnt of the first row form[0][0][1][0]['_id'] is the '_id' attribute of that input, etc etc etc

[web2py:11653] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread billf
I'm not being precious but it seems that this thread has been "hijacked" to discuss branches when I really want feedback re my proposal :-) On Nov 11, 3:20 pm, achipa <[EMAIL PROTECTED]> wrote: > Usually another person is appointed as maintainer for those cases. As > no extensive changes are like

[web2py:11652] Re: web2py 1.48 is OUT

2008-11-11 Thread mdipierro
The blob problem is fixed in trunk. It was a preexising problem but for some reason did not show up before. If you use GAE skip 1.48. Massimo On Nov 11, 8:51 am, cesmiga <[EMAIL PROTECTED]> wrote: > Massimo, > > I'll test it this week and get back to you. > > Christopher > > mdipierro wrote: >

[web2py:11651] Re: how does this work?

2008-11-11 Thread Wes James
ok - i was reading something somewhere and it was an example one how to return the whole form component with with just one line - i guess i mis-read it. On Tue, Nov 11, 2008 at 9:05 AM, mdipierro <[EMAIL PROTECTED]> wrote: > > if you have a field called 'fieldname' you can do > > {{=form.latest.f

[web2py:11649] Re: how does this work?

2008-11-11 Thread mdipierro
if you have a field called 'fieldname' you can do {{=form.latest.fieldname}} or {{=form.latest['fieldname']}} and they both give you what would be the value for the field right now. It returns a string, not and object. Massimo On Nov 11, 9:55 am, "Wes James" <[EMAIL PROTECTED]> wrote: > I trie

[web2py:11646] how does this work?

2008-11-11 Thread Wes James
I tried: {{=form.latest.fieldname['component']}} but i get the error: TypeError: string indices must be integers what is component supposed to be? thx, -wj --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2p

[web2py:11648] Re: GAE "BadValueError"

2008-11-11 Thread mdipierro
Yes. There was a bug in GAE with blobs. Not sure why it showed up only now. Fixed in trunk! On Nov 11, 7:18 am, Aspersieman <[EMAIL PROTECTED]> wrote: > Hi everyone > > I have an application that seems to have stopped working on GAE after my > most recent svn update. It runs fine on the normal we

[web2py:11647] Re: how does this work?

2008-11-11 Thread [EMAIL PROTECTED]
I must have the syntax on that wrong - i tried ...fieldname[0] and it returns the first location of the string value. On Nov 11, 8:55 am, "Wes James" <[EMAIL PROTECTED]> wrote: > I tried: > > {{=form.latest.fieldname['component']}} > > but i get the error: > > TypeError: string indices must be in

[web2py:11645] Re: How to do table references DRY?

2008-11-11 Thread mdipierro
There is not. Because you can have one feature without the other On Nov 11, 6:48 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello > > When I create a model which has references, is there a way to make it > without repetition? > > # start of code > db.define_table('bugger', > SQLField('n

[web2py:11644] Re: Possible bug in IS_URL

2008-11-11 Thread mdipierro
Hi Jonathan, please make them into a single one IS_URL(mode="strict" or "generic") and email it to me. I will include it in the official distribution. I do not use bitbucket. bz only. Massmo On Nov 11, 6:28 am, Jonathan Benn <[EMAIL PROTECTED]> wrote: > Hi everyone, > > It took me a few days bu

[web2py:11643] Re: also error

2008-11-11 Thread Wes James
Massimo, I svn'd the latest and was looking where to copy the html.py to. You must have it in a lib somewhere, I'm not sure of your final structure so i just did "make app" and used that and it is working!!! thx -wj On Mon, Nov 10, 2008 at 10:41 PM, mdipierro <[EMAIL PROTECTED]> wrote: >

[web2py:11642] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread achipa
Usually another person is appointed as maintainer for those cases. As no extensive changes are likely to happen in the 'oldstable' branch it's just basically someone who is trusted and familiar with web2py enough to do bugfixes and backports, which is a lot less effort than doing spearhead develop

[web2py:11641] Re: web2py 1.48 is OUT

2008-11-11 Thread cesmiga
Massimo, I'll test it this week and get back to you. Christopher mdipierro wrote: > Hi Christopher, > > thanks for your interest. > > I did not add informix support yet. It is very close to being > supported but I do not have informix therefore it has never been > tested yet. Some debugging ma

[web2py:11640] Re: Problems attaching to either remote or localhost PostgreSql

2008-11-11 Thread NoviceSortOf
On Nov 2, 4:19 pm, mdipierro <[EMAIL PROTECTED]> wrote: > I am puzzled because I have never seen this. > > Has anybody else experienced this problem? > > There are few things you can try, like connection pooling > > db=SQLDB(,pools=10) Thanks for your reply. Pools=10 makes all the difference

[web2py:11639] Re: web2py 1.48 is OUT

2008-11-11 Thread Vidul Petrov
Hi Massimo, Great work as usual. However there is a strange problem when this version runs on GAE: ''' Traceback (most recent call last): File "/base/data/home/apps/krasimira-webspace/1.1/gluon/main.py", line 220, in wsgibase session._try_store_in_db(request,response) File "/base/data/ho

[web2py:11637] Re: Converting custom layouts to be compatible with T2 (or Web2Py)

2008-11-11 Thread seeker
Thanks Massimo. I have the book on order from Amazon (... delivery costs more than the book) and looking forward to it. Do the same rules apply for converting a layout to a T2 layout? --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[web2py:11638] Re: CSS layout specs

2008-11-11 Thread Timothy Farrell
Yeah for google: http://en.wikipedia.org/wiki/Comparison_of_layout_engines_(CSS) Jonathan Benn wrote: On Nov 10, 9:36 pm, mdipierro <[EMAIL PROTECTED]> wrote: We should act on this! http://www.w3.org/TR/css3-layout/ Comments? Suggestions? Volunteers? Does anyone kno

[web2py:11636] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread carlo
I totally share your thoughts, it should be great to have a web2py 3000 as a new branch. The problem is whether Massimo has enough resources to support two branches of his creature. carlo On 11 Nov, 13:50, achipa <[EMAIL PROTECTED]> wrote: > The line must be drawn otherwise after a while it will

[web2py:11635] GAE "BadValueError"

2008-11-11 Thread Aspersieman
Hi everyone I have an application that seems to have stopped working on GAE after my most recent svn update. It runs fine on the normal web2py (cherrypy) webserver and used to run fine on GAE - but when I run it on GAE using the dev_appserver I get the following error: ===E

[web2py:11634] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread achipa
The line must be drawn otherwise after a while it will be harder (and messier) to make any progress because of all the backwards compatibility issues (see Microsoft), especially in a relase often type OSS project. The simplest and cleanest solution, done in many OSS projects is well-planned deprec

[web2py:11633] How to do table references DRY?

2008-11-11 Thread [EMAIL PROTECTED]
Hello When I create a model which has references, is there a way to make it without repetition? # start of code db.define_table('bugger', SQLField('name','string'), SQLField('what','text'), SQLField('weight','integer'), ) db.define_table('occurence', SQLField('bugger_id',db.bugger), # here I def

[web2py:11632] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread seeker
Again ... good thinking. --~--~-~--~~~---~--~~ 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 [EMAIL

[web2py:11631] Re: CSS layout specs

2008-11-11 Thread Jonathan Benn
On Nov 10, 9:36 pm, mdipierro <[EMAIL PROTECTED]> wrote: > We should act on this! > > http://www.w3.org/TR/css3-layout/ > > Comments? Suggestions? Volunteers? Does anyone know if there are browsers that support CSS3 yet? I've been out of the loop for a little while, but last I checked CSS2 still

[web2py:11630] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread billf
Seeker I think you have a good point but, playing devil's advocate, if you want to establish yourself in an enterprise section of the market it is a disadvantage to give users the ultimatum "if you want X then you have to change Y". Perhaps, an alternative is to deprecate methods and classes so

[web2py:11629] Re: Possible bug in IS_URL

2008-11-11 Thread Jonathan Benn
Hi everyone, It took me a few days but I managed to implement and thoroughly test two new validator functions for web2py: IS_GENERIC_URL: this precisely follows the URL specs (RFC 2396). It screens out strings with funny characters, and checks the inputed scheme against an authoritative list of

[web2py:11628] Re: Proposal: MVC separation - son of custom views

2008-11-11 Thread seeker
Just a thought: (Please don't shoot me for mentioning this; I say it with Web2Py's best interest in mind) In general I have been very much in favour of Massimo's philosophy of maintaining backward compatibility. However, part of me wonders whether this is an indefinitely sustainable idea. I am c

  1   2   >