[jboss-user] [JBoss Seam] - Re: Seam PDF documents and conditional content

norman.richards@jboss.com do-not-reply at jboss.com
Mon Dec 17 18:17:41 EST 2007


Here are a few ways that work for me:


  |     <p:paragraph> -------------- </p:paragraph>
  | 
  |     <p:paragraph rendered="false">This is a not rendered paragraph</p:paragraph>
  |     <p:paragraph rendered="true">This is a rendered paragraph</p:paragraph>
  | 
  |     <p:paragraph> -------------- </p:paragraph>
  |     <s:fragment rendered="false">
  |         <p:paragraph>This is a (not rendred) fragment</p:paragraph>
  |     </s:fragment>
  | 
  |     <s:fragment rendered="true">
  |         <p:paragraph>This is a (rendered) fragment</p:paragraph>
  |     </s:fragment>
  | 
  | 
  |     <p:paragraph> -------------- </p:paragraph>
  | 
  |     <ui:fragment rendered="true">
  |         <p:paragraph>ui:fragment rendered</p:paragraph>
  |     </ui:fragment>
  | 
  |     <ui:fragment rendered="false">
  |         <p:paragraph>ui:fragment not rendered</p:paragraph>
  |     </ui:fragment>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113585#4113585

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113585



More information about the jboss-user mailing list