-
Notifications
You must be signed in to change notification settings - Fork 18
rad implements
Steve Hannah edited this page Jul 9, 2021
·
1 revision
An attribute that can be added to the root tag of a RAD view to specify interfaces that the view class should implement. This is primarily for adding interfaces that define some constants so that they can be accessed by simple name in Java expressions in the view.
Example MyView.xml
<?xml version="1.0"?>
<y rad-implements="com.example.myapp.GlobalActions, com.example.myapp.Constants">
...
</y>
With the above use of rad-implements
the resulting Java view class would be something like:
public MyView extends AbstractEntityView<MyViewModel>
implements com.example.myapp.GlobalActions, com.example.myapp.Constants {
...
}