As I already mentioned in a former post I am not quite happy with the way Seam 
generates the extension for the generated pdf-file.

Is it possible that Seam would redirect to a "simple" pdf-file? The name of the 
pdf-file could be defined in the link from the content-page. 

For example:

mypage.xhtml
...
  | <s:link value="/pdf.jsf" pdfName="myPdf" />
  | 
  | or even better
  | 
  | <s:pdf value="/pdf.jsf" pdfName="myPdf" />
  | 
  | or maybe
  | 
  | <p:link value="/pdf.jsf" pdfName="myPdf" />
  | 

pdf.xhtml

  | <p:document xmlns:p="http://jboss.com/products/seam/pdf";
  |             title="Hello">
  |    <p:paragraph>Hello #{user.name}!</p:paragraph>
  | </p:document>
  | 

and the generated file would be: /myPdf.pdf

What's your opinion about that - or would it cause problems with accessing seam 
components?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004056
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to