Natia Gdzelishvili wrote:
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!");
}
[..]
please help me:)
thanks in advanc
A button doesn't send the "submit" event but the "selected" event, as
you can see here:
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Submit.html
Try onSelectedFromSubmitButton() {...}
Hope it will help,
--
Francois Armand
Etudes & Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
-----------
InterLDAP - http://interldap.org
FederID - http://www.federid.org/
Open Source identities management and federation
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]