Inheriting component attributes in a composite component which extends an existing JSF component

安稳与你 提交于 2019-12-01 19:51:09

Unfortunately no, there is no neat way to automagically inherit them this way. You'd really have to redefine them all. For a real custom component, you'd also have to do the same for the .taglib.xml file by the way, so this is not only a problem in composite components, but also in real custom components. Tag attributes do not support any form of inheritance.

Consider only redefining those which you absolutely need right now and add new ones on demand only.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!