Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2, EE-1.8.2.GA_P03
-
Fix Version/s: EE-1.8.2.GA_P06
-
Component/s: Framework
-
Labels:None
-
Environment:ICEfaces 1.8.x
-
Assignee Priority:P1
-
Salesforce Case Reference:
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
Feature Request: Add ability for an application to use a relative path to the xmlhttp servlet.
Scenario:
Instead of rendering the page as follows:
<script src="/app-context/xmlhttp/1332234398300/icefaces-d2d.js" type="text/javascript"></script>
It renders the page as so:
<script src="./app-context/xmlhttp/1332234398300/icefaces-d2d.js" type="text/javascript"></script>
The reason being, we have two sites hosted and redirected by the front end apache servers:
https://www.web.com/app1/app-context/MainPage.iface
and
https://www.web.com/app-context/MainPage.iface
What is happening is that when the absolute path being put in the render response, we get redirected to the second instance of the app-context. When in fact I want to go to the first instance.
Scenario:
Instead of rendering the page as follows:
<script src="/app-context/xmlhttp/1332234398300/icefaces-d2d.js" type="text/javascript"></script>
It renders the page as so:
<script src="./app-context/xmlhttp/1332234398300/icefaces-d2d.js" type="text/javascript"></script>
The reason being, we have two sites hosted and redirected by the front end apache servers:
https://www.web.com/app1/app-context/MainPage.iface
and
https://www.web.com/app-context/MainPage.iface
What is happening is that when the absolute path being put in the render response, we get redirected to the second instance of the app-context. When in fact I want to go to the first instance.
Activity
Arran Mccullough
created issue -
Arran Mccullough
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [5007000000LFjsD] |
Arran Mccullough
made changes -
Salesforce Case Reference | 5007000000LFjsDAAT |
Ken Fyten
made changes -
Fix Version/s | EE-1.8.2.GA_P06 [ 10470 ] |
Ken Fyten
made changes -
Assignee | Mircea Toma [ mircea.toma ] |
Ken Fyten
made changes -
Assignee Priority | P1 [ 10010 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #33065 | Tue Jan 15 15:38:19 MST 2013 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/application/D2DViewHandler.java
|
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Affects | Documentation (User Guide, Ref. Guide, etc.) [ 10003 ] | |
Resolution | Fixed [ 1 ] |
Mircea Toma
made changes -
Attachment | data.xml [ 15349 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Modified D2DViewHandler.getResourceURL and D2DViewHandler.getActionURL methods to use a different context path when calculating the absolute URLs. The different context path can be defined using the "com.icesoft.faces.publicContextPath" context parameter.