-
FEATURED COMPONENTS
First time here? Check out the FAQ!
this is my code in html file and works ok.
applet.html
<html> <head> <title>Applet PrimoApplet</title> </head> <body> <applet code="StampaSeriale.class" codebase="applet" archive="StampaSerialeS.jar" id="wd" width="500px" style="border: 1px" > <param name="MESSAGGIO" value='\"SCARPE NIKE DA WEB\"1.000*500H1R\r\n1T\r\n'></param> <param name="PORTA" value="COM1"></param> </applet> </body> </html>
this is my code in a zul file
indexc.zul
<?page title="new page title" contentType="text/html;charset=UTF-8"?> <zk> <window title="new page title" border="normal"> <applet code="StampaSeriale" codebase="applet" archive="StampaSerialeS.jar" id="sr" width="800px" style="border: 1px" /> <zscript><![CDATA[ Map params = sr.getParams(); params.put("MESSAGGIO", "\"SCARPE NIKE DA WEB CON ZUL\"1.000*500H1R" + '\r' + '\n' + "1T" + '\r' + '\n'); params.put("PORTA", "COM1"); sr.setParams(params); ]]></zscript> </window> </zk>
but the parameters dont work in a zul file.
(security error)
any idea?
thank you
Asked: 2010-04-29 11:58:56 +0800
Seen: 518 times
Last updated: Apr 29 '10