I have overlaid the create folder dialog to, under a certain path, create a new property for the folder, and have that property's value automatically generated when the folder is created. This was done with a taglib that is called only called under a certain condition (using a granite rendercondition so that this only happens under that path), and it generates a random number that is assigned to that property of the created folder.
This method has worked for the most part, but I have noticed that, if I create two folders in the same location, the taglib is only triggered the first time. If I refresh the page between creating the folders, there is no problem. If I create a folder and then a subfolder, there is no problem. But if I create two folders in the same location, only the first gets that randomly generated number in that property. Does anyone have an idea on what might be the reason for this? Thanks!
granite rendercondition works on page load, if the page is already loaded and you navigate within older then there will not be any effect.
Thank you! I was looking for alternatives, such as the one you suggested here:
Do you think this approach would be preferable or would there be a way to leverage the taglib that we are using, ensuring it is triggered every time we open the create folder dialog (even without refreshing the page)?