开发者

How to open a pop-up page and render a JSF Response?

I am using JSF 1.2 without any component libs for a JSF Application. Consider a case where I have a JSF rendered page and on click of a link in that page,a pop-up page should open and show some details which are from the backing bean? What are the options? since the pop up page is just a l开发者_JS百科ook up (read only data) , I am thinking to use javascript + Ajax + Servlet to show the data without using JSF. Are there any other options ? Thanks


Yes, using JSF is also an option. Just use <f:setPropertyActionListener> on the <h:commandLink> that would open the page, and use a managed bean in a standard way, as if it was not a pop-up.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜