Skip to Content
Former Member
Jul 06, 2006 at 08:13 PM

How do I display an XML Form using a custom Java iView?


I am attempting to read an xml form file from KM and display it in a custom java iView. Below you will see where I have started. I can read the file using getContent() but I do not know how to automatically open the document in the iView window.

Any help would be appreciated.

IResource tmpres = list.get(0);
 try {
	content = tmpres.getContent();
	inputStream = content.getInputStream();
} catch (Exception ex) {
	IPortalComponentResponse response =
		(IPortalComponentResponse) this.getResponse();