JSF - Abrir Poup-up depois do metodo

0 respostas
DiegoMau

Galera seguinte eu tenho uma jsp que tem um comando link que abre um poup só que essa poup abre com informações que são passadas da pagina anterior preciso que antes que ele abra o poup up ele execute um metodo. a jsp é essa:

<rich:dataTable value="#{lst_GruposMB.grupos}" var="grupo">

				<rich:column>


					<f:facet name="header">
						<html:td width="1">
							<div align="center"><img src="img/bot_grupo03.gif"
								width="80" height="35"></div>
						</html:td>

					</f:facet>


					<td>
					<table width="100%" border="1" cellpadding="1" cellspacing="2">

						<tr>
							<td height="35" class="fundo02">
							
							<a4j:commandLink oncomplete="MM_openBrWindow('lst_areas.faces','areas','status=yes,scrollbars=yes,resizable=yes,width=700,height=400')" >
							<h:graphicImage value="img/icon02.gif" />																													
							<f:setPropertyActionListener value="#{grupo}" target="#{lst_GrupoMB.grupo}"/>
							</a4j:commandLink>
							
					
							</td>
						</tr>
					</table>
					</td>
				</rich:column>
Criado 20 de novembro de 2009
Respostas 0
Participantes 1