Bug 1103762
| Summary: | Add an option to load Asynchronous Module Definition (AMD) JavaScript from a Content Delivery Network (CDN) | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 6 | Reporter: | Peter Palaga <ppalaga> |
| Component: | Portal | Assignee: | Peter Palaga <ppalaga> |
| Status: | CLOSED UPSTREAM | QA Contact: | Marek Baluch <mbaluch> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2.0 | CC: | epp-bugs |
| Target Milestone: | ER03 | ||
| Target Release: | 6.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: |
It is possible to load Asynchronous Module Definition (AMD) JavaScript using the require.js config's paths field. This feature is documented in the Red Hat JBoss Portal 6.2 Administration and Configuration Guide.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-02-10 03:35:59 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Peter Palaga
2014-06-02 13:44:54 UTC
https://github.com/gatein/gatein-portal/pull/863 was merged in upstream. Steps to reproduce: (1) build arcgis-gears-portlet cd ~/scratch wget https://github.com/jboss-developer/jboss-portal-quickstarts/blob/6.2.x-develop/src/build/settings-for-contributors.xml git clone https://github.com/ppalaga/arcgis-gears-portlet.git cd arcgis-gears-portlet git checkout GTNPORTAL-3485 mvn clean install -s ../settings-for-contributors.xml (2) deploy arcgis-gears-portlet.war, add to a page, open the page Expected in JBoss Portal 6.3.0.ER3: * The map in the portlet is displayed * Open the devconsole in the browser (F12 in the browser) and ensure that * There are no loading errors * Some CSS and JavaScript resources are loaded from http://js.arcgis.com as declared in https://github.com/ppalaga/arcgis-gears-portlet/blob/GTNPORTAL-3485/src/main/webapp/WEB-INF/gatein-resources.xml#L24-L34 and https://github.com/ppalaga/arcgis-gears-portlet/blob/GTNPORTAL-3485/src/main/webapp/css/arcgis-gears-portlet.css#L1-L2 In confirm that portlet meets behavior described in second step of how to reproduce. This feature was documented in https://docs.jboss.org/author/display/GTNPORTAL39/Native+AMD+Modules#NativeAMDModules-NativeAMDModuleshostedonCDN This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |