From: Pascal <pb...@oi...> - 2001-02-26 10:15:01
|
it will either use your own ID specified, or a JSDynLayerXX ID (which adds a number to be unique) If you would add the unique ID to the specified ID users will get confused, the layer the named MyLayer would suddenly be MyLayer1 Pascal Bestebroer (pb...@oi...) Software ontwikkelaar Oberon Informatiesystemen b.v. http://www.oibv.com > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens ???? ??????????? > Verzonden: maandag 26 februari 2001 11:09 > Aan: dyn...@li... > Onderwerp: [Dynapi-Dev] (may be) typo in DynLayer > > > Is this line in DybLayer.js right > this.id=a[0]||"JSDynLayer"+(DynLayer.nullCount++) > ? > Or, may be, it will be > this.id=(a[0]||"JSDynLayer")+(DynLayer.nullCount++) > ? > Because the first line is equivalent to > this.id=a[0]||("JSDynLayer"+(DynLayer.nullCount++)) > and widgets must count layers independent. > > Yura Silvestrov > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > |