简体   繁体   中英

All embeded components in Tapestry

I'm using Tapestry 5.3.8. I wanted to find a method that will tell me if there is some specific element in given container or not. I have found something like this:

containerResources.getEmbeddedComponent(elementId)

But problem with this method is that when there is not, it throws exception. I could not see any other method regarding this.

Question: is there any other method to check if some element is inside given container OR is there any method that eq list all avaible componenets in given container?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM