PHP Classes

File: templates/html/default/Test/testmodule.tpl

Recommend this page to a friend!
  Classes of Michael Collado   Phritz MVC framework   templates/html/default/Test/testmodule.tpl   Download  
File: templates/html/default/Test/testmodule.tpl
Role: Auxiliary data
Content type: text/plain
Description: template file for example module
Class: Phritz MVC framework
Browser device independent MVC framework
Author: By
Last change:
Date: 18 years ago
Size: 2,955 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "&#160;"> <!ENTITY copy "&#169;"> <!ENTITY reg "&#174;"> <!ENTITY trade "&#8482;"> <!ENTITY mdash "&#8212;"> <!ENTITY ldquo "&#8220;"> <!ENTITY rdquo "&#8221;"> <!ENTITY pound "&#163;"> <!ENTITY yen "&#165;"> <!ENTITY euro "&#8364;"> ]> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" encoding="iso-8859-1" omit-xml-declaration="yes"/> <xsl:template match="/"> <div style="padding: 0 10px 0 10px;"> <form method="post" action=""> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>Enter your firstname into the text box below. Then select the output method you would like to see returned</td> </tr> <tr> <td>What is your first name? <input type="text" name="firstname" id="firstname" /> <input type="hidden" name="action" id="modulename" value="{concat($PHRITZ_URL,'/Test/TestModule/TestResponse')}"/></td> </tr> <tr> <td><select name="output" onChange="loadModule();" id="outputmethod"> <option value="ajax" selected="selected">AJAX</option> <option value="soap">SOAP</option> <option value="rpc">RPC</option> <option value="wap">WAP</option> </select></td> </tr> <tr> <td><input type="button" value="Get Content" onClick="loadModule();"/></td> </tr> <tr> <td id="response_mesasge">&nbsp;</td> </tr> </table> </form> <p>The following table cells display the server response after receiving a request in a number of different formats. Each of the XML protocols that are received can be processed by the requesting client. For example, a javascript client requesting Ajax upon receiving the XML response would check for a fault element to determine if an error or exception was caught. If not, the RESPONSE element contains all of the data returned by the server.</p> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="50%" valign="top"><table border="1" cellpadding="0" cellspacing="0" width="100%" style="height: 100%;"> <tr> <th>Request</th> </tr> <tr> <td style="height: 100%;"><div id="request_cell" style="height: 300px; overflow: auto;"></div></td> </tr> </table></td> <td width="50%" valign="top"><table border="1" cellpadding="0" cellspacing="0" width="100%" style="height: 100%;"> <tr> <th>Response</th> </tr> <tr> <td style="height: 100%;"><div id="response_cell" style="height: 300px; overflow: auto;"></div></td> </tr></table></td> </tr> <tr> <td colspan="2"><table border="1" cellpadding="0" cellspacing="0" width="100%"> <tr> <th>WSDL</th> </tr> <tr> <td><div id="wsdl" style="height: 200px; overflow: auto;"></div></td> </tr> </table></td> </tr> </table> </div> </xsl:template> </xsl:stylesheet>