Rich Platform project for Java web applications.
This project is maintained by aktion-hip
The following snippet shows an example of a Ripla view:
public class InputWidgetsView extends CustomComponent {
public InputWidgetsView() {
final VerticalLayout layout = new VerticalLayout();
setCompositionRoot(layout);
layout.setStyleName("demo-view");
layout.addComponent(new Label("Text:"));
layout.addComponent(new TextField());
}
}
A Ripla view has to implement the com.vaadin.ui.Component interface. By extending the Vaadin class com.vaadin.ui.CustomComponent, this prerequisite is established.
This simplistic view component creates a vertical layout and adds a label and text field widget.