Bug 797977 - EPP is handling javascript with jquery differently without the exo.product.developing parameter
Summary: EPP is handling javascript with jquery differently without the exo.product.de...
Keywords:
Status: ASSIGNED
Alias: None
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: Portal
Version: 5.2.0.GA
Hardware: Unspecified
OS: Linux
low
low
Target Milestone: ---
: 5.2.x
Assignee: Peter Palaga
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-27 17:19 UTC by Viliam Rockai
Modified: 2018-02-06 19:18 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)
Gatein skin war file with javascript (142.26 KB, application/octet-stream)
2012-02-27 17:24 UTC, Viliam Rockai
no flags Details

Description Viliam Rockai 2012-02-27 17:19:15 UTC
Description of problem:
JQuery javascript is invoked fine with the exo.product.developing=true parameter, but doesn't work without it.

How to reproduce:
Deploy the attached war file. It contains sample skin extended with two javascript file: jquery and test javascript file. Those files are defined in the gatein-resources.xml file. In the test javascript file, the alert is executed from the jquery environment. If you start the EPP with -Dexo.product.developing=true parameter, everything works as expected, but if you avoid the parameter, you won't be even able to click on the Sign in link (because of javascript errors).

Note: The javascript is executed (if dev parameter == true) even if the skin is not the current skin.

Comment 1 Viliam Rockai 2012-02-27 17:24:41 UTC
Created attachment 566112 [details]
Gatein skin war file with javascript


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