I am new in jimix, just 4 days touching jmix.
How do I get instance of TextField that in vaading using @Id annotation.
I am new in jimix, just 4 days touching jmix.
How do I get instance of TextField that in vaading using @Id annotation.
You can “inject” it into the controller using @Autowire
annotation:
@Autowired
protected TextField<String> textField;
The field name must be the same as the id
attribute in XML.
See more in UI Samples online application.