[web2py] Re: component .load

2010-12-30 Thread mattynoce
perfect. mission accomplished. re: your comment, formControllerFromComponent is the return function from a non-ajax component form. the main controller function loads the component, the component shows a form, and the form action is formControllerFromComponent. now i'll just set request.extension

Re: [web2py] Re: component .load

2010-12-30 Thread Jonathan Lundell
On Dec 30, 2010, at 9:49 AM, mattynoce wrote: > > if i can override request.extension and have it propagate, that's > totally fine. if, for example, i could do this: > > def formControllerFromComponent: ># *** new line *** >request.extension = 'html' > >doSomething() >doSomething

[web2py] Re: component .load

2010-12-30 Thread mattynoce
if i can override request.extension and have it propagate, that's totally fine. if, for example, i could do this: def formControllerFromComponent: # *** new line *** request.extension = 'html' doSomething() doSomethingElse() redirect(URL(..., extension='')) and have that stic