The content type radio button property of the page that has choices
Notes
HTML
Other
does not seem to do anthing when setting a different content type using other (content type does not appear when using view source of web page that is generated).
If I simply add the content-type line to the top of the page, the line is rendered in the browser but naturally, does not have the effect of setting the content type.
Through an agent, I can:
Print “Content-Type:…”
as the first line but I need to do this from a page.
And this user (apparently) was successful in somehow changing the content-type although ran into other issues:
http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/19283b33166c3ca885256f25006ce1f2?OpenDocument&highlight=content-type,page,embedded,view
Does anyone have any suggestions for setting content-type in a page?
Thanks in advance,
Cesar
Subject: How to specify content type for page element displayed on web?
Well, I might be wrong about being able to add the content-type to the output of an agent. I tried the example somebody had here:
http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/3abdedd37bc5a0e885256e6600716491?OpenDocument
but instead of getting an Excel spreadsheet loaded in my browser, I just got a plain HTML table (content-type was ignored and was not visible in the source of the generated spreadsheet).
So, next I tried using another client computer to access the same agent. In this computer, I was able to get the spreadsheet loaded and also get the page which used an “Other” content-type to load properly.
So the difference is somewhere on the client computers, the problematic one being XP SP2 with IE
Version:6.0.2900.2180.xpsp_sp2_gdr.050301-1519
Cipher Strength: 128-bit
Product ID:55277 -OEM -0011903 -00102
Update Versions:; SP2;
and the working system using 2000 with IE
Version:6.0.2800.1106
Cipher Strength:128-bit
Product ID:55736-401-2665072-04025
Update Versions:; SP1; Q832894; Q837009; Q831167;
Q823353; Q867801; Q833989;
I don’t why there is a difference from one to the other or where to go to fix this. Perhaps browser security settings?
Subject: Solved…
Believe it or not, the problem may have been with having too many browser windows open at the same time.
I closed all the browser windows and re-opened one only and was then able to load either the agent or the page that specified a content-type in the output.