webfirmframework for Java Experts
wffweb-3 to wffweb-12 migration changes
Avoid using deprecated methods and use its replacement methods.
Many data classes are converted to record classes so its method
names are also changed, i.e. the getter methods do not start with
get
prefix. For instance, instead of using
SharedTagContent.Content.getContent()
use
SharedTagContent.Content.content()
.
Replace com.webfirmframework.wffweb.tag.html.attribute.event.ServerAsyncMethod
with
com.webfirmframework.wffweb.tag.html.attribute.event.ServerMethod
in the code.
Use event.data()
to get data from client.
Update your project for configuration changes (optional but recommended) from the sample project.
Checkout this sample code.