Search Type: Posts; User: cerad
Search: Search took 0.02 seconds.
-
16 Jun 2010 12:38 PM
Jump to post Thread: DirectStore Help Required by cerad
- Replies
- 2
- Views
- 558
Are you using firebug? I leaned the format by watching the network traffic. The documentation can be a tad bit confusing at times.
-
1 Jun 2010 8:38 AM
Jump to post Thread: FormPanel submission is empty by cerad
- Replies
- 6
- Views
- 880
Have you included ux/fileuploadfield/FileUploadField.js?
I pasted your example in to a test file and it seems to work fine. Are you using firebug to examine the post? Might want to start with... -
1 Jun 2010 7:51 AM
Jump to post Thread: FormPanel submission is empty by cerad
- Replies
- 6
- Views
- 880
It's your win.close() that is causing the problem. Try commenting it out or moving it to your siccess function. Form submits are of course async operations and you are trying to close things down...
-
4 Apr 2010 2:29 PM
Jump to post Thread: Extjs fully fledged MySql DB Admin by cerad
- Replies
- 23
- Views
- 7,481
Pretty nice but:
1. Under Windows 7, Firefox 3.6 the Create Database prompt for name field height is very tiny. Can't see what you are typing.
2. When creating a query, the tab key does not... -
27 Feb 2010 4:48 PM
- Replies
- 9
- Views
- 1,684
fields: ['Schuljahr'],
displayField:'sj',
And mode needs to be remote to trigger the load. Install firebug so you can see what is happening bewteen the client and the server. I know... -
24 Feb 2010 1:51 PM
- Replies
- 12
- Views
- 2,614
Thanks. Kind of hope that when the class is refactored, a regular failure will no longer be an exception. Be nice to have the same sort of success/failure handlers that forms do.
But at least it... -
24 Feb 2010 11:15 AM
- Replies
- 12
- Views
- 2,614
Any chance of posting the fix here for those of us without svn access? Just like to see the approach taken so my code does not diverge too much from the master code.
Thanks -
18 Feb 2010 8:41 AM
- Replies
- 3
- Views
- 1,497
That is exactly what you need to do with the current implementation. Send back the exact same records (except for adding the id) in the exact same order. The document on Ext.Direct explains this.
... -
17 Feb 2010 10:35 AM
- Replies
- 3
- Views
- 1,497
You are creating a new record so of course it does not have an id. It's the server's job to actually create the record in your database (or whatever), assign it a id and then send the id back to the...
-
13 Feb 2010 7:56 AM
- Replies
- 3
- Views
- 1,834
Check your syntax elsewhere in your code. I pasted what you posted directly inside of an onReady block and it seemed to work.
The 'this' in your error message is suspicious. Are you nesting... -
12 Feb 2010 1:16 PM
- Replies
- 19
- Views
- 6,724
I did but unfortunately various DirectStore issues were not addressed. Very sad but hope springs eternal for the next release.
-
11 Feb 2010 9:22 AM
- Replies
- 50
- Views
- 9,498
Take a look at my post #15. Store loading works fine without any patches. It's only updating/creating that has problems. Your response seems to be lacking a success property and a count:
... -
11 Feb 2010 7:40 AM
- Replies
- 50
- Views
- 9,498
This is kind of suspicious:
directFn: $curriculum.getC,
Are you getting any server responses at all? What happens when you set a breakpoint in the onWrite method?
Syntax aside, I avoid... -
10 Feb 2010 5:46 PM
- Replies
- 12
- Views
- 7,853
http://www.extjs.com/forum/showthread.php?t=91793
As far as I can tell, ignoring the successProperty is a feature not a bug. -
10 Feb 2010 1:32 PM
- Replies
- 50
- Views
- 9,498
Yes it will still work in your case. Readers always have metaData either from the server or from config options. The internals don't care about the source. Try it. You'll like it.
-
10 Feb 2010 12:07 PM
- Replies
- 2
- Views
- 1,039
I realize it is a dup but every time we try to get it fixed we get told to either post a bug report or generate some sort of test case. Very frustrating that something so simple has made it through...
-
10 Feb 2010 11:50 AM
- Replies
- 2
- Views
- 1,039
DirectProxy.onWrite always fires the store's write event even if the server indicates the write was a failure.
Current code:
onWrite : function(action, trans, result, res, rs) {
... -
10 Feb 2010 11:35 AM
- Replies
- 50
- Views
- 9,498
I think the fix is trivial:
Ext.override(Ext.data.DirectProxy,
{
onWrite : function(action, trans, result, res, rs)
{
var data =... -
10 Feb 2010 10:27 AM
- Replies
- 50
- Views
- 9,498
The problem is not with the initial loading, the problem is with reading the results of creating a record. Fire off an AddUser method and you will see it. I posted an example last week on this.
... -
6 Feb 2010 3:52 PM
- Replies
- 7
- Views
- 1,802
Ask yourself the question: How does the server know which record to update? If you change the primary key then the server has no way to know which record needs to be updated.
-
6 Feb 2010 9:03 AM
Jump to post Thread: inserting data to db via form by cerad
- Replies
- 9
- Views
- 1,081
I don't see anything obviously wrong with what you posted.
Make a simple form with just a regular text field and make sure it posts ok. Then add to it. It's strange that the failure handler is... -
6 Feb 2010 8:50 AM
Jump to post Thread: inserting data to db via form by cerad
- Replies
- 9
- Views
- 1,081
Not unless you want to. Press F12 to start firebug. Make sure you have the latest versions. No reason it should not work under ubuntu that I know of.
Debugging AJAX without something like... -
6 Feb 2010 8:30 AM
Jump to post Thread: Trying to use getAt by cerad
- Replies
- 5
- Views
- 954
You need to wait until the store is finished loading:
ds_cabsol.on('load',function(store)
{
console.log(store.getAt(0).data.codsol);
}); -
6 Feb 2010 8:27 AM
Jump to post Thread: inserting data to db via form by cerad
- Replies
- 9
- Views
- 1,081
What does firebug show for the request/responses?
-
6 Feb 2010 5:51 AM
- Replies
- 7
- Views
- 1,089
Exactly. Why develop two independent means of sending records back and forth between the server. Would have been much more efficient to have one way of dealing with flat records. So I wonder why...
Results 1 to 25 of 120
