开发者

Retrieve rendered output within same page

开发者 https://www.devze.com 2023-01-16 21:07 出处:网络
I have a page that is rendered correctly. On this page I have a button and I wish to save a selection of the page as html when the user click on开发者_运维问答 the button.

I have a page that is rendered correctly. On this page I have a button and I wish to save a selection of the page as html when the user click on开发者_运维问答 the button.

I saw in MyFaces and Tomahawk that they added the tag Buffer that allows you to render into a buffer, does anyone know of anything similar for standard JSF?


No, nothing like that is available in the standard JSF implementation, not in Mojarra nor MyFaces. You can however just install and use Tomahawk on Mojarra. It's a common misconception that it would work on MyFaces only.

0

精彩评论

暂无评论...
验证码 换一张
取 消