title: <f:validateRegex> Parent not an instance of EditableValueHolder: javax.faces.component.html.HtmlPanelGrid
body: <p>index.xhtml</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='UTF-8' ?&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"
  xmlns:h="http://xmlns.jcp.org/jsf/html"
  xmlns:f="http://xmlns.jcp.org/jsf/core"&gt;
  &lt;h:head&gt;
   &lt;title&gt;Facelet Title&lt;/title&gt;
  &lt;/h:head&gt;
  &lt;h:body&gt;
      &lt;h:form id="adres_defteri"&gt;
          &lt;h:panelGrid columns="3"&gt;
              &lt;h:outputText value="E-posta Adresiniz:"/&gt;
              &lt;h:inputText id="isim" value="#{degiskenBean.eposta}" required="true" validatorMessage="Geçersiz E-posta"  requiredMessage="E-Posta Alanı Zorunludur" /&gt;
                          &lt;f:validateRegex pattern="^([_a-zA-Z0-9-]+(\\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\\.[a-zA-Z0-9-]+)*(\\.[a-zA-Z]{1,6}))?$"/&gt;
              &lt;h:message for="eposta" /&gt;
          &lt;/h:panelGrid&gt;
          &lt;h:commandButton value="GÖNDER" action="sonuc.xhtml" /&gt;
      &lt;/h:form&gt;
  &lt;/h:body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Error</p>
  
  <blockquote>
    <p>/index.xhtml @xxxxx  Parent not an instance of EditableValueHolder: javax.faces.component.html.HtmlPanelGrid@5790b5bb</p>
  </blockquote>
  
  <p>I already checked similar question, but they didn't help. </p>
  
  <p>IDE: NetBeans </p>
  
  <p>Server: GlassFish</p>