Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1103762 - Add an option to load Asynchronous Module Definition (AMD) JavaScript from a Content Delivery Network (CDN)
Add an option to load Asynchronous Module Definition (AMD) JavaScript from a ...
Status: VERIFIED
Product: JBoss Enterprise Portal Platform 6
Classification: JBoss
Component: Portal (Show other bugs)
6.2.0
Unspecified Unspecified
unspecified Severity unspecified
: ER03
: 6.2.0
Assigned To: Peter Palaga
Marek Baluch
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-02 09:44 EDT by Peter Palaga
Modified: 2018-10-17 17:32 EDT (History)
1 user (show)

See Also:
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:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker GTNPORTAL-3485 Major Resolved Add an option to load AMD JavaScript from a CDN 2016-03-29 21:29 EDT

  None (edit)
Description Peter Palaga 2014-06-02 09:44:54 EDT
Description of problem:
Add an option to load AMD JavaScript from a CDN. This can be done using the require.js config's paths field.

Cloned from https://issues.jboss.org/browse/GTNPORTAL-3485 so that it gets QA'd properly

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 Peter Palaga 2014-06-02 09:45:39 EDT
https://github.com/gatein/gatein-portal/pull/863 was merged in upstream.
Comment 3 Peter Palaga 2014-06-13 09:54:31 EDT
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
Comment 4 Petr Mensik 2014-06-16 07:55:56 EDT
In confirm that portlet meets behavior described in second step of how to reproduce.

Note You need to log in before you can comment on or make changes to this bug.