Hi,
It is possible to get attributes, a specially
requiredattribute, from richfaces components with JavaScript ? I need to check them in javascript
forloop.
Hello,
Sure, you have to render it as Javascript variables:
<script type="text/javascript">var isRequired = #{bean.component.attributes['required']};</script>
<h:inputText binding="#{component.bean}" />