Calling Applet from JSF Page
Define a property in you presentation bean (ie the bean used on the jsf page) ex applet
public String getApplet() { applet = applet codebase="." height="400" archive="SSignedPrinterApplet.jar" width="400" code="PrinterApplet.class" name="PrinterApplet">"+ /applet"; return applet; }
Now after we define we need to refer in the jsf page like below
escape="false" parameter makes the html reder and embed the applet into the jsf page or else it will display plain text like applet code=PrinterApplet.class .... etc.
3 comments:
Hey Suren,
I can't follow your explainations.
First of all, that method declaration: that is no java, is it?
What else but 'escape=false' would I have to put in the xhtml-file for jsf?
Thanks in advance
Toby
First of all, that method declaration: that is no java, is it?
It is java when i published it , the special chars like <,/ were lost
What else but 'escape=false' would I have to put in the xhtml-file for jsf?
send me ur email i will email u the code.
Hello Sir,
I would like to get this code.
Please mail at erpriyankasharma.07@gmail.com
Will be a great help.
Thanks in advance.
Pri
Post a Comment