passaggioStatoJavascript.jsp 4.48 KB
Newer Older
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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
<%@ include file="/project/include.jsp" %>

<script type="text/javascript" src="${j:getResourceUrlOfModule('commons', 'js/passaggioStato.js')}"></script>

<script type="text/javascript">
<c:if test="${empty _slave}">
	function eformat_cpmt_showPassaggioStato(element, value) {
		impl_eformat_cpmt_showPassaggioStato(element, value, '');
	}
	
	function eformat_cpmt_showPassaggioStato_0(element, value) {
		impl_eformat_cpmt_showPassaggioStato(element, value, '_0');
	}
	
	function eformat_cpmt_showPassaggioStato_1(element, value) {
		impl_eformat_cpmt_showPassaggioStato(element, value, '_1');
	}
	
	function eformat_cpmt_showPassaggioStato_2(element, value) {
		impl_eformat_cpmt_showPassaggioStato(element, value, '_2');
	}
	
	function eformat_cpmt_showPassaggioStato_3(element, value) {
		impl_eformat_cpmt_showPassaggioStato(element, value, '_3');
	}
	
	function eformat_cpmt_showPassaggioStato_4(element, value) {
		impl_eformat_cpmt_showPassaggioStato(element, value, '_4');
	}
	
	function eformat_cpmt_showPassaggioStato_5(element, value) {
		impl_eformat_cpmt_showPassaggioStato(element, value, '_5');
	}
	
	function sh_tb__passaggioStatoButtonenabled(tableId, row) {
		return impl_sh_tb__passaggioStatoButtonenabled(tableId, row);
	}
	
	function sh_tb__passaggioStatoButton_0enabled(tableId, row) {
		return impl_sh_tb__passaggioStatoButtonenabled(tableId, row);
	}

	function sh_tb__passaggioStatoButton_1enabled(tableId, row) {
		return impl_sh_tb__passaggioStatoButtonenabled(tableId, row);
	}

	function sh_tb__passaggioStatoButton_2enabled(tableId, row) {
		return impl_sh_tb__passaggioStatoButtonenabled(tableId, row);
	}

	function sh_tb__passaggioStatoButton_3enabled(tableId, row) {
		return impl_sh_tb__passaggioStatoButtonenabled(tableId, row);
	}

	function sh_tb__passaggioStatoButton_4enabled(tableId, row) {
		return impl_sh_tb__passaggioStatoButtonenabled(tableId, row);
	}

	function sh_tb__passaggioStatoButton_5enabled(tableId, row) {
		return impl_sh_tb__passaggioStatoButtonenabled(tableId, row);
	}

	function passaggioStato() {
		var idEntita = cpGetMasterColumnValueOfCurrentRow('idEntitaPassaggioStato');
		showPassaggioStatoDialog(idEntita, '${_type}');
	}
</c:if>

<c:if test="${!empty _slave}">
	function eformat_cpst_${_slave}_showPassaggioStato(element, value, index) {
		impl_eformat_cpst_showPassaggioStato(element, value, '${_slave}', '');
	}
	
	function eformat_cpst_${_slave}_showPassaggioStato_0(element, value) {
		impl_eformat_cpst_showPassaggioStato(element, value, '${_slave}', '_0');
	}
	
	function eformat_cpst_${_slave}_showPassaggioStato_1(element, value) {
		impl_eformat_cpst_showPassaggioStato(element, value, '${_slave}', '_1');
	}
	
	function eformat_cpst_${_slave}_showPassaggioStato_2(element, value) {
		impl_eformat_cpst_showPassaggioStato(element, value, '${_slave}', '_2');
	}
	
	function eformat_cpst_${_slave}_showPassaggioStato_3(element, value) {
		impl_eformat_cpst_showPassaggioStato(element, value, '${_slave}', '_3');
	}
	
	function eformat_cpst_${_slave}_showPassaggioStato_4(element, value) {
		impl_eformat_cpst_showPassaggioStato(element, value, '${_slave}', '_4');
	}
	
	function eformat_cpst_${_slave}_showPassaggioStato_5(element, value) {
		impl_eformat_cpst_showPassaggioStato(element, value, '${_slave}', '_5');
	}
	
	function sh_stb__${_slave}__passaggioStatoButtonenabled(tableId, row) {
		return impl_sh_stb__passaggioStatoButtonenabled(tableId, row, '${_slave}');
	}
	
	function sh_stb__${_slave}__passaggioStatoButton_0enabled(tableId, row) {
		return impl_sh_stb__passaggioStatoButtonenabled(tableId, row, '${_slave}');
	}

	function sh_stb__${_slave}__passaggioStatoButton_1enabled(tableId, row) {
		return impl_sh_stb__passaggioStatoButtonenabled(tableId, row, '${_slave}');
	}

	function sh_stb__${_slave}__passaggioStatoButton_2enabled(tableId, row) {
		return impl_sh_stb__passaggioStatoButtonenabled(tableId, row, '${_slave}');
	}

	function sh_stb__${_slave}__passaggioStatoButton_3enabled(tableId, row) {
		return impl_sh_stb__passaggioStatoButtonenabled(tableId, row, '${_slave}');
	}

	function sh_stb__${_slave}__passaggioStatoButton_4enabled(tableId, row) {
		return impl_sh_stb__passaggioStatoButtonenabled(tableId, row, '${_slave}');
	}

	function sh_stb__${_slave}__passaggioStatoButton_5enabled(tableId, row) {
		return impl_sh_stb__passaggioStatoButtonenabled(tableId, row, '${_slave}');
	}
	
	function passaggioStato() {
		var idEntita = cpGetSlaveColumnValueOfCurrentRow('${_slave}', 'idEntitaPassaggioStato');
		showPassaggioStatoDialog(idEntita, '${_type}');
	}
</c:if>
</script>