I am developing a web application with JSF and Facelets and want to integrate an applet into my jsf-page.
In good old JSP there existed the jsp:plugin tag, which generated html-code for various browsers, so I didn't have to bother with object or embed tags or clsids:
Does anybody know whether there exists a similar way to integrate an applet with JSF/Facelets?
You should be able to embed this inside your Facelets page components with no problem. Although I'd recommend wrapping it with an <f:verbatim> tag just to be on the safe side.
Customer surveys are for companies who didn't pay proper attention to begin with.
Frank Eichfelder
Ranch Hand
Joined: Aug 25, 2003
Posts: 33
posted
0
Thanks for your suggestion, but it doesn't work, neither with <f:verbatim> tag nor without.
The generated html-page contains in both cases the uninterpreted jsp:plugin tag
(NB: I didn't forget to add xmlns:jsp="http://java.sun.com/JSP/Page" to the <html> tag)
Although I would prefer an easier solution, this approach is working at least...
Bauke Scholtz
Ranch Hand
Joined: Oct 08, 2006
Posts: 2458
posted
0
Frank Eichfelder wrote:Thanks for your suggestion, but it doesn't work, neither with <f:verbatim> tag nor without.
The generated html-page contains in both cases the uninterpreted jsp:plugin tag
(NB: I didn't forget to add xmlns:jsp="http://java.sun.com/JSP/Page" to the <html> tag)
Although I would prefer an easier solution, this approach is working at least...
He meant that you can embed it just the plain vanilla HTML way.
You know, JSP is a view technology and Facelets is another view technology. You can´t exchange the implicit taglibs <jsp:xxx> and <ui:xxx> between them.