Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.2
-
Component/s: Bridge
-
Labels:None
-
Environment:Just-ice with facelets
-
ICEsoft Forum Reference:
Description
When the URI specified for the redirection event starts with '/' the AppContext is not beign prepended to the url, making the redirection url relative to the application server and not to the application it self.
Example:
connectionLostRedirectURI = '/login.iface'
Current url when the event fires: http://server/AppContext/path1/path2/index.iface
Redirected url: http://server/login.iface
The redirected url should be: http://server/AppContext/login.iface
To solve this problem I have made some changes to the file status.js to correctly prepend the AppContext if the url given starts with a '/'. You can find this file and the icefaces-d2d.js with this change included(generated by the ant build of the bridge subproject) in forum thread http://www.icefaces.org/JForum/posts/list/0/10297.page
Those changes where made over the source release 1.7.2 available to download from the home site.
Example:
connectionLostRedirectURI = '/login.iface'
Current url when the event fires: http://server/AppContext/path1/path2/index.iface
Redirected url: http://server/login.iface
The redirected url should be: http://server/AppContext/login.iface
To solve this problem I have made some changes to the file status.js to correctly prepend the AppContext if the url given starts with a '/'. You can find this file and the icefaces-d2d.js with this change included(generated by the ant build of the bridge subproject) in forum thread http://www.icefaces.org/JForum/posts/list/0/10297.page
Those changes where made over the source release 1.7.2 available to download from the home site.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion