Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Every TDI response should be a valid XML document formatted according to Infuse protocol rules. The infuse protocol declares a set of instructions for the client part.

Syntax

Code Block
xml
xml
<?xml version="1.0"?>
<response>
	<status>OK</status>
	<update target replace append prepend class-add class-remove>html/text contents</update>
	<insert target position>html/text contents</insert>
	<script src>inline js code</script>
	<style src></style>
	<popup mode href width height></popup>
	<reload></reload>
	<redirect href></redirect>
</response>

Infusion instructions

  • status
  • update - refresh HTML element content
  • insert - insert new content to the page
  • script - download external JavaScript or perform inline JavaScript
  • style -  download external CSS styles
  • popup - open popup window
  • reload - reload the page
  • redirect - redirect to the URL