Vaadin 23 add favicon to non-PWA application - vaadin

I removed #PWA annotation from my Application. Now I need to add a favicon. I know how to add favicon to the PWA Vaadin application, but how to do the same for non-PWA application? Where it should be placed and how to configure it?

Related

sitecore webpage shows old content which is not present in .net mvc view.I don't want to show that content on web page

I am creating page in sitecore.It shows previously published content on page which is now not present anywhere in code.I want to remove that content.Also it does not show header and footer even I give correct placeholder name from layout file.
There might be few possible reasons for it, which you need to verify in your cms to fix this issue:-
1: You might added Sitecore level caching, verify below points in CMS.
i) Sitecore Rendering level cache.
ii) Sitecore page Presentation level cache.
iii) Code level caching
2: Do IIS reset with the below command in CM:-
CMD Window> iisreset

changing default document in iis 7 to MVC web application

I am trying to change the default document of my localhost in iis 7. Currently it shows the default iis 7 page, I want it to show the homepage of application deployed under default website "Application". The application is an MVC 5 web application.
I have tried adding Application into default document option and tried in web config file of the server but its still showing iis 7 page.
MCV or Razor Web pages do not follow the default document scheme. For example if you are setting index.php to be the default document but then you have default.cshtml beneath it, default.cshtml will still load first. The only alternative is either to use URL rewriting to redirect your application or actually changing the routing code in your app to set default routes.

How to add themeroller custom theme to my website?

I have created a custom theme using Jquerymobile.com themeroller.
A mobile website which i have created using default theme values like .js and .css folders.
Now i want to change that theme of my website to my new custom theme,created using themeroller.
How to include those files to my coding?
When you download the themerolloer that you create, there is a sample index.html file that uses the theme that is enclosed. Look at that to see what files need to be included in your page, but more importantly, look at that code to see what CSS classes are being used - no point in including them in your page if you aren't using using the Themeroller classes
You can see all the steps, and a full tutorial on the Getting Started page

Layouts of smartgwt are automatically!! adding to rootpanel

I'm using smartgwt. I have created some Layout objects when I run my app in dev mode all the Layouts are added to my page but I have not added all of them to rootpanel. Is it because of browser doesn't refresh the page or jetty doesn't render? I have cleared the browser cache and made my app clean&build, but the issue isn't solved.
When you call draw(), SmartGWT components render themselves. You don't need to add them to RootPanel, and in fact you should not do so - draw() is preferred unless some third-party code is forcing you to go through RootPanel.

latest version jQuery Mobile broke my custom themes

When I use the latest version of jQuery Mobile (referencing http://code.jquery.com/mobile/latest/jquery.mobile.min.js in my index.html page), my custom jQuery Mobile theme no longer works. I created a custom theme named with a swatch named "g". When I load my site, my header changes from ui-bar-g to ui-bar-a. What could be causing my custom themes to be replaced with a different swatch? Thanks.

Resources