on page Registration.tml i have:
<t:form t:id="registrationForm">
//...some component
<input t:type="submit" type="submit" t:id="submitButton"
value="submit"></input>
</t:form>

and on Registartion.java
@OnEvent(component="submitButton")
    void onSubmitButton() {
        System.out.println("Submit button was pressed!");
    }

    void onSubmitFromRegistrationForm(){
        System.out.println("The form was submitted!");

    }
when i click on submit button only onSubmitFromRegistrationForm is invoked.
in "Tapestry 5 Building Web Applications, Alexander Kolesnikov" is written
that first will be invoked onSubmitButton and then
onSubmitFromRegistrationForm,  but submit component event handler is not
invoked at all, when i run application output is:

The form was submitted!
problem is with submit component, when i change submit with actionLink ,
actionLink's eventHandler is invoked

please help me:)
thanks in advance
On Wed, Apr 2, 2008 at 12:39 PM, Natia Gdzelishvili <[EMAIL PROTECTED]>
wrote:

> hi,
> I'm using tapestry 5.0.10 version,
> i have a problem with handling submit component event handling
> on page i have:
> <t:form t:id="registrationForm">
>
> </t:form>
>

Reply via email to