8 May 2008 1:56 PM #21
validate is different from isValid. isValid of BasicForm calls validate of each field. validate also marks/clears field invalid mark.
8 May 2008 11:14 PM #22
Hi Saki and MJ
Thanks for the quick response. This is one of the quickest, polite and helping response i ever got. Appreciate it.
I am in the process of going through all the study materials you have suggested. I did go through the Yahoo Vedio's by Dough Crockford and was reading couple of good tutorials.
I am using the spket eclipse plugin, but i kind of felt that it doesn't deal with the scope of the object. When i was studying your plugin, when i do alt space after certain objects i expected it to show me the functions and variables/properties. But it doesn't show any but your plugin works perfect.
9 May 2008 1:23 AM #23
I thing you're headed veeeeeery good direction!
Re scope: Have you seen this: What is that Scope all about ?
Re firebug: Just get used to it, there is nothing better.
Re eclipse: I don't know, I use vim.
10 May 2008 8:52 PM #24
Thanks Saki for the info.
One dumb question. I couldn't find an option to start a new thread. Please let me know how can i do that, so that i can maintain the sanctity of the threads. If there is no way then i will continue on this thread.
Here is my question.
"callAlert is undefined" . Please let me know how can i call any javascipt function from the HTML code written inside renderer or from inside Ext.XTemplate()
Last edited by mystix; 10 May 2008 at 11:32 PM. Reason: use [code][/code] tags
11 May 2008 1:22 AM #25
Go to forum you want to create a new thread in, not existing thread but Forum, and click new thread button at the top.
(X)Template are meant to generate html code not to call functions or create object. They are very well documented:
11 May 2008 2:00 PM #26
11 May 2008 3:55 PM #27
Renderer is one thing - you can call anything from there and XTemplate is another thing. XTemplate supports arbitrary code execution but is not designed to create Ext components, but to generate html output.
27 May 2008 9:43 PM #28
As per your suggestion, I have been working for last couple of weeks with the help of forums and few tutorials and been able to do quite some stuff in ExtJS. Now i think i would like to explore doing Extensions on ExtJS. Sometimes i hit to a requirement where i would have to Extend a component so wanted some suggestions from you.
a) What should be the starting point to write extensions ?
b) Any tutorials or links useful to start on this ?
28 May 2008 1:58 AM #29
Here you are:
Extensions: Extending Classes in Ext (the "Ext 2.0 way"): IconCombo
And for plugins:
Plugins: Writing a Plugin
28 May 2008 3:25 AM #30
- the tutorials (2) on scope
- component life cycle
- forum thread on extending
- object oriented overview
Item 5 may be good if you are new to OO js along with Item 1.