title: javax.el.PropertyNotFoundException: Property 'printIDs' not found on type but this property is commented
body: <p>I get an exception </p>
  
  <pre><code>javax.el.PropertyNotFoundException: Property 'printIDs' not found on type pl.com.pir.beans.SelectedItemBean
  at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:237)
  at javax.el.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:214)
  at javax.el.BeanELResolver.property(BeanELResolver.java:325)
  at javax.el.BeanELResolver.getValue(BeanELResolver.java:85)
  at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
  at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
  at org.apache.el.parser.AstValue.getValue(AstValue.java:183)
  at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:185)
  at com.sun.faces.facelets.el.ELText$ELTextVariable.toString(ELText.java:217)
  at com.sun.faces.facelets.el.ELText$ELTextComposite.toString(ELText.java:157)
  at com.sun.faces.facelets.compiler.CommentInstruction.write(CommentInstruction.java:77)
  at com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:82)
  at com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:183)
  at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
  at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:845)
  at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779)
  at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782)
  at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782)
  at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:437)
  at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:124)
  at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
  at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
  at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
  at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
  at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1822)
  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  at java.lang.Thread.run(Unknown Source)
  </code></pre>
  
  <p>but in my code this method is commented, I  tried to clear web browser catche and cookies, searching for 'printIDs' string in code, and all occurrence are commented too, I looks in face-config.xml and web.xml, delete webapp in tomcat webapps directory, even restart my PC, nothing helps.</p>
  
  <pre><code>        &lt;!-- MENU GENERATOR --&gt;
      &lt;h:panelGroup layout="block" id="produktMenu"&gt;
              &lt;o:dataTable value="#{productBean.productList}" var="produkt" pageSize="10"
                           style="margin-top: 15px; width: 100%; height: 420px;"&gt;
                           &lt;o:multipleRowSelection rowDatas="#{productBean.list}" style="background: #a4aec5; color: white;" /&gt;
              &lt;o:columnReordering /&gt;
              &lt;f:facet name="columnMenu"&gt;
                  &lt;o:columnMenu /&gt;
              &lt;/f:facet&gt;
  
              &lt;o:column header="Kategoria" width="7%"
                  sortingExpression="#{produkt.kategoria}"
                  bodyStyle="padding-left: 5px; padding-right: 5px;"
                  headerStyle="text-align: left; padding-left: 5px; padding-right: 5px;"&gt;
                  &lt;f:facet name="subHeader"&gt;
                      &lt;o:dropDownFieldFilter maxlength="4" customValueAllowed="false" /&gt;
                  &lt;/f:facet&gt;
                  &lt;h:outputText value="#{produkt.kategoria}" /&gt;
              &lt;/o:column&gt;
  
              &lt;o:selectionColumn style="width: 6%;" sortable="true"
                  header="Selection"&gt;
                  &lt;f:facet name="header"&gt;
                      &lt;o:selectAllCheckbox /&gt;
                  &lt;/f:facet&gt;
              &lt;/o:selectionColumn&gt;
              &lt;f:facet name="below"&gt;
                      &lt;o:dataTablePaginator id="paginator" /&gt;
                  &lt;/f:facet&gt;
                  &lt;o:column id="symbolCol1" sortingExpression="#{produkt.symbol}"&gt;
                      &lt;f:facet name="header"&gt;
                          Symbol
                      &lt;/f:facet&gt;
                      &lt;h:outputText value="#{produkt.symbol}" /&gt;
                  &lt;/o:column&gt;
                  &lt;o:column id="opisCol1" sortingExpression="#{produkt.opis}"&gt;
                      &lt;f:facet name="header"&gt;
                          Opis
                      &lt;/f:facet&gt;
                      &lt;h:outputText value="#{produkt.opis}" /&gt;
                  &lt;/o:column&gt;
                  &lt;o:column id="cenaCol1" sortingExpression="#{produkt.cena}"&gt;
                      &lt;f:facet name="header"&gt;
                          Cena
                      &lt;/f:facet&gt;
                      &lt;h:outputText value="#{produkt.cena}" /&gt;
                  &lt;/o:column&gt;
              &lt;/o:dataTable&gt;
  
      &lt;/h:panelGroup&gt;
      &lt;h:commandButton value="Dodaj" action="#{selectedItemBean.submit}" /&gt;
  
      &lt;o:dataTable value="#{productBean.list}" var="l" id="resultTable"&gt;
          &lt;o:column id="resultSumbolCol" sortingExpression="#{l.symbol}"&gt;
              &lt;f:facet name="header"&gt;
                          Symbol
                      &lt;/f:facet&gt;
  
  
              &lt;h:outputText value="#{l.symbol}" /&gt;
          &lt;/o:column&gt;
          &lt;o:column id="resultOpisCol" sortingExpression="#{l.opis}"&gt;
              &lt;f:facet name="header"&gt;
                          Opis
                      &lt;/f:facet&gt;
              &lt;h:outputText value="#{l.opis}" /&gt;
          &lt;/o:column&gt;
          &lt;o:column id="resultCenaCol" sortingExpression="#{l.cena}"&gt;
              &lt;f:facet name="header"&gt;
                          Cena
                      &lt;/f:facet&gt;
              &lt;h:outputText value="#{l.cena}" /&gt;
          &lt;/o:column&gt;
      &lt;/o:dataTable&gt;
  </code></pre>
  
  <p>SelectedItemBean source:</p>
  
  <pre><code>    public String submit() {
      for (Map.Entry&lt;Integer, Boolean&gt; entry : selectedIDs.entrySet()) {
          if (entry.getValue() == true) {
              System.out.println("id: " + entry.getKey() + ", "
                      + entry.getValue());
              id.add(entry.getKey());
          }
      }
      System.out.println("SelectedItemBean.submit() --&gt; " + id.size());
      return "selected";
  }
  
  public String printIDs() {
      int i = 0;
      if (id.isEmpty())
          return null;
      System.out.println("printIDs &lt;--");
      Iterator&lt;Integer&gt; it = id.iterator();
      while (it.hasNext()) {
          i++;
          System.out.println(it.next());
      }
      System.out.println("suma produktow: " + i + "\nprintIDs --&gt;");
      pb = new ProductBean();
      StringParse sp = new StringParse();
      idList = sp.prepareInStatement(id);
      try {
          list = pb.getProductByID(idList, 2);
          suma = cumputeCosts(list);
      } catch (SQLException e) {
          e.printStackTrace();
      }
      return "TESTprintIDs";
  }
  </code></pre>
  
  <p>why I keep getting this exception?</p>