且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将iframe添加到JSF组件

更新时间:2023-02-20 19:25:01

只需使用纯HTML.

<iframe src="#{bean.iframeUrl}"></iframe>

不存在组件的最可能原因是因为将其包装在JSF组件中时没有额外的优势.例如<p><br><hr>等也没有等效的JSF.

The most probable reason why a component doesn't exist is because there would be no extra advantages to offer when wrapping it in a JSF component. For example <p>, <br>, <hr>, etc have also no JSF equivalent.