I'd like to post the complete code that works for me...
On the MasterPage.jsp:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<s:url id="customTheme" value="/template/themes" ></s:url>
<sj:head jqueryui="true" jquerytheme="warrtheme" customBasepath="%{customTheme}" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript">
$.subscribe('onBeforeLoading', function(event,data) {
$("#indicator").dialog('open');
});
$.subscribe('onCompleteLoading', function(event,data) {
$("#indicator").dialog('close');
});
</script>
</head>
<body>
<sj:dialog id="indicator"
title="Warning"
autoOpen="false"
modal="true"
resizable="false">
<table>
<tr>
<td> </td>
<td><img src="<s:url value="/images/indicator.gif" />" /></td>
<td>Loading, please wait...</td>
</tr>
</table>
</sj:dialog>
</body>
</html>
And on the User.jsp:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<div class="content">
<s:url var="openViewUser" namespace="/administration" action="administration_utilisateur_open" />
<sj:a href="%{openViewUser}" id="divUserLink" targets="divUser" onBeforeTopics="onBeforeLoading" onCompleteTopics="onCompleteLoading" >Click me</sj:a>
<br/>
<br/>
<div id="divUser"></div>
</div>