On 04.02.2011 17:44, Benny Law wrote:

> Thanks for providing this solution. I tried to implement this, but got stuck
> on the last step. Could you tell me how you "set the saved controlName to
> the component"? I couldn't find a public setter for this property. I
> searched the whole class hierarchy for TextField and couldn't find anything.
> Do I need to create a wrapper for it? Thanks.

Sorry, I forgot. You need to implement a simple field (implementing
Field) which passes the methods

public void setControlName(String controlName);
public String getControlName();

to the public. Insert it in your tml and inject it in your java class,
acting as a dummy for the validation.

HTH
 Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to