View Full Version : Question regarding Ext.form.Form and rendering

9 Oct 2007, 2:01 PM
Ok, so this question is confusing for me to properly state.

I'm going to give it a try in hopes someone can comprehend what I'm asking.

In the examples, it's typical for a form to be created with something to the extent of:

var form = new Ext.form.Form({ .... });

My code is a bit different as I'm applying Ext's form on top of unobstrusive code... something similar to:

var gmi = new Ext.form.TextField({});

My question is, I have a button to submit code which is still getting rendered without Ext as I can't do something like:


How would I render my 'Save' input button to take on Ext's CSS/effects when using a form with applyTo() I suppose is my question?

Does that make sense?


- sf

9 Oct 2007, 2:06 PM
May be you should create Ext.Button() and then replace the old declarativily rendered one with new one....

9 Oct 2007, 4:56 PM
Hi Maxim,

So there's no way to use applyTo() to an input button? :-)

- sf