1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-layout.tld" prefix="layout"%>
<html:html>
<HEAD>
<script>
function showGif()
{
document.getElementById("gif").style.visibility="visible";
}
function Valoriser()
{
var frm=document.forms.item(1);
frm.BUTTON_ACTION.value ='INSERT';
frm.submit();
}
</script>
</HEAD>
<BODY>
<layout:form action="/operationACT" styleClass="FORM" width="100%">
<layout:text key="" mode="N,H,R" property="BUTTON_ACTION" />
<layout:text key="" mode="N,H,R" property="CODOPE" />
<layout:row>
<div id="gif" style="visibility: hidden;">
<img src="ajax-loader.gif" width="100" height="30">
</div>
</layout:row>
<layout:row>
<layout:button onclick="showGif();Valoriser();" style="width: 100px;" property="upd">
Valoriser
</layout:button>
</layout:row>
</layout:form>
</BODY>
</html:html> |