What is the intended use of the admin parameter ‘selectedLnf’?
My impression was that it was used to push a Look And Feel to the client. Forcing it to use it by default.
The problem is that it is not working.
Don’t know the exact cause of this, but if I set this property to say “com.incors.plaf.kunststoff.KunststoffLookAndFeel”, it is saved in the servoy.properties file as
selectedLnf = com.incors.plaf.kunststoff.KunststoffLookAndFeel
Now if from developer, I select the KunstoffLookAndFeel, it ends up in servoy.properties as
selectedlnf = com.incors.plaf.kunststoff.KunststoffLookAndFeel
Note the different case for the L.
So in the servoy.properties, I end up with:
selectedLnf=com.incors.plaf.kunststoff.KunststoffLookAndFeel
selectedlnf=com.incors.plaf.kunststoff.KunststoffLookAndFeel
When I use the server with a selectedLnf property set, I was expecting a client to pick it by default.
But no. And if I look at the client cache, in the servoy_client.properties, I see that the property ‘localhost8080_selectedlnf=’ (in case of a localhost server) is desperately empty,
while in the same file, I have:
selectedlnf=com.incors.plaf.kunststoff.KunststoffLookAndFeel
Only if in the client do I select a look and feel, will ‘localhost8080_selectedlnf’ be set in the servoy_client.properties.
And the look and feel is then properly use in subsequent client sessions.
Is this expected behavior and in that case what is the admin parameter ‘selectedLnf’ supposed to do?
Thanks for your comments on this,