Setting lookandfeel dinamically
Posted: Mon Apr 27, 2009 1:19 pm
Hi!
I have another question about the property lookandfeel.
Can I set this property dinamically from the javascript in order to use a different l&f for each domain?
I tried this, for example:
document.fileupload.setProperty("param10","lookandfeel");
document.fileupload.setProperty("value10","net.sourceforge.napkinlaf.NapkinLookAndFeel");
and this,
document.fileupload.setProperty("lookandfeel","net.sourceforge.napkinlaf.NapkinLookAndFeel");
but it didn“t work, and of course previously I commented the line lookandfeel=auto in i18n_bar.properties.
Thanks!
I have another question about the property lookandfeel.
Can I set this property dinamically from the javascript in order to use a different l&f for each domain?
I tried this, for example:
document.fileupload.setProperty("param10","lookandfeel");
document.fileupload.setProperty("value10","net.sourceforge.napkinlaf.NapkinLookAndFeel");
and this,
document.fileupload.setProperty("lookandfeel","net.sourceforge.napkinlaf.NapkinLookAndFeel");
but it didn“t work, and of course previously I commented the line lookandfeel=auto in i18n_bar.properties.
Thanks!