2 Replies Latest reply on Dec 8, 2010 7:41 AM by Rajib Sharma

    PDF generation and conditions

    Nicola Di Clemente Newbie


      I have the following code that doesn't work (look at the c:if...)

      <p:document xmlns:ui="http://java.sun.com/jsf/facelets"
           xmlns:p="http://jboss.com/products/seam/pdf" disposition="attachment">
         <c:if test="#{myObject.myValue == 1}">
             <!-- generate pdf content -->

      Instead the condition

         <c:if test="#{1 == 1}">
             <!-- generate pdf content -->

      works fine!

      Any ideas?

      Thanks, Nico.