Changing style in web-client

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Changing style in web-client

Postby GabrielWyss » Thu Jan 24, 2019 12:37 pm

I change the style on solution load with 'application.overrideStyle("actualStyle", "newStyle")'. The 'newStyle' is an option the user can change inside the solution.
After restart the solution, with smart-client all is shown correct. With web-client, some forms shows still the old style (backcolor), some the new.
After restart the developer or the application-server, with web-client also all forms are shown correct.
Does anyone know this behavior and know what to do?
Gabriel Wyss
om computer - SAN Partner
http://www.omcomputer.ch
GabrielWyss
 
Posts: 83
Joined: Tue Jul 13, 2010 2:12 pm
Location: Cham, Switzerland

Re: Changing style in web-client

Postby jcompagner » Tue Feb 05, 2019 11:51 am

that is weird if you really call that override style the first thing in the onsolution open (so now forms are created yet) then that should affect all forms that are created after that.
Or somehow your browser did cache a run before this. If you start your browser in incognito mode is it then ok?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Changing style in web-client

Postby GabrielWyss » Tue Feb 05, 2019 4:49 pm

even if I restart the solution in a new icognito browser (chrome) it ist still like that.
Gabriel Wyss
om computer - SAN Partner
http://www.omcomputer.ch
GabrielWyss
 
Posts: 83
Joined: Tue Jul 13, 2010 2:12 pm
Location: Cham, Switzerland


Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 15 guests

cron