If the datatable is nested enough, it might be placed somewhere else
than in the upper left corner of the export
pdf. Perhaps one solution would be to iterate up to the root and
"adopt" the css into the component and then nuke
the entire body and place the component directly and alone in the body?
I'm a bit late to the conversation here, but I'm thinking that the
partial page rendering that you are looking to accomplish cannot be
that different from what Ajax4jsf does. I've never browsed that part
of the Ajax4jsf code, but surely you could get some ideas by doing so.
Software consultant | Author of Seam in Action
NOTE: While I make a strong effort to keep up with my email on a daily
basis, life and work come first and, at times, keep me away from my mail
for a while. If you contact me, then don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters. Please don't hesitate to resend a message if
you feel that it did not reach my attention.