Hi,

I have a attribute that I just need to get passed through to the corresponding 
html element.  For example:

<h:form id="registrationForm"
        anAdditionalAttribute="I need to get through to the form element">
</h:form>


In the rendered output I would like:

<form ...
        anAdditionalAttribute="I need to get through to the form element">
</form>


I think the process for doing this (Excluding component registration, etc.) is first to subclass the form component and add the "anAdditionalAttribute" to the subclass. Then subclass the corresponding renderer and render this attribute.
Does anyone know if there's a quicker/magic way to get the job done?

Thanks,
- Ole


Reply via email to