[TurboGears] Re: Turbogears enhancement proposition hash_random

2005-12-08 Thread Rune Hansen
On 8. des. 2005, at 09.35, Bob Ippolito wrote:On Dec 8, 2005, at 12:12 AM, Rune Hansen wrote: On 7. des. 2005, at 23.52, Bob Ippolito wrote: Generating a random number is insignificant.  A timestamp would probably be better though given the use case.Anyway, the right answer is to do it from

[TurboGears] [Install] Error in install turbogears-0.8a5-py2.4

2005-12-08 Thread Zoom Quiet
useage easy_setup install TurboGears in windows2003 and FreeBSD 6.0 is same error: Installed /usr/local/lib/python2.4/site-packages/cElementTree-1.0.2_20050302-py2.4-freebsd-6.0-RELEASE-i386.egg error: Installed distribution FormEncode 0.2.3dev-r1104 conflicts with requirement FormEncode=0.4

[TurboGears] Re: [Install] Error in install turbogears-0.8a5-py2.4

2005-12-08 Thread Zoom Quiet
在 05-12-8,Zoom Quiet[EMAIL PROTECTED] 写道: useage easy_setup install TurboGears in windows2003 and FreeBSD 6.0 is same error: Installed /usr/local/lib/python2.4/site-packages/cElementTree-1.0.2_20050302-py2.4-freebsd-6.0-RELEASE-i386.egg error: Installed distribution FormEncode

[TurboGears] Re: Kid playing nice with MochiKit

2005-12-08 Thread David Stanek
Declaring the namespace should get the HTML to render OK. The following raises an exception during parsing: html xmlns:py=http://purl.org/kid/ns# element mochi:format= / /html To get it to render OK all I had to do was: html xmlns:py=http://purl.org/kid/ns# xmlns:mochi=some_unique_uri

[TurboGears] Re: Can't get my unit tests going with testgears

2005-12-08 Thread Kevin Dangoor
Ticket 181 offers up better request/response objects. I'm going to go with that ticket instead and just make sure that those objects are available and in use. Kevin On 12/7/05, Kitto Mandala [EMAIL PROTECTED] wrote: FYI, a simple hack/workaround got me past this so I could write and run some

[TurboGears] Re: Turbogears enhancement proposition hash_random

2005-12-08 Thread Kevin Dangoor
On 12/8/05, Lee McFadden [EMAIL PROTECTED] wrote: loadJSONDoc(${std.url('/Edit/')}, {rand: Math.random(), tg_format: json}); I'm going to still suggest calling the random value tg_random and that we have turbogears/controllers.py throw away that value so that you need not worry about it in

[TurboGears] Re: [Install] Error in install turbogears-0.8a5-py2.4

2005-12-08 Thread Kevin Dangoor
Can you give the exact command line you ran on both Windows and FreeBSD? http://www.turbogears.org/download/index.html has FormEncode 0.4, so it doesn't seem like you'd have a tough time getting that. I'm also not certain what you're asking about in your other message with the directory

[TurboGears] error installing TurboGears on Ubuntu

2005-12-08 Thread coriolinus
I just created a fresh Ubuntu install (v5.10), and attempted to install TurboGears. I did previously install both the gcc compiler packages and the python-dev package. Unfortunately, the install failed in a way that is mysterious to me. The command line I used was as follows: sudo easy_install

[TurboGears] Ruby book sales surpass Python

2005-12-08 Thread Kevin Dangoor
Interesting article over at Tim O'Reilly's site: http://radar.oreilly.com/archives/2005/12/ruby_book_sales_surpass_python.html There's a fair bit of discussion about Rails and the Python web frameworks (including our own). I'll have more to say on this topic soon. Kevin -- Kevin Dangoor

[TurboGears] Re: error installing TurboGears on Ubuntu

2005-12-08 Thread Wavy Davy
On 08/12/05, coriolinus [EMAIL PROTECTED] wrote: I just created a fresh Ubuntu install (v5.10), and attempted to install TurboGears. I did previously install both the gcc compiler packages and the python-dev package. Unfortunately, the install failed in a way that is mysterious to me. The

[TurboGears] Re: Web Site Propossal

2005-12-08 Thread Mark Ramm
In 0.9, will KitchenSink support KitchenSource plug-ins? And do circular references still confuse the GarbageDisposal? I'm looking forward to the Counter and Range integration. I think all of the problems with GarbageDIsposal, Counter, and Range are fixed, but I don't know about KitchenSync

[TurboGears] Changing the content-type within an exposed function

2005-12-08 Thread Static.Reality
In my web app that I am writing, I want to store files inside a database. The storage and retrieval if the document works, but if I want to store something other than a word doc it does not. This is what I am doing now: @turbogears.expose(content-type=application/msword) def getDoc(self, id):

[TurboGears] Re: Ruby book sales surpass Python

2005-12-08 Thread Mark Ramm
On 12/8/05, Kevin Dangoor [EMAIL PROTECTED] wrote: Interesting article over at Tim O'Reilly's site: http://radar.oreilly.com/archives/2005/12/ruby_book_sales_surpass_python.html I saw this too. I think there are a couple of interesting points that get missed in all the Ruby Book sales

[TurboGears] Re: Ruby book sales surpass Python

2005-12-08 Thread Tim Lesher
On 12/8/05, Mark Ramm [EMAIL PROTECTED] wrote: There are a bunch of Python books I would buy in a second if they where available: Agreed, but I'd add a new version of Martelli's Python in a Nutshell to my Christmas list as well. Mine is getting dogeared and seems to grow new pencilled-in

[TurboGears] Re: Changing the content-type within an exposed function

2005-12-08 Thread Sylvain Hellegouarch
Hey there, As a side note, CP 2.2 will have (actually it already has) new ways to specify the content type: Until CP 2.1, CP defauts its content type to text/html, you will be able to change that globally from the config file though a line like: server.defaultContentType = 'application/xml'

[TurboGears] TurboGears visuals for 0.9/1.0

2005-12-08 Thread Kevin Dangoor
The TurboGears community has grown by leaps and bounds over what it was when Sebastian did the inner templates for the current site. I have a bunch of ideas for what should go into the site now, and it's time to think about what the site should look like for 0.9/1.0. Karl Guertin has an opening

[TurboGears] Re: Web Site Propossal

2005-12-08 Thread Kevin Dangoor
On 12/7/05, Don Hopkins [EMAIL PROTECTED] wrote: In 0.9, will KitchenSink support KitchenSource plug-ins? And do circular references still confuse the GarbageDisposal? I call Not-Invented-Here on that one! Why would we need our own GarbageDisposal when Python already comes with a

[TurboGears] Re: Ruby book sales surpass Python

2005-12-08 Thread Mark Ramm
Agreed, but I'd add a new version of Martelli's Python in a Nutshell to my Christmas list as well. That's another great book in need of an update. --Mark

[TurboGears] Re: Ruby book sales surpass Python

2005-12-08 Thread Sylvain Hellegouarch
I've found that the Dive Into Python book was very good to fill the gap. That being said, I agree it wouldn't hurt having either update of existing books or new ones. - Sylvain Selon sergio [EMAIL PROTECTED]: And of course I would very much like to see a TurboGears book as soon as it

[TurboGears] Re: Ruby book sales surpass Python

2005-12-08 Thread Jonathan LaCour
The best Python book I have ever read is Python Essential Reference by David M. Beazley. It is a great reference book that deserves a place on your desk, however it hasn't been updated since Python 2.1 :/ I would gladly buy a few copies of a Python 2.4 version! Once all the PHP people

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-08 Thread Jonathan LaCour
The TurboGears community has grown by leaps and bounds over what it was when Sebastian did the inner templates for the current site. I have a bunch of ideas for what should go into the site now, and it's time to think about what the site should look like for 0.9/1.0. The images you sent are

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-08 Thread Jorge Godoy
Jonathan LaCour [EMAIL PROTECTED] writes: I think that Rails has evidenced how important branding is, especially when it comes to web development. I would love to see TurboGears do what Rails did, and have a branding campaign as part of the push towards 1.0. Pay a really, genuinely good

[TurboGears] Re: Changing the content-type within an exposed function

2005-12-08 Thread Wavy Davy
On 08/12/05, Sylvain Hellegouarch [EMAIL PROTECTED] wrote: Until CP 2.1, CP defauts its content type to text/html, you will be able to change that globally from the config file though a line like: server.defaultContentType = 'application/xml' Excellent, ready to switch from HTML to XHTML and

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-08 Thread Karl Guertin
On 12/8/05, Kevin Dangoor [EMAIL PROTECTED] wrote: So, if you've got an idea for a change to the logo or site template, now's the time! Woot! The site is up for redesign as well!

[TurboGears] Re: n00b stuck on page 3

2005-12-08 Thread Remco
that did it.. thank you!

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-08 Thread Kevin Dangoor
On 08 Dec 2005 14:31:51 -0200, Jorge Godoy [EMAIL PROTECTED] wrote: Someone has to dig a bit more to see what TG has to offer than to see what Rails has to offer. Let's keep this discussion focused on the overall visuals, as opposed to the content. I have plenty of ideas on improvements to

[TurboGears] Re: Old TurboGears eggs

2005-12-08 Thread Phillip J. Eby
Wavy Davy wrote: Yeah, I tried that, but it didn't work. A according to to the easy_install help it only deletes conflicting packages. The old ones are still there. Sounds like functionality yet to be implemented... Correct; I'll be adding a 'nest' tool for package management during the 0.7

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-08 Thread Kevin Dangoor
On 12/8/05, Jonathan LaCour [EMAIL PROTECTED] wrote: The images you sent are certainly an improvement, but I share the sentiment with several others that I have heard that think TurboGears's branding isn't very good. I think Django and Rails both have better logos, color schemes, websites,

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-08 Thread Jared Kuolt
Stepping up a level: if we had unlimited resources here, who would you go to for logo and site design? I'm fond of the work done for Firefox/Thunderbird for the Mozilla Foundation, but I don't know who did that. (I'm sure I can find out...) Does anyone else have some particularly inspiring

[TurboGears] Error with SQLObject MultipleJoin

2005-12-08 Thread DaveS
(TurboGears 0.8a5) given the following model (using sqlite): class Task(SQLObject): name = StringCol(length=50, notNull=True) category = ForeignKey('TaskCategory') class TaskCategory(SQLObject): name = StringCol(length=50, notNull=True) tasks = MultipleJoin('Task') this gives

[TurboGears] Re: Changing the content-type within an exposed function

2005-12-08 Thread Lee McFadden
Here's the code for my download method which streams from the DB: [code] @turbogears.expose() def download(self, id, **kw): article = NewsPost.get(id) if article.mimetype: cherrypy.response.headerMap[Content-Type] = article.mimetype else:

[TurboGears] Re: Changing the content-type within an exposed function

2005-12-08 Thread Kevin Dangoor
The decorator only allows you to set a single content type for the method. However, you can use the standard CP mechanism cherrypy.response.headerMap[Content-Type] = whatever/whatever Kevin On 12/8/05, Static.Reality [EMAIL PROTECTED] wrote: In my web app that I am writing, I want to store

[TurboGears] Re: Changing the content-type within an exposed function

2005-12-08 Thread Lee McFadden
Oh, and as a side note, you must set logDebugInfoFilter.on = False in your dev.cfg, otherwise the page generation stats get appended to the end of your file. Not very productive :) On 12/8/05, Lee McFadden [EMAIL PROTECTED] wrote: Here's the code for my download method which streams from the

[TurboGears] Re: Error with SQLObject MultipleJoin

2005-12-08 Thread Lee McFadden
Either rename 'category' to 'task_category' in class Task or set tasks in TaskCategory using: tasks = MultipleJoin('Task', joinColumn='task_category_id') Lee On 12/8/05, DaveS [EMAIL PROTECTED] wrote: (TurboGears 0.8a5) given the following model (using sqlite): class Task(SQLObject):

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-08 Thread Ronald Jaramillo
That looks quite nice! Cheers Ronald On Dec 8, 2005, at 6:56 PM, Jared Kuolt wrote: Stepping up a level: if we had unlimited resources here, who would you go to for logo and site design? I'm fond of the work done for Firefox/Thunderbird for the Mozilla Foundation, but I don't know who did

[TurboGears] Re: error installing TurboGears on Ubuntu

2005-12-08 Thread David Bernard
If I remember right, to install TG of my fresh Ubuntu, I need to install the following package : * libexpat1-dev * gcc required to compile cElementTree.

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-08 Thread David Guaraglia
Well, now that we are on the topic, I think that something that would make a big difference is making the front page more accesible. In fact, those are not the correct words, what I mean is make the content more accesible to the user. For example, the trac page can only be found after you

[TurboGears] Re: Ruby book sales surpass Python

2005-12-08 Thread Bob Ippolito
On Dec 8, 2005, at 5:27 AM, Kevin Dangoor wrote: Interesting article over at Tim O'Reilly's site: http://radar.oreilly.com/archives/2005/12/ ruby_book_sales_surpass_python.html There's a fair bit of discussion about Rails and the Python web frameworks (including our own). I'll have more

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-08 Thread Kevin Dangoor
On 12/8/05, David Guaraglia [EMAIL PROTECTED] wrote: Well, now that we are on the topic, I think that something that would make a big difference is making the front page more accesible. In fact, those are not the correct words, what I mean is make the content more accesible to the user. For

[TurboGears] Re: HTTPRedirect help

2005-12-08 Thread Kevin Dangoor
On 12/7/05, Mike [EMAIL PROTECTED] wrote: @turbogears.expose(html=gallerytest.templates.edit) def edit(self, alt_ID,search_terms): imagelist = [{ 'disk_loc':s.disk_loc, 'name':s.name,

[TurboGears] Re: widget css link insertion

2005-12-08 Thread Kevin Dangoor
On 12/7/05, qvx [EMAIL PROTECTED] wrote: I noticed that widget's CSS links are injected only in the case when you return widgets inside the dict in your exposed method (isinstance checks inside _process_output). At least that's how I read it. You see, I was trying to incorporate some of my

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-08 Thread Ronald Jaramillo
What about financing the designers wage by asking him to do artwork for a t-shirt as part of the assigment? I for one will love to buy a nice t-shirt to support the project! Ronald On Dec 8, 2005, at 7:13 PM, Kevin Dangoor wrote: On 12/8/05, Kevin Dangoor [EMAIL PROTECTED] wrote: On

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-08 Thread Jared Kuolt
On 12/8/05, Ronald Jaramillo [EMAIL PROTECTED] wrote: What about financing the designers wage by asking him to do artwork for a t-shirt as part of the assigment? I for one will love to buy a nice t-shirt to support the project! Ronald Jared looks left, turns right.

[TurboGears] Re: HTTPRedirect help

2005-12-08 Thread Mike
Kevin, That got it. I realized that it was coming back in as ['test'], but had only written in code to remove the brackets from the string, not the single quotes. Thanks for your help! Mike

[TurboGears] Re: Error with SQLObject MultipleJoin

2005-12-08 Thread Lee McFadden
Yes, that's what I meant... /me slaps himself I need some more coffee ;) On 12/8/05, DaveS [EMAIL PROTECTED] wrote: I think you mean: tasks = MultipleJoin('Task', joinColumn='category_id') which worked :-) Thanks. -- DaveS

[TurboGears] Re: Ruby book sales surpass Python

2005-12-08 Thread Robert Hicks
I agree with that. I have been thinking about getting the book Beginning Python: From Novice to Professional from APRESS though. Mostly though I haven't been too impressed with Python books. I have only one book I like Python and Tkinter programming from Manning. Other than that I go with the

[TurboGears] Re: Ruby book sales surpass Python

2005-12-08 Thread Michael Schneider
The Rails Book is a very good read. I would highly recommend reading it, even if you develop with Turbogears. Dave Thomas (author of Pragmatic Programmer) has put together a great selection of books I have not read a bad one yet. Python Books Bought in 2005: -- python network programming

[TurboGears] Re: in Atlanta? so am I!

2005-12-08 Thread JohnCooper
How does one get on the meetup list? Just saw this today (too late to come), and I sure would like to get involved. John Kevin Dangoor wrote: div py:offtopic=true This is not normally something I would post here... but I'm interested to meet more of you face-to-face, if you happen to be here

[TurboGears] Re: Web Site Propossal

2005-12-08 Thread Tim Lesher
On 12/8/05, Kevin Dangoor [EMAIL PROTECTED] wrote: On 12/7/05, Don Hopkins [EMAIL PROTECTED] wrote: In 0.9, will KitchenSink support KitchenSource plug-ins? And do circular references still confuse the GarbageDisposal? I call Not-Invented-Here on that one! Why would we need our own

[TurboGears] Help w/ Testgears and Model

2005-12-08 Thread p
Okay, so I have unit tests that test my model(s). When I run them directly, I use the following line to set up a connection: sqlhub.processConnection = connectionForURI(myurihere) When I try and use Testgears, it won't connect. I get this error: Traceback (most recent call last): File

[TurboGears] Re: error installing TurboGears on Ubuntu

2005-12-08 Thread Evan Monroig
On 12/8/05, Wavy Davy [EMAIL PROTECTED] wrote: On 08/12/05, coriolinus [EMAIL PROTECTED] wrote: I just created a fresh Ubuntu install (v5.10), and attempted to install TurboGears. I did previously install both the gcc compiler packages and the python-dev package. Unfortunately, the install

[TurboGears] Kid DOMSerializer

2005-12-08 Thread Jason Chu
We ran into a point where being able to pass a kid template (from a non-form (let's refer to it as display) widget) to a javascript function as DOM calls would be really really nice. Then to refresh a widget, your JSON method returns this specially rendered kid template and you can eval it and

[TurboGears] Re: Help w/ Testgears and Model

2005-12-08 Thread bruno modulix
p a écrit : Okay, so I have unit tests that test my model(s). When I run them directly, I use the following line to set up a connection: sqlhub.processConnection = connectionForURI(myurihere) When I try and use Testgears, it won't connect. I get this error: Traceback (most recent call last):

[TurboGears] Re: in Atlanta? so am I!

2005-12-08 Thread Jeremy Jones
You can just sign up, but be warned that I'm looking for an alternative to Meetup.com for Atlanta since they've begun charging an outrageous monthly fee for their services. - jmj JohnCooper wrote: How does one get on the meetup list? Just saw this today (too late to come), and I sure

[TurboGears] Re: Ruby book sales surpass Python

2005-12-08 Thread Jeff Grimmett
On 12/8/05, Kevin Dangoor [EMAIL PROTECTED] wrote: Interesting article over at Tim O'Reilly's site:http://radar.oreilly.com/archives/2005/12/ruby_book_sales_surpass_python.html There's a fair bit of discussion about Rails and the Python webframeworks (including our own).I'll have more to say on

[TurboGears] Re: SQLObject - dynamic field names

2005-12-08 Thread Levi
I don't know enough about PHP to be really helpful here.. What value would you expect $record.$fieldname to return??

[TurboGears] Re: SQLObject - dynamic field names

2005-12-08 Thread aw
say the author object holds name = Alvin Description = A book I would expect $record.$fieldname to return Alvin Thanks Alvin

[TurboGears] Re: Kid DOMSerializer

2005-12-08 Thread Jorge Godoy
Jason Chu [EMAIL PROTECTED] writes: We ran into a point where being able to pass a kid template (from a non-form (let's refer to it as display) widget) to a javascript function as DOM calls would be really really nice. Then to refresh a widget, your JSON method returns this specially

[TurboGears] Asking for Opinions: How to mount a form with a variable number of fields

2005-12-08 Thread Jorge Godoy
Hi! I'm facing a problem where I want to offer the client the possibility to save time submitting lots of information. Imagine that there are X samples of something, and all should pass through the same process, but there are a few fields that differ from each other. My idea is to provide a

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-08 Thread Jeff Grimmett
On 12/8/05, Jonathan LaCour [EMAIL PROTECTED] wrote: the push towards 1.0.Pay a really, genuinely good designer (likeJon Hicks, in the case of Rails) to help us lowly programmers brandTurboGears.This is an investment in the future of the project andwould draw in more users, and contributers. I

[TurboGears] Re: SQLObject - dynamic field names

2005-12-08 Thread Karl Guertin
On 12/8/05, aw [EMAIL PROTECTED] wrote: dataset = Author.select() record=get(1) fieldname = name How do I access the name field in author using fieldname? In PHP $record.$fieldname getattr(record,fieldname)

[TurboGears] Re: SQLObject - dynamic field names

2005-12-08 Thread Andy Kilner
On Fri, 2005-12-09 at 00:19 +, aw wrote: How do I access the name field in author using fieldname? In PHP $record.$fieldname is getattr(record, fieldname) what you're looking for? -andy -- Andy Kilner [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part

[TurboGears] Re: SQLObject - dynamic field names

2005-12-08 Thread aw
That's the answer. Thanks Alvin

[TurboGears] Re: Asking for Opinions: How to mount a form with a variable number of fields

2005-12-08 Thread Roger Espinosa
In systems that don't have structured field names (Python (by default) and Perl), I've: * kept track of the identifier in a hidden, repeated form element (e.g. active_ids) * then prefixed the actual field names with that id, e.g. 001:name, 001:title When you get the form back, you'd loop

[TurboGears] Re: Asking for Opinions: How to mount a form with a variable number of fields

2005-12-08 Thread Jorge Godoy
Roger Espinosa [EMAIL PROTECTED] writes: In systems that don't have structured field names (Python (by default) and Perl), I've: * kept track of the identifier in a hidden, repeated form element (e.g. active_ids) * then prefixed the actual field names with that id, e.g. 001:name,

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-08 Thread koorb
Hi, It's good this topic has been brought up, although an apparently trivial thing the look and brand can have a big impact on how something is perceived. I rather liked the turbogears under the hood badges, and the newer templates on the site are nice and clean but it would be good to get some

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-08 Thread koorb
I'm guessing you can't read my mind, so here's the link to http://koorb.co.uk/turbogears/ (it's 2:30am I need sleep ...)

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-08 Thread Jorge Godoy
koorb [EMAIL PROTECTED] writes: I'm guessing you can't read my mind, so here's the link to http://koorb.co.uk/turbogears/ (it's 2:30am I need sleep ...) I liked your brown logo (http://koorb.co.uk/static/images/tglogos/big/tglogo-brown.jpg) and the buttons

[TurboGears] Re: in Atlanta? so am I!

2005-12-08 Thread Swaroop C H
Have you tried http://upcoming.org/ ?

[TurboGears] Set return MIME type for controller methods on the fly.

2005-12-08 Thread [EMAIL PROTECTED]
I'm using turbogears as a front-end to an XML db. I want to be able to allow users to submit a query to my DB with the results of the XPath query transformed by an XSLT template of their choosing and have the results displayed to them. The problem is that the XSLT templates that I allow can

[TurboGears] Re: Set return MIME type for controller methods on the fly.

2005-12-08 Thread Jared Kuolt
I believe its something like cherrypy.response.headerMap['Content-Type'] that you can set. On 12/8/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm using turbogears as a front-end to an XML db. I want to be able to allow users to submit a query to my DB with the results of the XPath

[TurboGears] Re: TurboGears visuals for 0.9/1.0

2005-12-08 Thread haj
I personally prefer the original 'G' shape... TurboGears will likely be often written as TG for short, why not put a T with the G. Say, a T hanging on a G or something. (pretty font please...)

[TurboGears] Re: Set return MIME type for controller methods on the fly.

2005-12-08 Thread Jared Kuolt
Having checked after dinner I've found that I'm right! That's a surprise for me ;) Here's the doc on it: http://www.cherrypy.org/cherrypy-2.1.0/docs/book/html/index.html#id3478303 On 12/8/05, Jared Kuolt [EMAIL PROTECTED] wrote: I believe its something like

[TurboGears] Configurable DataGrid widget

2005-12-08 Thread aw
I could not find any documentation on how to write a widget but I took a stab at it by reading the code. Sorry, I am not an expert Python programmer. About 1 week worth of coding so far. This grid took about 3 hours. Mainly playing around. Thanks for help on getattr. I started with this

[TurboGears] Re: Asking for Opinions: How to mount a form with a variable number of fields

2005-12-08 Thread aw
I just posted a configurable data widget to the mail list. I don't have commit access to SVN. Anyway, would an enhanced version of this do what you wanted? I did it that way on a PHP project. Alvin