AquaLogic User Interaction Development Guide

     Previous Next  Open TOC in new window   View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Adaptive Pagelet Development Tips

These tips apply to most adaptive pagelets.

Gateway all URLs. You cannot make request to a URL whose host/port differs from that of the calling page. All URLs requested through JavaScript must be gatewayed. For details on the gateway, see .About Pagelets and the Gateway.
Add all required JavaScript to the page in advance. Browsers might not process script blocks/includes added to the page through the innerHTML property.
  • IE: Add the defer attribute to the script tag.
  • Netscape: Use RegExp to parse the response and look for the script, then eval it.
JavaScript HTTP and gatewayed HTTP must use the same authentication credentials. JavaScript brokered HTTP requests send the same authentication token (cookie) as when you make a normal gatewayed HTTP request.


  Back to Top      Previous Next