Answer the question
In order to leave comments, you need to log in
Vaadin - update app?!?
I don't understand what's wrong. You need to concoct small molds on Vaadin. But some kind of “magic”, I don’t understand why after updating the page in the browser I don’t see any changes.
firefox is one thing, chrome is another, eclipse browser is a third.
Clearing the cache, refreshing the page, reloading the browser does not help. (
How can I get what I changed in the code after reloading the page, and so on ...
Thank you!
Here's an example.
private Button profile;<br>
private Button search;<br>
private Button autoSearch;<br>
private Button logout;<br>
<br>
private final GridLayout grid = new GridLayout(1, 2);<br>
private final HorizontalLayout hTopLayout = new HorizontalLayout();<br>
private final VerticalLayout vContentLayout = new VerticalLayout(); <br>
<br>
public UserProfile() {<br>
this.setCaption("Prifile");<br>
<br>
profileMenu();<br>
<br>
grid.addComponent(hTopLayout);<br>
this.setContent(grid);<br>
}<br>
<br>
private void profileMenu() {<br>
<br>
profile = new Button("Profile");<br>
search = new Button("Suche");<br>
autoSearch = new Button("Auto Suche");<br>
logout = new Button("Log out");<br>
<br>
hTopLayout.addComponent(profile);<br>
hTopLayout.addComponent(search);<br>
hTopLayout.addComponent(autoSearch);<br>
hTopLayout.addComponent(logout);<br>
}<br>
@SuppressWarnings("serial")<br>
public class JobApplication extends Application {<br>
@Override<br>
public void init() {<br>
ApplicationContext context = new ClassPathXmlApplicationContext("META-INF/spring/application-context.xml");<br>
Window mainWindow = new Window("Job");<br>
<br>
mainWindow.addComponent(userProfile);<br>
userProfile.setVisible(true);<br>
}<br>
<br>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question