Fala galerinha…
Estou com um problema de sobreposição do Applet quando o modal é renderizado, ou seja, o modal fica atrás do applet.
Alguém já teve algum problema do tipo, alguma dica?
Abaixo o código da page XHTML.
[code]<html xmlns=“http://www.w3.org/1999/xhtml”
xmlns:h=“http://java.sun.com/jsf/html”
xmlns:f=“http://java.sun.com/jsf/core”
xmlns:ui=“http://java.sun.com/jsf/facelets”
xmlns:rich=“http://richfaces.org/rich”
xmlns:a4j=“http://richfaces.org/a4j”>
<rich:modalPanel id="panel" width="350" height="100" rendered="#{pesquisaBean.renderModal}" moveable="false">
<f:facet name="header">
<h:panelGroup>
<h:outputText value="Atenção"></h:outputText>
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<h:panelGroup>
<h:graphicImage value="/images/icons/close.png" styleClass="hidelink" id="hidelink" title="Fechar"/>
<rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/>
</h:panelGroup>
</f:facet>
<br/>
<h:outputText value="#{pesquisaBean.messageModal}"></h:outputText>
<br/><br/>
<h:commandButton id="botaoFecharModal" action="#" value="OK" title="Fechar"/>
<rich:componentControl for="panel" attachTo="botaoFecharModal" operation="hide" event="onclick"/>
</rich:modalPanel>
<rich:componentControl for="panel" attachTo="link" operation="show" event="onclick"/>
<rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/>
<APPLET ID="itwApplet" WIDTH="100%" HEIGHT="425px" ARCHIVE="http://#{request.serverName}:#{request.serverPort}#{request.contextPath}/applet.jar" CODE="br.com.xx.applet.appletapp.class" style="border:1px solid black">
<PARAM name="SAVE_MODE" value="SERVER"/>
<PARAM name="SERVLET_URL" value="http://#{request.serverName}:#{request.serverPort}#{request.contextPath}/appletServlet?numOficio=#{numOficio}&numAutorizacao=#{numAutorizacao}&numProcesso=#{numProcesso}"/>
<PARAM name="mayscript" value="mayscript"/>
<PARAM name="scriptable" value="true"/>
<PARAM name="READ_ONLY" value="#{read_only}" />
</APPLET>
</html>[/code]
Abraço