We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 316536e commit e4f79fdCopy full SHA for e4f79fd
demo/webapp-vaadin/src/main/java/software/xdev/sse/demo/ui/structure/AnotherView.java
@@ -0,0 +1,23 @@
1
+package software.xdev.sse.demo.ui.structure;
2
+
3
+import static software.xdev.sse.demo.ui.structure.AnotherView.NAV;
4
5
+import jakarta.annotation.security.PermitAll;
6
7
+import com.vaadin.flow.component.orderedlayout.VerticalLayout;
8
+import com.vaadin.flow.router.PageTitle;
9
+import com.vaadin.flow.router.Route;
10
11
12
+@PageTitle("Another")
13
+@Route(value = NAV)
14
+@PermitAll
15
+public class AnotherView extends VerticalLayout
16
+{
17
+ public static final String NAV = "another";
18
19
+ public AnotherView()
20
+ {
21
+ this.add("Another view");
22
+ }
23
+}
0 commit comments