AW.UI.Input Object Form Inclusion
I had some problems including the basic controls in my case Input into a form.
It seems that using
var obj = new AW.UI.Input;
obj.getContent('box/text').setAttribute('name', 'formItem');
it will work.
Is there any other direct way to do it ?
Since an aw.ui.input should be used as an input type=text replacement
and therefore the name, that is used to send the data by post/get
should also be as important as the id [and there is a setId() method].
It seems that using
var obj = new AW.UI.Input;
obj.getContent('box/text').setAttribute('name', 'formItem');
it will work.
Is there any other direct way to do it ?
Since an aw.ui.input should be used as an input type=text replacement
and therefore the name, that is used to send the data by post/get
should also be as important as the id [and there is a setId() method].
Bogdan
January 11,