File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 120
120
<dependency >
121
121
<groupId >com.flowingcode.vaadin.addons.demo</groupId >
122
122
<artifactId >commons-demo</artifactId >
123
- <version >3.3 .0</version >
123
+ <version >3.5 .0</version >
124
124
<scope >test</scope >
125
125
</dependency >
126
126
</dependencies >
Original file line number Diff line number Diff line change 23
23
import com .flowingcode .vaadin .addons .demo .DemoSource ;
24
24
import com .vaadin .flow .component .orderedlayout .FlexLayout ;
25
25
import com .vaadin .flow .router .PageTitle ;
26
+ import com .vaadin .flow .router .Route ;
26
27
27
28
@ PageTitle ("Rss Items Demo" )
28
29
@ DemoSource
30
+ @ Route (value = "rss-items/rss-items" , layout = RssitemsDemoView .class )
29
31
@ SuppressWarnings ("serial" )
30
32
public class RssitemsDemo extends FlexLayout {
31
33
Original file line number Diff line number Diff line change 23
23
import com .flowingcode .vaadin .addons .DemoLayout ;
24
24
import com .flowingcode .vaadin .addons .GithubLink ;
25
25
import com .flowingcode .vaadin .addons .demo .TabbedDemo ;
26
+ import com .vaadin .flow .router .ParentLayout ;
26
27
import com .vaadin .flow .router .Route ;
27
28
28
29
/**
29
30
* @author Martin Lopez / Flowing Code
30
31
*/
31
- @ Route (value = "rss-items" , layout = DemoLayout .class )
32
+ @ ParentLayout (DemoLayout .class )
33
+ @ Route ("rss-items" )
32
34
@ SuppressWarnings ("serial" )
33
35
@ GithubLink ("https://github.com/FlowingCode/RssItemsAddon" )
34
36
public class RssitemsDemoView extends TabbedDemo {
35
37
36
38
public RssitemsDemoView () {
37
- addDemo (new RssitemsDemo () );
39
+ addDemo (RssitemsDemo . class );
38
40
setSizeFull ();
39
41
}
40
42
You can’t perform that action at this time.
0 commit comments