Class aw-xxxxx-undefined problem
I have a custom control
Something seems not be setting the item correctly. Then I had a previous post that I thought may have been the problem, redeclaring multiple items within the same object itself. So I tried
But the style is still showing up as aw-left-column-undefined when I am assuming it should be aw-left-column-text? What other function am I supposed to be using to define the last part of the class??
AW.HTML.userInfo = AW.System.Control.subclass();
AW.HTML.userInfo.create = function()
{
var obj = this.prototype;
obj.setTag("div");
obj.defineTemplate("myfield", new AW.HTML.SPAN);
with (obj.getTemplate("myfield"))
{
setId("text");
setClass("left-column");
setContent("");
}
}
Something seems not be setting the item correctly. Then I had a previous post that I thought may have been the problem, redeclaring multiple items within the same object itself. So I tried
userInfo = new AW.HTML.userInfo;
userInfo.setId("usercontrol");
userInfo.getTemplate("myfield").setId("text");
But the style is still showing up as aw-left-column-undefined when I am assuming it should be aw-left-column-text? What other function am I supposed to be using to define the last part of the class??
Tony
January 16,