You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jimmi Dyson <ji...@lawton.co.uk> on 2006/06/21 11:26:20 UTC

Form action problem in embedded form

Hello,

I have a form embedded in a component that is then used on multiple
pages. The form gets rendered correctly, but the action HTML parameter
does not get set - well, it gets set to the path to the page. Here's
some source:

PollModuleComponent.java:
...
@Component(type = "Form", bindings = "listener = listener:submitPoll")
public abstract Form getPollForm();

public void submitPoll() {
        ...
}

If I change the listener:submitPoll to anything else (even
wibble:hello), there is no exception thrown as I would expect.

It's like it's just ignoring the listener binding in an embedded form.

Any ideas anyone?

Cheers,
Jimmi


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org