PDA

View Full Version : display html tags in Ext.Window



Michael J.
28 Feb 2011, 4:44 PM
Hello.
I want to display html source code in Ext.Window

I have url that return text smth like

<tag1 param1=value1>
blablabla
<tag2 param2=value2>

Then I create window
var win = new Ext.Window({
title: 'code',
closable:true,
border:true,
width:600,
height: 300,
plain:true,
autoLoad : 'myurl'
});

and of course as a result I see

blablabla


is there way to see full text with tags?

4 Mar 2011, 10:18 AM
you need to wrap your html tag in code tags. http://www.w3schools.com/tags/tag_phrase_elements.asp

Michael J.
9 Mar 2011, 2:57 AM
Ive tried already both variants wrapping with <code></code>
tags and <pre></pre>
they doesnt work - ext.window is empty.

9 Mar 2011, 3:49 AM
is it actually loading the proper URL?