This can cause problems if a resource refers to another resource by a relative URL.įor instance, if your web resource contains a stylesheet with the name "css/styles.css", and that stylesheet uses an image from the same web resource whose name is "images/foo.png", you could use the relative URL. Example:īatched resource URLs do not include any URL path prefixes that were specified in the individual names. Use this element to make a particular transformer available to the web resource in the plugin. Note: This element is only available in Plugin Framework 2.5 and later. Use this element to include web resources like CSS and JavaScript on all screens of a specific type in the application. Note: This element is only available in Plugin Framework 2.2 and later. Dependencies are defined in the format 'pluginKey:webResourceKey' e.g. A web resource can depend on other web resource(s) to be available. Indicate whether the plugin module should be disabled by default (value='disabled') or enabled by default (value='enabled').ĭependencies for the web resource module. That is, the description of the resource. The 'key' attribute can be specified to declare a localisation key for the value instead of text in the element body. It allows the following attributes and child elements for configuration: Attributes The root element for the Web Resource plugin module is web-resource. In addition, you can specify web resources like CSS and JavaScript to be included in specific contexts within the application. Web resources are added at the top of the page in the header with the cache-related headers set to never expire. If your plugin requires the application to serve additional static Javascript or CSS files, you will need to use downloadable web resources to make them available. Web Resource plugin modules allow plugins to define downloadable resources. Web resources differ from Downloadable Plugin Resources in that web resources are added at the top of the page in the header. If your plugin requires JIRA to serve additional static Javascript or CSS files, you will need to use downloadable web resources to make them available. JIRA plugins may define downloadable resources. In JIRA 4.4 and later, the JIRA-specific web resource context was added. In JIRA 4.2 and later, JIRA-specific Web Resource Contexts in JIRA were added.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |