Class DevJavaScriptResourceReference
java.lang.Object
org.apache.wicket.request.resource.ResourceReference
com.inductiveautomation.ignition.gateway.web.util.DevJavaScriptResourceReference
- All Implemented Interfaces:
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.wicket.request.resource.ResourceReference
org.apache.wicket.request.resource.ResourceReference.Key, org.apache.wicket.request.resource.ResourceReference.UrlAttributes
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.wicket.request.resource.ResourceReference
canBeRegistered, equals, getDependencies, getExtension, getKey, getLocale, getName, getScope, getStyle, getUrlAttributes, getVariation, hashCode, toString
-
Constructor Details
-
DevJavaScriptResourceReference
-
DevJavaScriptResourceReference
- 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
-
-
Method Details
-
getResource
public org.apache.wicket.request.resource.IResource getResource()- Specified by:
getResource
in classorg.apache.wicket.request.resource.ResourceReference
-