I'm trying to modify a template page in OMERO.web, especially \omeroweb\webclient\templates\webclient\data\containers_icon.html.
I added a custom button to execute my own app. After you select an image from the template page, then you can execute my own app for the selected image by clicking the custom button.
But before executing a custom app, I'd like to popup a dialog window to select channel, z-depth, and timepoint of the selected image.
I could get the image ID of the selected image by
- Code: Select all
var productArray = $("input[type='checkbox']:checked");
if (productArray.length > 0 ) {
productArray.each(function() {
if(this.checked) {
productListQuery += this.id + ",";
}
});
}
But is it possible to get the number of channel of the selected image (and the name of each channel if possible), the number of z, and the number of timepoint from this template page?
Best,
BK