3 Replies Latest reply on Feb 2, 2008 3:31 AM by terryb

    anyway to generate Seam PDF table in parent/childern format?

    terryb

      Is there a way to use seam pdf template and print data in parent/childern records in pdf table?

      I couldn't see how ui:repeat could be used to generate parent/child record listing.. anyone knows of any other way of example?

      also Seam p:tags... don't have rendered attribute, is there anyother way to conditionally render pdf tags, eg p:cell tag?

        • 1. Re: anyway to generate Seam PDF table in parent/childern for
          gvmanjunatha

           

          "terryb" wrote:
          Is there a way to use seam pdf template and print data in parent/childern records in pdf table?

          I couldn't see how ui:repeat could be used to generate parent/child record listing.. anyone knows of any other way of example?

          also Seam p:tags... don't have rendered attribute, is there anyother way to conditionally render pdf tags, eg p:cell tag?


          I am also searching for the first option to see how can be designed as it would reduce the number of pages we use.

          For the second question, one option is to use s:fragment which has a rendered tag. I tried with c:if but it is very inconsistent and hence I am using s:fragment

          • 2. Re: anyway to generate Seam PDF table in parent/childern for

            I don't understand what you want from the tables. Maybe you could show an example?

            All iText components should now support rendered="false". Is it not working for you?

            • 3. Re: anyway to generate Seam PDF table in parent/childern for
              terryb

              Norman I was trying to achieve several levels deep record listing in parent child hirarchy. eg:

              university1
              ---campus1
              -----course1
              --------applicant1
              --------applicant2
              -----course2
              --------applicant1
              ---campus2
              ...
              ...
              university2
              ...

              I wasn't aware if rendered attributes existed for any of the Seam's iText tags since I didn't see any reference to it in Seam (2.0.1CR2) doc or in JBDev.

              I eventually figered out facelet fragment tag supports rendered attribute; which I used to achieve the behavious I was after.

              Thanks, its good knowing Seam's iText tag support rendered attribute.