Hi,

i created a taglib for my input fields. but i cannot set the "required" attribute of the clientTextValidator using an expression. as soon as I use an expression, the required attribute does not get rendered at all, not even a "false".

the required attribute of the input field itself is working fine


Code:
<sf:clientTextValidator promptMessage="${prompt}" required="${required}">
    <h:inputText id="#{fieldName}" value="#{entity[fieldName]}" required="${required}" />
</sf:clientTextValidator>
gets alsways rendered as
Code:
[...]widgetAttrs : { promptMessage : 'Enter the batch number'  }[...]
but should be
Code:
[...]widgetAttrs : { required : true/false, promptMessage : 'Enter the batch number'  }[...]

even if I put in required="${true}". the attribute is completely left out.

is this a bug?