I believe it's something to do with javascript initialisation on the
page because:

 - my Tapestry PageTester test still submits the form
 - the form is submitted if I disable javascript in the browser

I assume the form *is* supposed to be submitted, right!? Here's a
simple test page:

public class SubmitTest {
        public void onActivate() {
                System.err.println("Hello!");
        }
}

<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";>
        <t:form>
                <t:submit mode="normal" value="Mode Normal" />
                <t:submit mode="cancel" value="Mode Cancel" />
        </t:form>
</html>

Tested on Firefox and Chrome on Windows and Ubuntu.

Anyone have any ideas as whether this is a feature, misunderstanding or a bug?

Steve.

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

Reply via email to