humanum.arts.cuhk.edu.hk/humftp/FAQ/sybase.faq:: ( All of this change will stop when you see release 2.0. 5. Other ideas Possibly an obvious Answer: dont provide tools for ad hoc http://humanum.arts.cuhk.edu.hk/humftp/FAQ/sybase.faqHOME | Before it comes out...
We often have the situation where something is created via an object config, and even more so in 2.0 since 2.0 is so much more flexible in this regard (yay!). Sometimes even, whole chunks of layout and forms and buttons can come from the server strictly via JSON rather than JavaScript. This is great!
However, we also run into problems where the id that we use is relative to its container and not meant to be global. For example, say a panel with many subpanels in a card layout. we want to show the card with id of "example". It works great. Then somewhere someone else uses the id "example" for some other panel, and rendering goes haywire since there are two divs in the page with id="example". DMICC Meeting on July 20 - 21, 1999 : NIDDK:: were also suggestions that pubertal status may be more important than age and He said there had been no change over time in the diagnostic criteria for type 2 http://www2.niddk.nih.gov/AboutNIDDK/CommitteesAndWorkingGAgenda_Roster_Minutes.htmHOME |
I think for a FormPanel it does not use id to set the DOM id, but rather formId. I think everthing should work that way... you could use elId if you actually want to set the elements underlying div to that id. Otherwise, it is just used for the mixedcollection for that container. Ajaxian:: The Grid component wraps the Ext JS grid, and it includes If you use HTML text however this will change size, possibly obscuring parts of your drawing. http://ajaxian.com/index.php?s=drag+drop&searchbutton=GoHOME |
The easy (??? don't know the side effects ???) idea is not to use the component's id when creating DOM nodes.
Jack, have you any thought on this?
In my next check-in, I have added the itemId config that toolbar has for Containers as well. This will set the id in the items collection.
When can we expect your next check-in? huge code changes?
dvd to dvd copy free software:: It is important for the rest of us that we understand who is covering which tasks. The suggestion is that unless you want to expand the scope of the http://projects.olin.edu/fnd2610spring04/admin.procedures.public.txtHOME |
Thanks
Marco
In my next check-in, I have added the itemId config that toolbar has for Containers as well. This will set the id in the items collection.
Adding whatever you want as the items collection id is pretty easy, even for a single Container by overriding the function getComponentId which is used to get the id for sub components:
new Ext.Panel({
getComponentId: function(c){
return c.myId c.id;
}
});
This can be done globally as well. The new version looks like this:
getComponentId : function(comp){
return comp.itemId comp.id;
}
Real soon. It should be close to the alpha1 tag. I am going through my monster list. ;)
Great!
I Am a Sinner – What About You?
Global Sourcing and Supplier Online by Dylan
|