Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

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: PortalAssignee: Peter Palaga <ppalaga>
Status: CLOSED UPSTREAM QA Contact: Marek Baluch <mbaluch>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: 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
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 13:45:39 UTC
https://github.com/gatein/gatein-portal/pull/863 was merged in upstream.

Comment 3 Peter Palaga 2014-06-13 13:54:31 UTC
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 11:55:56 UTC
In confirm that portlet meets behavior described in second step of how to reproduce.

Comment 10 Red Hat Bugzilla 2025-02-10 03:35:59 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.