[Resolvido] Object em JSF

0 respostas
E

Olá.

Estou tentando passar um parametro através de :

<object
                                    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
                                    codebase="http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#Version=5,0,0,5"
                                    width="130" height="25" name="SmartCardSignerApplet">
                                    <param name="code" value="br.com.f2pro.smartcard.SmartCardSignerApplet"/>
                                    <param name="archive" value="SmartCardApplet.jar"/>
                                    <param name="mayscript" value="true"/>
                                    <param name="type" value="application/x-java-applet;version=1.5"/>
                                    <param name="scriptable" value="false"/>
                                    <param name="signButtonCaption" value="Assinar arquivo"/>
                                    <param name="nomeForm" value="dadosPedidos"/>

                                    <comment>
                                        <embed
                                            type="application/x-java-applet;version=1.5"
                                            code="br.com.empresa.smartcard.SmartCardSignerApplet" 
                                            archive="SmartCardApplet.jar"
                                            width="130" height="25" scriptable="true"
                                            pluginspage="http://java.sun.com/products/plugin/index.html#download"
                                            certificationChainField="certificationChain"
                                            signatureField="signature"
                                            signButtonCaption="Assinar arquivo">
                                        </embed>
                                        <noembed>
                                            Smart card signing applet can not be started because
                                            Java Plugin 1.5 or newer is not installed.
                                        </noembed>
                                    </comment>
                                </object>
No meu applet esse funciona. Acredito que é porque está declarado no embed
String botao = this.getParameter("signButtonCaption");
Esse não funciona. Chega nulo em vez de "dadosPedidos".
String nomeForm = this.getParameter("nomeForm");

Como posso tratar isso ?

Obrigado

=================================

Em vez de usei e adaptei para ele.

Criado 23 de agosto de 2012
Respostas 0
Participantes 1