Add support for rendered
attribute to the tag file and re-apply it on tag file's contents.
<bean:input label="input1:" bean="#{bean1}" property="name" rendered="..." />
I kind of hesitate to wrap my tag implementation in a big
<c:if test="#{rendered}">
It's maybe ugly, but yes that's a way.