// --------------------------------------------------------
// - custom_lister.html.js
// - Generated on 6/26/2006 12:20:56 PM
// - DO NOT MODIFY - THIS FILE WAS AUTOMATICALLY GENERATED
// --------------------------------------------------------

// Globals
var d;f.F("ID_Dh","ID_items","ID_items","ID_D","ID_labels");d=new Object();d.G=['../',"data","labels"];function Dh(){};Ne(Dh,"Dh",eh);Dh.P.kg=function (){};Dh.P.Eh=function (){return 'ol';};Dh.P.fh=function (Fh){var items=this.g("items");if(items!=null){for(var i=0;i<items.gh();i++){Fh.add('<li>');Fh.add(items.g(i));Fh.add('</li>');}}};Dh.P.Gh=function (){var hh=this.Hh();if(hh!=null){var Fh=new ih();this.fh(Fh);hh.innerHTML=Fh.toString();}};Dh.P.Ih=function (jh,Jh,n,pb){if(jh=="items"){this.Gh();var Ug=new hb(this,this.Gh);if(Jh!=null){Jh.kh("Kh",Ug);}if(n!=null){n.Gb("Kh",Ug);}}(this.rg=eh.P.Ih,this.rg(jh,Jh,n,pb));};H.I='custom_lister.src.html';H.j='app/custom_lister.html.js';function D(){var o,p;o=new J();p=new k();p.id="labels";p.Re(['Foo','Bar','Ding']);o.S("labels",p);this.S("data",o);K(this,this,o);};l.m("App0",D);function K(target,M,data){var o,p,q;var d=self.d;o=new gb();o.Gb("click",new hb(target,Hb));o.S("text",'Add One');p=new gb();p.Gb("click",new hb(target,lh));p.S("text",'Remove One');q=new Dh();q.u("items",d.G);target.S("c",new L(o,p,q));};function Hb(pb,a){this.Fc("labels").add('Label '+(Ec++));;};function lh(pb,a){this.Fc("labels").Lh(0);;};var Ec=1;;
