Secure Password demo

Description
This page displays a basic SecurePassword.
Click a number to record it.
It is bound to a Page variable to submit the value (parameter value).
It has to be enclosed inside a t:form component.


In Action
7 6 4 5
1 8
2 3
0 9
Value sent :



TML Source code

		<t:form>
			<ex:securePassword value="passwordValue"/>
			Value sent : ${prop:val}<br/>
			<t:submit/>
		</t:form>
	



Java code

	    @Property
	    private String passwordValue;

	    @Persist(PersistenceConstants.FLASH)
	    @Property
	    private String val;

	    void onSubmit()
	    {
	        val = passwordValue;
	    }