Class DevJavaScriptResourceReference
- java.lang.Object
-
- org.apache.wicket.request.resource.ResourceReference
-
- com.inductiveautomation.ignition.gateway.web.util.DevJavaScriptResourceReference
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.wicket.util.io.IClusterable
public class DevJavaScriptResourceReference extends org.apache.wicket.request.resource.ResourceReference
Special version of javascript resource reference that understands how to look up javascript files where they will be during development. Requires flag -Dignition.devjsloadpath=<path to IDE repo>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DevJavaScriptResourceReference(java.lang.Class<?> scope, java.lang.String modulePath, java.lang.String name)
DevJavaScriptResourceReference(java.lang.Class<?> scope, java.lang.String modulePath, java.lang.String name, java.util.Locale locale, java.lang.String style, java.lang.String variation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.wicket.request.resource.IResource
getResource()
-
-
-
Constructor Detail
-
DevJavaScriptResourceReference
public DevJavaScriptResourceReference(java.lang.Class<?> scope, java.lang.String modulePath, java.lang.String name, java.util.Locale locale, java.lang.String style, java.lang.String variation)
-
DevJavaScriptResourceReference
public DevJavaScriptResourceReference(java.lang.Class<?> scope, java.lang.String modulePath, java.lang.String name)
- Parameters:
scope
- The class that the js file is nearmodulePath
- The module path of where the class is located. Examples: "Platform/gateway-api" or "Modules/reporting/reporting-gateway"name
- The path to the js file, relative to where the class is
-
-