Ok, UIDocument now has a sendRedirect flag.  If this is set (either in the 
template or by the parent component reaching down) we will bypass the the 
generation and just keep the value locally.

We needed some way to transfer the data.  I noticed UIAttachment us using 
get/setValue.  Assuming that it implemented ValueHolder, I thought I might 
reach up and set the values directly if I could.  Unfortunately, I just 
realized you don't actually implement ValueHolder.  I'm not sure this is proper 
use of ValueHolder anyway, so if you have a better idea, I'm all ears.

Also, note that you'll need to do your processing in encodeEnd() and not in 
encodeBegin().  The PDF won't available until UIDocument completes it's 
encodeEnd.





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

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

Reply via email to