Erro: Java class AppletPrincipal has no public field or method named "jQuery1265108318842"
Arquivo-fonte: https://localhost:9443/PROJETO/a4j/g/3_3_2.SR1org/richfaces/renderkit/html/scripts/jquery/jquery.js.projeto
Linha: 440
vamos la!
Dentro do meu applet AppletPrincipal eu verifico algumas pre-condiçoes…
e dependendo destas eu tenho que chamar APPLET A ou APPLET B
e renderiza-lo no lugar do PRINCIPAL
o que estou tentando é uma chamada JS com o JQUERY 1.3.2
"javascript:visualizarAppletA()"
<a4j:jsFunction name="visualizarAppletA"
reRender="modalPanelAppletPagina" >
<a4j:actionparam name="modalPanelAppletPagina"
assignTo="#{tela.modalPanelAppletPagina}"
value="/paginas/appletA.xhtml" />
</a4j:jsFunction>
no IECA :twisted: funciona perfeitamente…
no firefox… ocorre o erro.
pois eis que descobri algum tipo de bug com o JQUERY + Applets + FireFox !
ta blz, fui procurar no gooooooogle…
ecnontrei este link…
http://blog.hboaventura.com/corrigindo-o-bug-do-jquery-e-java-applets/
parecia perfeito para minha solução, -.-
mas, porem, contudo, entretanto…
ele é referente ao JQuery 1.2.3
fuck shit…
a função à qual ele se refere no 1.3.2 é esta
// Prevent memory leaks in IE
// And prevent errors on refresh with events like mouseover in other browsers
// Window isn't included so as not to unbind existing unload events
jQuery( window ).bind( 'unload', function(){
for ( var id in jQuery.cache )
// Skip the window
if ( id != 1 && jQuery.cache[ id ].handle )
jQuery.event.remove( jQuery.cache[ id ].handle.elem );
});
um pouco diferente daquela de antes…
alguem ajuda?