Re: [TurboGears] TG2 Status Update - Mar 28, 2011

2011-03-29 Thread Ralph Bean
Great news, Michael! Thanks! -- 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 group, send email to turbogears+unsubscr...@googlegroups.com. For more

Re: [TW] validator on CompundWidget

2011-03-28 Thread Ralph Bean
Hi all, I pushed a patch to my fork that fixes this. It's all tracked here on the issue tracker of paj's fork: https://bitbucket.org/paj/tw2core/issue/82/compoundwidgeterror_msg-not-set https://bitbucket.org/paj/tw2core/issue/82/compoundwidgeterror_msg-not-set -Ralph

Re: [TurboGears] Basic Tutorial Problem

2011-03-23 Thread Ralph Bean
Alessandro's suggestion is the best. Still, I'm not sure why you'd be getting a '404' and not a WebError traceback page. I've noticed that the docs you referenced state that they were written against Turbogears 2.0. You have likely installed Turbogears 2.1. If that's the case, you would also

Re: [TurboGears] TG2 Status Update - Mar 7, 2011

2011-03-08 Thread Ralph Bean
Thanks Michael! On Tue, Mar 08, 2011 at 12:28:31AM -0500, Michael Pedersen wrote: Okay, so this one is getting out somewhat later than planned. Technically, I think it's Mar 8 before it leaves my editor. However, since i started it on the 7th, and I'm going by gamer's rules (I didn't sleep

Re: [TurboGears] Re: widget to upload a file with progress bar

2011-03-04 Thread Ralph Bean
To include it in sdist try adding it to your MANIFEST.in file? On Fri, Mar 04, 2011 at 08:03:59AM -0800, NiL wrote: I guess somebody needs to release a new version ;) 0.1a1 is out, that bypass the changes.txt problem for some reason (???) python setup.py sdist doesnt want to include

Re: [TurboGears] TW2 in TG2.1

2011-02-04 Thread Ralph Bean
I use TW2 in TG2.1 to great effect! One downside is that if you use any of the tw2.jquery* widgets, you'll have to clone and install their sources yourself. The pypi releases are a little wonky with their resources right now -- we're working on it! On Fri, Feb 04, 2011 at 02:23:25AM -0600, Tim

Re: [TurboGears] Get current url in Turbogears 2.1

2011-01-20 Thread Ralph Bean
Try these: ${tmpl_context.environ['PATH_INFO']} ${tmpl_context.environ['QUERY_STRING']} There is a bunch of useful information in `environ` -- RJ Bean -- You received this message because you are subscribed to the Google Groups TurboGears group. To post to this group, send email to

Re: [TurboGears] Documentation/tutorial

2011-01-16 Thread Ralph Bean
Hello Jim, You could create an account on bitbucket.org and fork the following repository: https://bitbucket.org/turbogears/tg-docs Then modify the docs yourself, commit changes, and push them to your forked repository (which might be located at)

Re: [TurboGears] Re: modwsgi_deploy Helper Script

2011-01-13 Thread Ralph Bean
I started deploying my first TG app today and hit the same thing. I asked in the TG irc but got no response.. so I cracked open the source. I started with the stack trace.. in particular the lines: File /usr/lib/python2.6/site-packages/modwsgideploy/commands.py, line 100, in command

[TurboGears] Re: modwsgi_deploy Helper Script

2011-01-13 Thread Ralph Bean
I started deploying my first TG app yesterday and hit the same thing. I asked in the TG irc but got no response.. so I cracked open the source. I started with the stack trace.. in particular the lines: File /usr/lib/python2.6/site-packages/modwsgideploy/commands.py, line 100, in command

Re: [TurboGears] Dynamically changing template/response based on requested extension

2011-01-13 Thread Ralph Bean
Kenny, In my controller methods, I chain the expose decorator to get http://myapp/overview return a json object and http://myapp/overview.html return a rendered html version. Here's the documentation on that: http://turbogears.org/2.1/docs/main/ResponseTypes.html You'll probably

Re: [TurboGears] Re: modwsgi_deploy Helper Script

2011-01-13 Thread Ralph Bean
are talking about a different setup.py? Or where should egg.info be placed and what does it contain? On Jan 13, 4:58 pm, Ralph Bean ralph.b...@gmail.com wrote: I started deploying my first TG app yesterday and hit the same thing. ...  File /usr/lib/python2.6/site-packages/modwsgideploy

Re: [TW] [TW2] jquery ui datepicker widget and javascript

2010-11-02 Thread Ralph Bean
Hello, I'm trying to add a javascript function to collect the value in the text/input field used by the datepicker widget. But, I'm getting an error: File build/bdist.linux-i686/egg/simplejson/encoder.py, line 174, in default raise TypeError(%r is not JSON serializable % (o,))

Re: [TW] Re: jqgrid with tw2

2010-11-02 Thread Ralph Bean
amworking with the installation but get an md5 validation error from easy_install lab7cc4526a9ecaleed092523e01afb3. Sent from my Verizon Wireless BlackBerry -Original Message- From: Ralph Bean ralph.b...@gmail.com Sender: toscawidgets-discuss@googlegroups.com Date: Sun, 31 Oct 2010 23:35

Re: [TW] jqgrid with tw2

2010-10-28 Thread Ralph Bean
Hello- Try changing class SchoolsShow( twjq.jqGrid): to class SchoolsShow(tw2.jquery.plugins.jqgrid.jqGridWidget): and also changing options = { 'data' : 'qfetchSchool', to options = { 'url' : 'qfetchSchools', I hope that solves it! -Ralph -- You

Re: [TW] jqgrid with tw2

2010-10-28 Thread Ralph Bean
As an afterthought, also give SchoolsShow an id like class SchoolsShow(tw2.jquery.plugins.jqgrid.jqGridWidget): id = 'school_grid' options = { 'pager' : 'school_grid_pager', ... -- You received this message because you are subscribed to the Google Groups

[TW] Re: tw2 + tg2 + WebError - bug

2010-10-20 Thread Ralph Bean
to make_base_app. Cheers! -Ralph Bean On Oct 20, 2:30 pm, Ralph Bean ralph.b...@gmail.com wrote: Finally got around to checking back on this. Setting base_config.use_toscawidgets2=True in TG2.1 does work.  But you also need to undo the instruction in the wiki TG tutorial that has you place:    app

[TW] Re: tw2 + tg2 + WebError - bug

2010-10-20 Thread Ralph Bean
Here's a patch that resolves the issue. changeset: 263:07b17faa1046 tag: tip user:Ralph Bean ralph.b...@gmail.com date:Wed Oct 20 19:42:46 2010 -0400 files: tw2/core/middleware.py description: Let weberror do its work diff -r ea8353c9e7a1 -r 07b17faa1046 tw2/core

[TW] Re: tw2 + tg2 + WebError - bug

2010-10-20 Thread Ralph Bean
Apologies for the spam. The googlegroups web interface messed with formatting. Its now attached. On Wed, Oct 20, 2010 at 04:50:00PM -0700, Ralph Bean wrote: Here's a patch that resolves the issue. changeset: 263:07b17faa1046 tag: tip user:Ralph Bean ralph.b...@gmail.com

[TW] tw2 + tg2 + WebError - bug

2010-09-13 Thread Ralph Bean
Hello all - I found that including: app = tw2.core.make_middleware(app, default_engine='genshi') in my turbogears2 middleware.py causes the ErrorDocuments middleware to fail and produce only Internal Service Error on error events instead of nice, pretty output. Not sure why this

[TW] tw2.jit

2010-09-08 Thread Ralph Bean
Hello all - So I think things are starting to look good with tw2.jit, a toscawidgets2 wrapper for the javascript infovis toolkit (jit). On github at : http://github.com/ralphbean/tw2.jit I'd appreciate any criticism possible; I'd like tw2.jit to be done right. Many thanks to

[TW] TW2 Installation Issues

2010-09-07 Thread Ralph Bean
Hello all: I'm having issues now installing tw2.devtools through pip. Pip reports that everything installs just fine, but when I try browsing to localhost:8000 after running paster tw2.browser, I get a traceback. I've attached three text files with pastes of my output.

[Func-list] [patch] Added 'recursive' argument and functionality to filetracker.track

2010-08-24 Thread Ralph Bean
Hello all- We wanted to track everything under /etc with func without having to specify every subdirectory manually. Here's a patch to recursively chew through it all. -Ralph Bean Research Computing Rochester Institute of Technology From db494fa2dc25a8f51e870009404fc6d1ccb8e2d0 Mon Sep 17 00

Re: [TW] TW2 Tutorial: Testing please

2010-07-30 Thread Ralph Bean
- -Ralph Bean On Mon, Jul 26, 2010 at 11:06 AM, Paul Johnston paul@gmail.com wrote: Hi, I've just completed the tw2 standalone tutorial. This is using tw2 without any other web framework such as TurboGears. I'd really appreciate someone going through this to check it works. Please start

[jquery-ui] Re: saving portlet state

2010-06-22 Thread Ralph Bean
I got this working with multiple columns and both order of portlets and sate saved to cookies. Here's a demo: http://www.cs.rit.edu/~rjb6296/jquery_demo/ Source: Javascript // function that writes the list order to a cookie function saveOrder() { $(.column).each(function(index,

[displaytag-user] RE: Examples of external sorting and paging

2006-05-04 Thread Ralph Bean
I've been having many of the same problems as you, David. But one thing I noticied in your post was calculating the first record with pageNumber * PAGE_SIZE For page number 1 with a page-size of 7, you will actually start on record 7, not record 0. Try, (pageNumber - 1 ) * PAGE_SIZE. This may

<    1   2   3   4   5   6