-
3 Apr 2008 4:20 PM #1
Why some Config Options are not found in the API ?
Why some Config Options are not found in the API ?
Hi all,
I'm in front of the Absolute Layout sample provided with Ext 2.0 and some Config Options are out of the API and I've made some experiments commenting then .... and I've noticed that they have a huge visual impact on the created FormPanel ....
Below I've put the properties that I didn't find in the API and I would like to know where can I find more info about these properties ....
Appreciate any help !!!Code:Ext.onReady(function() { var form = new Ext.form.FormPanel({ baseCls: 'x-plain', layout:'absolute', /* Not found in the FormPanel's Config Options :(( */ url:'save-form.php', /* Not found in the FormPanel's Config Options :(( */ defaultType: 'textfield', /* Found but not clear to understand :(( */
Thank you very much !!!
Marcos
-
4 Apr 2008 2:36 AM #2
-
4 Apr 2008 4:55 AM #3
FormPanel uses layout:'form'. That config has been explicitly removed from FormPanel.
From the FormPanel docs: Although they are not listed, this class also accepts all the config options required to configure its internal Ext.form.BasicForm
Things are never easy to understand at first. How would you document that?Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
4 Apr 2008 3:00 PM #4
As I'm not a 'native english speaker' (I could be wrong...) but the snippet above clearly indicates that you're trying to overwhelm me. IMHO you need some NETIQUETTE http://www.albion.com/netiquette/corerules.html before yell with other people.
Thanks a lot
-
4 Apr 2008 3:51 PM #5
I didn't take it to mean he was yelling. I took it to mean he was trying to emphasize the 'you' in it, to specifically ask for how would you phrase it to make the point clearer. It was probably clear to him, and not to you. So he's asking you how you might rephrase it.
Don't be so testy.
Edit: further thought. if you don't like the way it was set up, this is your thread. You have the perfect opportunity to explain what you've found out to relay to others. Sometimes the docs actually refer to forum threads for further information!MJ
API Search || Ext 3: docs-demo-upgrade guide || User Extension Repository
Frequently Asked Questions: FAQs
Tutorial: Grid (php/mysql/json) , Application Design and Structure || Extensions: MetaGrid, MessageWindow
-
5 Apr 2008 12:13 AM #6
I'm using intonation that I'd use in speech.
OK, to rephrase, hoping for a response to the question this time, how would you document that?Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
5 Apr 2008 5:14 AM #7
-
5 Apr 2008 1:06 PM #8
How would that explain
defaultType: 'textfield', /* Found but not clear to understand
*/
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
5 Apr 2008 1:10 PM #9
As you posted some documentation that happened to be about layout managers, well, I'm not sure why, but if you want to know about them, look here: http://extjs.com/learn/Ext_2_Overview#Layout_Managers
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642


Reply With Quote
