Search Type: Posts; User: Nullity
Search: Search took 0.03 seconds.
-
7 Jul 2011 2:08 PM
Jump to post Thread: Marking a textfield invalid by Nullity
- Replies
- 2
- Views
- 1,123
Awesome, that worked. Thank you very much.
-
7 Jul 2011 5:03 AM
Jump to post Thread: Marking a textfield invalid by Nullity
- Replies
- 2
- Views
- 1,123
I searched for this before posting, and while I found a few similar questions, none of them had any/satisfactory answers. So if I missed something, I apologize.
I have two textfields, we'll... -
15 Jan 2011 5:42 PM
Jump to post Thread: Send JSON object to PHP by Nullity
- Replies
- 3
- Views
- 9,071
I just had a similar issue. The fix was to turn off magic_quotes in php.ini. If you do this, you will no longer need the call to stripslashes().
-
14 Jan 2011 11:43 AM
- Replies
- 22
- Views
- 2,703
Thanks, that did it. I didn't know that was turned on by default.
In addition, I was able to slightly tweak the PHP code and now the script works with my actual data. That magic_quotes was... -
14 Jan 2011 9:52 AM
- Replies
- 22
- Views
- 2,703
It returns
[\"foo\",\"bar\"][] -
14 Jan 2011 9:20 AM
- Replies
- 22
- Views
- 2,703
That's a good point, I didn't even consider that.
I already thought of that. I tried it multiple ways, just in case:
$test = json_decode($_REQUEST['test']);
print_r($test); -
14 Jan 2011 8:51 AM
- Replies
- 22
- Views
- 2,703
Firebug shows that it is sending:
test ["foo","bar"]
I also tried with $_POST, but with the same results. I suppose it's possible something is configured differently on my server from yours, but... -
14 Jan 2011 8:32 AM
- Replies
- 22
- Views
- 2,703
Thank you, but that does not work.
Ext.Ajax.request({
url: 'file.php',
method: 'POST',
success: successFn,
failure: failFn,
params: {test: Ext.encode(['foo', 'bar'])}
}); -
14 Jan 2011 7:06 AM
- Replies
- 22
- Views
- 2,703
Yes, it does work for our simple test data, but it fails if there are nested objects/arrays. I also know I could modify your function to handle this, but this is just an ugly/"hacky" solution.
... -
13 Jan 2011 2:29 PM
- Replies
- 22
- Views
- 2,703
That's a good suggestion, and while it works great for this small test data, it's not practical for a large dataset, particularly one that is dynamically generated. I'm working with a fairly large...
-
13 Jan 2011 2:24 PM
- Replies
- 22
- Views
- 2,703
Talking this out gave me an idea. I tried to pass the following to the params option:
Ext.urlEncode({test: ['foo', 'bar']})
I was almost sure this would produce "test[]=foo&test[]=bar", but it... -
13 Jan 2011 2:16 PM
- Replies
- 22
- Views
- 2,703
jQuery encodes it as such:
test[]:foo
test[]:bar
Which then gets rebuilt into an array on the server side. -
13 Jan 2011 2:01 PM
- Replies
- 22
- Views
- 2,703
Thank you for the reply, I appreciate your input.
I hope your suggestions are not the only way, as that would cause a lot of extraneous code. I like to keep things neat. :)
Anyway,... -
13 Jan 2011 11:45 AM
- Replies
- 22
- Views
- 2,703
I've been away from using Ext for a few years, and started using it again with the latest version (3.3.1) for a new project, so my Ext skills and knowledge are pretty rusty.
I'm trying to do a... -
20 Apr 2010 11:20 AM
- Replies
- 2
- Views
- 743
*smacks forehead*
Thanks, that fixed it. Unique IDs is lesson #1 in web programming, and I certainly know this. I was hoping my problem wasn't something stupid like that.
Sometimes we just... -
20 Apr 2010 10:17 AM
- Replies
- 2
- Views
- 743
I am having an odd issue with a TabPanel in Ext 3.2.
My application is a BorderLayout with a north and center regions. To the north, I have a search form which queries my DB and displays the... -
23 Oct 2007 6:31 AM
Jump to post Thread: New ExtJS 2.0 Theme: "Slate" by Nullity
- Replies
- 186
- Views
- 169,367
That's great, I love it!
-
16 Oct 2007 5:16 AM
- Replies
- 9
- Views
- 3,149
This has been discussed a few times before, see here:
http://extjs.com/forum/showthread.php?t=5883
I also feel that this should be considered a bug, but unfortunately it is not. That thread... -
15 Oct 2007 6:06 AM
Jump to post Thread: Custom Ext.util.Format method by Nullity
- Replies
- 1
- Views
- 807
Yes, here is a custom format method I posted as an example:
http://extjs.com/forum/showthread.php?t=7552 -
11 Oct 2007 5:23 AM
- Replies
- 8
- Views
- 4,425
I haven't yet tested any of the Inline fields with Ext 2.0. I'm glad you got it to (somewhat) work, but I would imagine there are some things that would need updated.
After I get a chance to play... -
11 Oct 2007 5:18 AM
Jump to post Thread: Site Submissions, CHEERS!! :-) by Nullity
- Replies
- 4
- Views
- 1,339
Good point. ;)
-
10 Oct 2007 5:35 AM
Jump to post Thread: Site Submissions, CHEERS!! :-) by Nullity
- Replies
- 4
- Views
- 1,339
Looks really nice, although I suggest adding some sort of link to turn off the music. Music on a web page is generally a bad idea unless it is off by default and turned on by he user.
-
27 Sep 2007 12:32 PM
- Replies
- 5
- Views
- 1,854
First of all, Ext forms automatically generate the HTML form tags when it is rendered, so change your HTML to just this:
<div id="raportHD"></div>
Next, your PHP POST vars don't match the... -
27 Sep 2007 12:04 PM
- Replies
- 59
- Views
- 93,794
Just paste the code into a new text file with a .js extension then source it after the Ext files. So if you name the file 'ColorField.js', the header of your page will contain something like this:
... -
21 Sep 2007 7:50 AM
- Replies
- 33
- Views
- 46,426
That 'setSize' method was actually ripped straight from Field.js from Ext 1.0. I just updated the first post with totally refactored code based off of Ext 1.1.1, so this should no longer be a...
Results 1 to 25 of 120
