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
3
1 9 6
2 8 5
4 7 0
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;
	    }