Re: Form re-rendering itself SOLVED

2007-10-04 Thread voltron
I would like to apologize for the static, you have all been very helpful, I am truly, but only half the dork that bruno called me :-). The reason for the form nor rendering was that it was rendering a test form that was an exact copy. A little sleep makes wonders. Thanks On Oct 4, 11:59 am,

Re: Form re-rendering itself

2007-10-03 Thread aaaron
I override render_response() (now called render() in pylons 0.9.6 i think) so any action can pass in default form values and htmlfill will populate the form accordingly. This way you don't need to rely on a form_result. in my_proj.lib.base.py: def render_response(*args, **kw):

Re: Form re-rendering itself

2007-10-03 Thread voltron
Hi Huy, is the formatting right; I did´nt know about that, seems strange, c follwed by two dots? Is this documented somewhere? I´ll like to read it up On Oct 4, 5:41 am, Contact 42 [EMAIL PROTECTED] wrote: voltron wrote: here is an example of how I render data to forms def

Re: Form re-rendering itself

2007-10-03 Thread Contact 42
not sure how the two dots got in there, but it should only be one dot. c.userprofile.firstname huy Hi Huy, is the formatting right; I did´nt know about that, seems strange, c follwed by two dots? Is this documented somewhere? I´ll like to read it up On Oct 4, 5:41 am, Contact 42

Re: Form re-rendering itself

2007-10-03 Thread Uwe Feldtmann
Perhaps you're running out of data space on the url. If you are using GET on the form all the data is on the url and is limited to about 500bytes I think (please correct me). Try using POST. The data is send in the body and not the url and can be much larger. Uwe. voltron wrote: This seems

Re: Form re-rendering itself

2007-10-02 Thread voltron
No I fill in the form using Pylons c global and the request variables. I use formencode for the bigger forms On Oct 2, 4:24 pm, David Turner [EMAIL PROTECTED] wrote: On Tue, 2007-10-02 at 02:17 +, voltron wrote: I have a form that I use to capture and display user data, I would like

Re: Form re-rendering itself

2007-10-02 Thread David Turner
Post code. On Tue, 2007-10-02 at 14:41 +, voltron wrote: No I fill in the form using Pylons c global and the request variables. I use formencode for the bigger forms On Oct 2, 4:24 pm, David Turner [EMAIL PROTECTED] wrote: On Tue, 2007-10-02 at 02:17 +, voltron wrote: I have

Re: Form re-rendering itself

2007-10-02 Thread [EMAIL PROTECTED]
On 2 oct, 04:17, voltron [EMAIL PROTECTED] wrote: I have a form that I use to capture and display user data, I would like the user to submit the form, a controller saves the data and re- render the filled in data in the same form, so I just redirect the form to itself, strangely this does

Form re-rendering itself

2007-10-01 Thread voltron
I have a form that I use to capture and display user data, I would like the user to submit the form, a controller saves the data and re- render the filled in data in the same form, so I just redirect the form to itself, strangely this does not work, is this the wrong way to do this? Thanks