Pylons & Eclipse Pydev

2008-11-23 Thread SystemicPlural
I am trying to get Pylons working in Eclipse with Pydev (Ubuntu) I can't get it to run or debug. I've re-imported the python interpreter. In the run dialog I have the main module as: /usr/bin/paster and program arguments as serve --reload /home/sky/www/PylonTest/ development.ini but when I run I j

Re: Pylons & Eclipse Pydev

2008-11-24 Thread SystemicPlural
Thanks Dalius. I'm not sure what it did, but that half worked. I can now run pylons from eclipse but the debug breakpoints are not working. There are no errors. Any more help? On Nov 23, 8:01 pm, "Dalius Dobravolskas" <[EMAIL PROTECTED]> wrote: > On Sun, Nov 23, 2008 at

Re: Pylons & Eclipse Pydev

2008-11-24 Thread SystemicPlural
ule'. For me this is '/usr/bin/paster' . Then in the 'Arguments' tab in Program arguments enter 'serve /locationOfYourProject/ development.ini' All set to go. It took a lot of search for me to find out that break points will not work if the arguments includes '--rel

Install not working on windows.

2009-03-19 Thread SystemicPlural
Hi I can't get Pylons to install on windows. I have python 2.6.1 and pylons 0.9.7 (latest versions at writing.) C:\>python go-pylons.py C:\tmp results in: New python executable in C:\tmp\Scripts\python.exe Installing setuptools.. Complete output from command C:\tmp\Sc

Re: Install not working on windows.

2009-03-19 Thread SystemicPlural
I've tried it with python 2.5.4 and it worked. So it looks like a 2.6.1 problem. From other posts on this board, it looks like it should be compatible. But not for me. On Mar 19, 12:04 pm, SystemicPlural wrote: > Hi > > I can't get Pylons to install on windows. > I have p

How to test for a form submission

2009-05-02 Thread SystemicPlural
How do I test for a form submission in a controller? I realise I can do this by setting the action of the form to a different url and catching it in a separate method, but I don't want the url to change when the form is submitted. If I try to test for any elements on the page I get a 'KeyError:'

Re: How to test for a form submission

2009-05-02 Thread SystemicPlural
On 2 May, 09:50, Stephan Krings wrote: > > How do I test for a form submission in a controller? > > > I realise I can do this by setting the action of the form to a > > different url and catching it in a separate method, but I don't want > > the url to change when the form is submitted. > > > If

Preset value in webhelper textarea

2009-05-02 Thread SystemicPlural
I can't seem to pre-set a value in the text area. eg ${h.textarea('myTextArea', value='preset text', cols="60", rows="10")} I need it so that I can maintain form state between postbacks. eg ${h.textarea('idealValues', value=c.myTextArea, cols="60", rows="10")} It works on single line text elem

Re: Preset value in webhelper textarea

2009-05-02 Thread SystemicPlural
On 2 May, 10:01, SystemicPlural wrote: > I can't seem to pre-set a value in the text area. > > eg > > ${h.textarea('myTextArea', value='preset text', cols="60", rows="10")} > > I need it so that I can maintain form state betwee

Including a components stylesheet

2009-05-22 Thread SystemicPlural
I have three template folders. base, pages and components. base contains my site furniture. components are the various reusable elements of the site. pages pull it all together by including a base file and calling various components files The base file includes the head tag and so any style she