thanks you for the suggestion. The problem solved after id parameters (in inform controller) changed to data as required as function parameter in forward action.
heru On Sat, Jun 6, 2009 at 12:20 AM, Wyatt Baldwin <[email protected]>wrote: > > On Jun 5, 1:42 am, "[email protected]" <[email protected]> > wrote: > > hello, > > > > i'am new to python and pylons. after trying pylons for a couple days i > > have found that I can't use 'forward' as action name. > > > > here my controller hello.py: > > class HelloController(BaseController): > > > > def index(self): > > # Return a rendered template > > #return render('/hello.mako') > > # or, return a response > > return 'Hello World' > > > > def inform(self): > > return redirect_to(controller='hello', action='forward', > > id='hello') > > > > def forward(self, data=None): > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
