Skip to content

Commit e4f79fd

Browse files
committed
Add missing view
1 parent 316536e commit e4f79fd

File tree

1 file changed

+23
-0
lines changed
  • demo/webapp-vaadin/src/main/java/software/xdev/sse/demo/ui/structure

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)