PDA

View Full Version : [RESOLVED] The html list tag does'nt appear in form field



senacle
11 Jan 2011, 12:30 AM
Hello !

I've a form. When i submit it, i create a template (php script).
The template is sent via json to :

a messagebox or
a form with displayfield

to show the template to the user and ask him if he is OK with the template.

But the html list tag aren't displayed in the messagebox or in the form.
Any other formatted text are well displayed.

In the attached files, the datas before submission and the shown template.

A bug ?

Condor
11 Jan 2011, 12:44 AM
The default stylesheet of Ext changes the way your template looks.

You'll have to show the template inside a Panel configured with preventBodyReset:true.

senacle
12 Jan 2011, 2:04 AM
Ah, Condor, you're one of the GOD of Extjs ;)

Thanks a lot !