Ellipse Tutorial

How to create a Ellipse page without data link and without events managers?

AccueilNotre catalogue de formationsNos partenairesDemande de devisEllipse FrameworkJWT (Javascript Widget Toolkit)License d'exploitation de nos logicielsVos développements sur mesuresTutorial sur le langage CSSTutorial sur le langage XMLTutorial sur le langage JavaTutorial sur le langage Visual Basic 6.0Historique de la sociétéNous contacterA propos de ce site
 

WARNING: This tutorial is being written! Do not hesitate to report any errors or suggestions.

In a classic way, a Web page is linked to a class of a Web page. This class will normally have the code of the events managers of the Web components contained in the page. It also have the needed code from the data link. However, in some cases, relatively simple, you want to define a very simple web page (without data link and without events managers) but nevertheless by taking advantage of the power of the Ellipse Web components (menu bars, components of the forms validation, ...).

If you are in this case, be aware that the framework allows you to define a WEB page without requiring the implementation of a page class. To do this, create a Web page file and edit it as the example below. The only difference with what we have done previously, is the value of the XML attribute codeBehind: instead of referencing one of your Web pages classes, it contains the following value: corelib.services.web.webapplications.WebPage (note that this is the basis class of any class of the Ellipse Web pages).

 
01 <?xml version="1.0" encoding="ISO-8859-1" ?>
02 <web:Html xmlns:web="corelib.services.web.components"
03           codeBehind="corelib.services.web.webapplications.WebPage">
04 	<head>
05 		<title>The title</title>
06 	</head>
07   <body>
08   
09     <!-- TODO -->
10   
11   </body>
12 
13 </web:Html>