PDA

View Full Version : html editor problem



Ajish
14 Jun 2009, 10:52 PM
hi

pls any one help me out

i have a form panel with two three tab panels inside it

that tab panel also contains one form

with add new as tab title

and having a xtype:htmleditor


when i click the save button inthat form


if i enter only one line in that html editior it is coming to the code behind and i am able to save toi db as well


but when i enter more than one line, the content in html editor is not coming to the code behind

Ajish
14 Jun 2009, 10:53 PM
,{
region: 'center',

xtype: 'tabpanel',
activeTab: 0,
items: [{
title: 'Time Sheet',
xtype: 'form',
frame:true,
items:[fitPanel]
},
{
title: 'Add New',
xtype: 'form',
id:'AddNew',
frame:true,
defaultType:'textfield',
items:[{
xtype: 'datefield',
fieldLabel: 'Date',
name: 'date'
},
{
xtype:'htmleditor',
height:200,
anchor:'98%',
fieldLabel:'Work Details',
name:'workDetails'
},