Skip to content

rad implements

Steve Hannah edited this page Jul 9, 2021 · 1 revision

rad-implements attribute

Synopsis

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.

Usage

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 {
    ...
}
Clone this wiki locally