0 Replies Latest reply on Nov 2, 2007 9:23 AM by Claudiney Calixto da Silva

    a4j:include - How to avoid FileNotFoundExceptions when a fil

    Claudiney Calixto da Silva Newbie

      Hi,

      I am using the a4j:include component to include dynamic .xhtml files.

      Sample code:

      <a4j:include viewId="#{siteBean.includePagePath}" />


      My question is: There are a way to include only when the file exists?
      In other words, I would like to avoid FileNotFoundExceptions when a file does not exists.

      I have tried to use the rendered attribute without success!

      Thanks in advance!!!

      Claudiney