This content has been marked as final.
Show 1 reply
-
1. Re: required automatic mark
mmichalek Jan 18, 2008 5:37 PM (in response to jmiguel77)If you are using Facelets you might be able to template in a CSS or content change based on the required attribute.
For example (this would be the body of a facelts composition/component):... <c:set var="styleClass" value="inputTextDefault"/> <c:if test="#{required}"> <c:set var="styleClass" value="#{styleClass} inputTextRequired" /> </c:if> <h:inputText value="#{value}" styleClass="#{styleClass}"> <ui:insert /> </h:inputText> ...