This content has been marked as final.
Show 4 replies
-
1. Re: Creating Seam iText PDF: Linebreak in p:table cell
brachie Jan 21, 2008 4:09 PM (in response to brachie)Hi,
no idea how to solve this problem?
I know that the problem is very special but I have no idea how to solve it.
Maybe writing an EL-function for converting the date is possible, so I could avoid a linebreak:<p:text value="#{my:convertDateTime(st.startdate)}">
?
Regards,
Alexander -
2. Re: Creating Seam iText PDF: Linebreak in p:table cell
norman.richards Jan 21, 2008 7:51 PM (in response to brachie)Put the text in a p:paragraph.
<p:cell> <p:paragraph> <p:text ... /> - <p:text ... /> </p:paragraph> </p:cell>
-
3. Re: Creating Seam iText PDF: Linebreak in p:table cell
brachie Jan 22, 2008 3:14 AM (in response to brachie)@Norman: Thanks for the reply, you saved my day! :-)
But I realized that something like:<p:cell> <p:paragraph> <p:text ... /> - <p:text ... /> </p:paragraph> <p:text ... /> <p:text ... /> </p:cell>
Will only display the text in the two last <p:text ... /> tags, not the text in the paragraph.
If I remove the 2 last <p:text ... /> the paragraph content is displayed fine... strange?
Regards,
Alexander -
4. Re: Creating Seam iText PDF: Linebreak in p:table cell
norman.richards Jan 22, 2008 3:06 PM (in response to brachie)I would recommend that all your text be wrapped in a paragraph in one way or another. So, if this is all one logical block of text, put the whole thing in a paragraph. Otherwise you get a bunch of iText chunks, which is either confusing iText or the Seam wrapper for it. If you open up a JIRA case, I can take a look.