Dear List,

I have the submit button below on a form

<input type="submit" t:type="submit" t:id="submitButton" value="Submit" />

and the event handler below in the page class

@OnEvent(component="submitButton")
    Object onSubmitButton() {
        System.out.println("Submit button was pressed ...");
        User newUser = new User(this.userName, this.email);
        this.user = newUser;
        return nextAction.class;
    }


this method does not get called after click clicking the submit button.

could anybody help me with a solution?



Thanks

SPA

Reply via email to