Vaadin video training course

Hey everyone,

I am currently watching the https://vaadin.com/training/courses/v10-layouting video.
And i cannot get it to work like the video. I copied everything exactly from the solution files.

The button wont show up to the nav bar. And also my header wont get the color from the stylesheet.

Is this issue because i use vaadin 14 and the videos are using older versions of Vaadin ?
17826189.png

Hi, thanks for the feedback, I just tried, running mvn jetty:run on the Solutions project works fine. Have you also tried to run the Solutions project directly? Also which browser are you using? I hope it’s not IE? :stuck_out_tongue:

Haijian Wang:
Hi, thanks for the feedback, I just tried, running mvn jetty:run on the Solutions project works fine. Have you also tried to run the Solutions project directly? Also which browser are you using? I hope it’s not IE? :stuck_out_tongue:

No i am using Google Chrome still no button ?

@Override
public void setParameter(BeforeEvent event, @OptionalParameter  String parameter) {
	if ("scroll".equals(parameter)) {
		updateUIForScroll();
	}
}

("scroll".equals(parameter) <<<< could this be the problem ?

17826352.png
17826355.png

Ah, that button, you need to append ‘scroll’ as a parameter to the url, i.e. http://localhost:8080/scroll
This will make it work.

It’s kinda hack let you see the solution with and without the bonus task.

Holy cow thank you so much! Now i finaly know what the code means lol. No dissrespect to the Vaadin creators but the tutorials feels kind of unfinished, where did he explain this ? Or should i have known this, Should i start somewhere else before i watch these videos ?

Have to bravely admit that I’m the creator the training materials. Yep, have to admit that it’s not explained clearly. Regarding this particular problem, checking out the free [Router training]
(https://vaadin.com/training/courses/v10-router) would help to understand the parameter part.

I will check it out, thanks !