-
Notifications
You must be signed in to change notification settings - Fork 10
Web Templates
Server-side rendered HTML could appear for a short time while loading the view; to eliminate this blinking you could modify the existing web templates or create the custom web templates.
You can use two approaches:
-
Hide the applet div in the Web Template wrapping it by
<div style='display:none;'>
-
Deploy Light Web Templates that does not contain the server-side rendered HTML
Very simple, just empty div, as it is needed to have something in the template file to avoid the error that the template is empty:
<div style='display:none;'></div>
It could be also applied to popup applets.
For now we need the form-applet-layout
just to parse the HTML to identify the required controls. If you don't need the required controls, you can use the same template as for list applets.
IP16 example:
<div style='display:none;'>
<swe:form-applet-layout></swe:form-applet-layout>
</div>
IP17+ example:
<div style='display:none;'>
<div od-type="form-applet-layout"/>
</div>