[Users] How to prevent a node from having radiobutton?

Robert Buckley robertdbuckley at yahoo.com
Wed Apr 4 14:17:21 CEST 2012



I have a subdirectory in a tree that should contain one raster layer which SHOULD NOT be queryable, and one vector layer which SHOULD be queryable.

I can only define the container to either have a radiobutton or not, but how can I have one with and one without??


Here is how I define the tree branch

{
nodeType: "gx_overlaylayercontainer",
id: "gx_ovContainer_fnp_bsk",
text: "FNP Stadt Braunschweig",
expanded: false,
loader: {
filter: function(record){
// return record.get("layer").name.indexOf("Luftbilder") !== -1
return record.get("layer").options.themeId == "fnp_bs";
},
            baseAttrs: {
                radioGroup: "infoLayers",
                uiProvider: "layernodeui"
           }
}
}


Thanks for any tips,

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20120404/d3cd4c99/attachment.htm 


More information about the Users mailing list