I think you need to set your action in the RemoteForm when you create
it instead of adding in the template's display() call. It should look
something like this:

class DemoController(identity.SecureResource):
    """ Demonstrate the use of RemoteForm. """
    @tg.expose(template="templates.remoteformdemo")
    def index(self):
        item_searchform = RemoteForm(
            name="ItemSearch",
            fields=SearchFormFields(),
            submit_text="Search",
            action=turbogears.url("/do_search"))
        return dict(item_searchform=item_searchform)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to