Hi Devs, I am working on Javascript that will be deployed in uPortal but will be included in other applications. The script will create a header on a page originating from another server that is similar to the detached portlet header.
Pulling in CSS files from uPortal is not an issue. A cross origin issue arises when making the API call to /uPortal/api/session.json. To solve this for testing, I leveraged the CorsFilter included with Tomcat. Is there need for Cross-Origin Resource Sharing in uPortal at this time? Coding a filter is straight-forward. What configuration options should be available to make this amenable to the community? Should the configuration be defined in a context file, and if so, which one? Also, are there any recommendations on where to place the Javascript file in uPortal? Considering src/main/webapp/media/skins/respondr/common/javascript or there abouts. It has a dependency on some Respondr CSS. Best, Benito J. Gonzalez - Unicon [email protected] <mailto:[email protected]> 480.558.2360 -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
