[TurboGears] Re: How big is BIG?

2007-02-25 Thread Ingo Haase
Jorge Vargas schrieb: On 2/24/07, Ingo Haase [EMAIL PROTECTED] wrote: [...] well SA won't have a problem since it's build for performance, specially with the low end mappers, the only problems I see is network latency and huge loading times if this is all going to be serve by one server.

[TurboGears] Re: Does AjaxGrid supports Widgets in AjaxGrid?

2007-02-25 Thread pipa11
I tried out to render image widgets and if I use .display() of image widgets it shown error to me. If I want to use anything compound in the table with AjaxGrid like image button or pop up windows like yahoo when I moved mouse on links it pop up to me. How should I do?

[TurboGears] Re: tg-admin quickstart KeyError: 304

2007-02-25 Thread Jorge Godoy
Em Sábado 24 Fevereiro 2007 19:44, Edward Muller escreveu: When I run tg-admin quickstart I get the following error: How did you install your RuleDispatch package? -- Jorge Godoy [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because

[TurboGears] Re: How big is BIG?

2007-02-25 Thread Jorge Godoy
Em Sábado 24 Fevereiro 2007 19:45, Ingo Haase escreveu: Please excuse the following question, but I grew up with TurboPascal 3.0 on MS-DOS 3.1 where a single 1x1 array can cause serious problems. I am planning a project (ERP style) with one database, containing 40-50 tables, each

[TurboGears] Re: Psycopg Logging

2007-02-25 Thread Jorge Godoy
Em Sábado 24 Fevereiro 2007 17:38, Arthur Clune escreveu: On 14 Feb 2007, at 16:01, [EMAIL PROTECTED] wrote: I'm getting a ton of psycopg logging on stdout even though I'm running in production mode. Anyone know where this is configured? Did you grab a copy of the tarball yourself? If so

[TurboGears] Re: How do I set the identity upon login.

2007-02-25 Thread Rick
I haven't tested the code above, but below is what I use to log in a user (extended from the SA quickstart identity). I believe logging out is as simple as identity.current.logout() class User(object): # ... quickstart boilerplate skipped def identity_login(self): ident =

[TurboGears] Re: Tutorial: Generate PDFs with TurboGears

2007-02-25 Thread Timothy Freund
Thanks! I thought upon first reading the ReportLab docs that the library would automatically split up an XML document with para elements into paragraph objects. After some digging, I found that the para element accepts some style attributes. For more information, refer to page 64 of the

[TurboGears] Re: How do I set the identity upon login.

2007-02-25 Thread Jorge Vargas
both of you could improve your code with this function. http://trac.turbogears.org/browser/tags/1.0.1/turbogears/identity/__init__.py#L102 On 2/25/07, Rick [EMAIL PROTECTED] wrote: I haven't tested the code above, but below is what I use to log in a user (extended from the SA quickstart

[TurboGears] save_bookmark in chap5

2007-02-25 Thread Nader
L.S., I have followed the book to understand who the components of TG work. I am at chapter 5 and I see that the save_bookmark function has defined with two parameters, paramerer_1 and **kwargs. The save_bookmark function are invoked twice in bookmark function, fr add or edit. For add it is

[TurboGears] Re: How do I set the identity upon login.

2007-02-25 Thread Rick
I did use identity.set_current_identity, but (AFAIK) it doesn't create the corresponding VisitIdentity object in the database, so I had to do a bit more to get it to work. If I can get away without the rest of the boilerplate, I'd love to strip down the code more. Is there some magic going on

[TurboGears] Re: Tutorial: Generate PDFs with TurboGears

2007-02-25 Thread schnuer.com
Thanks a lot for this, i was one day away from having to figure this out myself :) You saved me a fair bit of time there. Fabian -Original Message- From: turbogears@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Timothy Freund Sent: 24 February 2007 06:19 To:

[TurboGears] Select Field entries not updating? Are they being cached?

2007-02-25 Thread schnuer.com
Hi, In my project i have several cases where on for example controller A i can add items to the database that are then going to be possible options in a select or multiple select field in controller B. Now when i add something new it works fine, in the database the things turn up and when

[TurboGears] Re: Select Field entries not updating? Are they being cached?

2007-02-25 Thread Ian Wilson
How are you putting the options into the select fields? Are you using widgets or just doing it by hand ? -Ian On 2/25/07, schnuer.com [EMAIL PROTECTED] wrote: Hi, In my project i have several cases where on for example controller A i can add items to the database that are then going to be

[TurboGears] ANNOUNCE: SubModal 1.4 Widget

2007-02-25 Thread Jorge Godoy
Hi! I've created a package for submodal (http://sublog.subimage.com/articles/2006/01/01/subModal) 1.4 that works with or without its callback function. This widget helps creating a modal window with the contents of another URL. Data can be passed from the submodal window to the parent window,

[TurboGears] TurboLucene now has documentation!

2007-02-25 Thread Krys Wilken
Well, I finally got around to writing up some documentation for TurboLucene. I've been in a bit of a lethargic state lately, so it's nice to see that that is passing. Anyway... I have written (and coded) a TurboLucene tutorial. In it we add full-text searching capabilities to the TurboGears

[TurboGears] Request for Widgets/Extensions/etc. Authors

2007-02-25 Thread Jorge Godoy
Hi! I'm seeing that some packages uploaded to PyPI only have their 'egg' form. It would be really nice if besides uploading the egg the source was also uploaded. An egg is built for a specific version of Python and newer / older versions won't use that egg. For example, now that we can run

[TurboGears] Re: How do I set the identity upon login.

2007-02-25 Thread Patrick Lewis
On Feb 25, 12:54 pm, Jorge Vargas [EMAIL PROTECTED] wrote: both of you could improve your code with this function.http://trac.turbogears.org/browser/tags/1.0.1/turbogears/identity/__i... I believe everyone in this thread is already using set_current_identity. In what way are you suggesting

[TurboGears] Re: Model Designer Save Session Error

2007-02-25 Thread Roger Demetrescu
Hi Andy... Please take a loot at http://trac.turbogears.org/ticket/1109 . I've provided a non-perfect patch. You'll find the details in Change History section. Cheers, Roger On 2/20/07, Andy B. [EMAIL PROTECTED] wrote: Hi All, I'm using the model designer ( which is brilliant by the

[TurboGears] Reloading Widgets

2007-02-25 Thread Carlos Hanson
Greetings, I have created a couple widgets: ItemFields and MenuFields. Both extend WidgetsList. I use both in a TableForm. The ItemFields are used to create an Item, while the MenuFields are used to create a Menu. In my MenuFields class, I select all the Items (model.Item.select()) and use

[TurboGears] Turbogears app with two database-connection?

2007-02-25 Thread Johnny Blonde
Hello there. I´m new to all this Turbogears and web-developments-framework-stuff, but i have some experience in developing web-apps manually, with php and so on. I need to develop an app, with something special: I have one legacy database of our main booking software, interbase actually, that

[TurboGears] TurboGears generated MardiGras page

2007-02-25 Thread SamFeltus
For levity... http://samfeltus.com/as3/mardi_gras.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this

[TurboGears] How to create validators with multiple inputs?

2007-02-25 Thread Ram Yalamanchili
Hey, Does anyone know how to make validators which act over a range of inputs? For example, i have 3 dropbox fields in my form, for day, month, and year and want to check if the date provided is 18 years old or not. I wrote the following, however if the validator fails, ALL the fields on the

[TurboGears] OpenLaszlo

2007-02-25 Thread GinTon
Does anybody has tried to use TG and OpenLaszlo? OpenLaszlo is an open source platform for creating zero-install web applications with the user interface capabilities of desktop client software. http://www.openlaszlo.org/ There is a Laszlo plugin for Rails but I would use it into a python web

[TurboGears] Validation errors on every column, not just the one in question

2007-02-25 Thread ramy
I have the exact problem as described here: http://groups.google.tt/group/turbogears/browse_frm/thread/d238edd1dc04b774?tvc=1 looks like no one answered it. Anyone got ideas on how to fix this? It might be related only to validators which use __unpackargs__, but i'm not sure. If anyone here uses

[TurboGears] Re: Implementing single sign-on with openid in a Turbogears application

2007-02-25 Thread Sanjay
Hi Jorge, Thanks a lot for the needed comments. - it should say somewhere with which version of openID it's compatible. I just mentioned that the code was tested using Python OpenID 1.2.0 Combo from www.openidenabled.com. I am not sure which specification of openid it implements. - also it

[TurboGears] Turbogears problems on start

2007-02-25 Thread mandoluca
Hi, I have installes TurboGears on Mac Os X 10.4. I didn't have problems during the installation, but if I try to launch th tg-admin info I recive this erro: host204-32-dynamic:~ gigio$ tg-admin info Traceback (most recent call last): File /usr/local/bin/tg-admin, line 8, in module

[TurboGears] paginate with json

2007-02-25 Thread [EMAIL PROTECTED]
Hi I'm using paginate on a function that's returning JSON data instead of passing through a template. Is there a way to access the tg.paginate variables among that JSON data? Thanks. -josh --~--~-~--~~~---~--~~ You received this message because you are

[TurboGears] Re: Select in templates

2007-02-25 Thread ramy
Thats the idea of MVC. Using the select in the controller will also means the call is part of the compiled pyc unlike kid. On Feb 24, 2:34 am, Will [EMAIL PROTECTED] wrote: Hi, I have found it convenient to use the model directly from my templates, ie something like model.News.Select()[:10]

[TurboGears] Re: Select Field entries not updating? Are they being cached?

2007-02-25 Thread schnuer.com
Hi, I'm using widgets. I guess if i did it by hand it would work since when i output the same information with a py:if as just text in the template it shows up as it should. Fabian -Original Message- From: turbogears@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ian Wilson

[TurboGears] Re: Validation errors on every column, not just the one in question

2007-02-25 Thread Christopher Arndt
ramy schrieb: I have the exact problem as described here: http://groups.google.tt/group/turbogears/browse_frm/thread/d238edd1dc04b774?tvc=1 looks like no one answered it. Anyone got ideas on how to fix this? It might be related only to validators which use __unpackargs__, but i'm not sure.

[TurboGears] changes to controller not recognized

2007-02-25 Thread John Cartwright
Hello All, I'm just starting w/ TurboGears and can't seem to get a new path defined. I added the following method to controllers.py, but @expose(template=jcc.templates.helloworld) def hello(self): import time # log.debug(Happy TurboGears