method: 'POST',
			form: form,

			success: function(response,option){
				mask.hide();
				//Ext.getCmp("j1").collapse();

				document.getElementById("result").innerHTML = response.responseText;
			},
			failure: function(){}
		});
	}
	</script>
<?
print_r(ExceptionHandler::PopAllExceptions());
ExceptionHandler::showExceptionPanel('result'); ?>
</head>
<body dir="rtl">
	<form method="post" id="mainForm">
		<center>
		<br>
		<div id="issuePayment_DIV" style="width: 750px">
			<table id="issuePayment_TBL" style="width: 100%">
				<tr>
					<td width="20%">واحد محل خدمت :</td>
					<td width="30%"><?php 
echo $drp_units;
?>
</td>
					<td width="20%">جستجو در زیر واحد ها :</td>
					<td width="30%"><input type="checkbox" name="sub_units"></td>
Exemple #2
0
		
		new Ext.Panel({
			id: "j1",
			applyTo: "newWrit_DIV",
			contentEl : "newWrit_TBL",
			title: "صدور حکم",
			autoHeight: true,
			width: "600px",
			style: "padding-right:10px"
		})	
	});
	</script>
</head>
<body dir="rtl">
<?php 
echo ExceptionHandler::showExceptionPanel("newWrit_DIV");
?>
	<form method="post" action="../data/writ.data.php?task=IssueWrit">
		<center>
		<br>
		<div id="newWrit_DIV" style="width: 600px">
			<table id="newWrit_TBL" style="width: 100%">
				<tr>
					<td>انتخاب فرد :</td>
					<td>
						<input type="text" id="PID">
						<input type="hidden" name="person_type" id="person_type">
					</td>
				</tr>
				<tr>
					<td>نوع حکم :</td>