0 Replies Latest reply on Jan 17, 2009 4:02 AM by Veli AKÇAKAYA

    <rich:tab render parameter

    Veli AKÇAKAYA Newbie

      Hi,
      i use <rich:tab and i have set it's rendered parameter with a bean method.
      Here is my richfaces code;

      ...
      <rich:tab label="Main Page" rendered="#{webContent.pageRender}">
      <h:inputText id="parents_id" value="#{webContent.parent_id}" />
      </rich:tab>
      ...

      and here is my bean method;
      ...
      public boolean pageRender;
      public boolean isPageRender(){

      if(this.type.equals("page"))
      this.pageRender = true;
      else
      this.pageRender = false;
      return this.pageRender;
      }
      ...

      the tab shosw but when i submit form, occured an error, it says;

      javax.servlet.ServletException: javax.faces.FacesException: org.apache.jasper.el.JspELException: /cp/inc/web_page.jsp(69,4) '#{webContent.pageRender}' Error reading 'pageRender'

      What was wrong?

      Thanks,
      Have a nice day.

      veli akcakaya
      http://www.bt-tr.net