Patch #861
add/remove a global css resource
0%
Description
It would be nice to be able to add global css resources with the Web Client Utils plugin.
Since it registers all the references to itself, it only works for main pages.
This is needed for https://support.servoy.com/browse/SVY-8487, please find attached the patch which contains the new methods.
Files
History
Updated by Edit Mera over 9 years ago
Updated by Patrick Talbot over 9 years ago
- Status changed from New to Feedback
My problem with your patch is that it's based on the usage of methods of an interface that has been introduced with Servoy 7.3, mainly com.servoy.j2db.server.headlessclient.IProvideGlobalResources, which means that this wouldn't work with Servoy versions before that.
Since the plugin up until today was supporting Servoy down to 5.2 and because there are people still using 5.2 or 6 or 6.1 or 7 < 7.3 I'm reluctant to accept the patch as-is, short of maintaining 2 versions.
So using Reflection will be needed to keep backward compatibility.
Updated by Edit Mera over 9 years ago
Hi,
I created a new patch in which reflection is used.
Updated by Patrick Talbot over 9 years ago
- Status changed from Feedback to Resolved
Thanks for the patch Edit! I've imported and released a v1.4.1 with your changes.