it seems more to do with the ext store as there is no column displaying the
data for this field.
the reason for this setup is that i have a grid showing the main record
information, then when the user double clicks a row it opens a window with a
form inside it. The form is then populated with
whats strange is that even if i remove that field from the store, the store
still doesnt load, its like the line breaks are causing an error in the json
being passed
Can you show me your column config
thanks for your reply, yes im using firebug and ext straight up
i included these 2
9:00 AM
To: cf-talk
Subject: Re: ExtJS Text Area, MySQL, ColdFusion and Enter Key
whats strange is that even if i remove that field from the store, the store
still doesnt load, its like the line breaks are causing an error in the json
being passed
Can you show me your column config
thanks
if I take out the enter key and enter a normal string then everything is fine.
This is throughout the software and not just on this store. so it is definitely
how the enter key is being passed
in the cfm file i have a query that pulls out the data then converts it to JSON
and sends it to ext
Telling us what the error is would help... I have not had any problems with
line breaks and Ext.data.Store... + Ext.Grid
its strange as there isnt actually an error being thrown by firebug. In the
text area i entered:
Testing
Testing
... then if i dump out the JSON text it displays it as
-
From: Richard White [mailto:rich...@j7is.co.uk]
Sent: January-18-11 2:38 AM
To: cf-talk
Subject: Re: ExtJS Text Area, MySQL, ColdFusion and Enter Key
Telling us what the error is would help... I have not had any problems
with line breaks and Ext.data.Store... + Ext.Grid
its strange as there isnt
thanks for your reply, yes im using firebug and ext straight up
myStore.on('exception',function(proxy,type,action,o,response,arg){
console.warn('load exception');
console.dir(response)
},this);
myStore.on('load',function(store,records,options){
console.warn('Store loaded');
console.dir(records)
And if you remove that column then it works?
-Original Message-
From: Richard White [mailto:rich...@j7is.co.uk]
Sent: January-18-11 11:21 AM
To: cf-talk
Subject: Re: ExtJS Text Area, MySQL, ColdFusion and Enter Key
thanks for your reply, yes im using firebug and ext straight up
Can you show me your column config
-Original Message-
From: Richard White [mailto:rich...@j7is.co.uk]
Sent: January-18-11 11:21 AM
To: cf-talk
Subject: Re: ExtJS Text Area, MySQL, ColdFusion and Enter Key
thanks for your reply, yes im using firebug and ext straight up
myStore.on
Hi,
I am using ExtJS text area on a form, which posts the data to a cfm page, which
in turn stores the data into MySQL database.
Then I use CF to get data out of database, and convert the data to json using
toJSON.queryToJSON which sends the data to an ExtJS grid.
If the user hits the enter
with
line breaks and Ext.data.Store... + Ext.Grid
Brook
-Original Message-
From: Richard White [mailto:rich...@j7is.co.uk]
Sent: January-17-11 8:45 AM
To: cf-talk
Subject: ExtJS Text Area, MySQL, ColdFusion and Enter Key
Hi,
I am using ExtJS text area on a form, which posts the data
11 matches
Mail list logo