I bought Siberia Layout/Theme and started a new project with this cool theme. But for validation like (required, f:validateRegex and so on), the textfield (p:inputText) did not get the ui-error-state class and so, get not the red border to indicate an error on this field. Error message is displayed correctly.
If I provide the inline-style onto the xhtml-page:
Code: Select all
<scrip>
input:invalid {
border: 1px solid red;
}
</script>
Code: Select all
<p:inputText id="email" type="email" placeholder="eMail-Adresse" value="..." required="true" pt:pattern=".{0}|.{6,64}" pt:required="required" />
But I thought, that this will be already handled automatically by Primefaces? Because the class "ui-state-error" does exists and has the right color-definition, which belongs to the selected theme, but it is not applied to the p:inputText.
Can someone give a hint, why this happened?
Thank you very much in advance,
Ulrich