Create a "Hello world" application
From WebRatio WebML Wiki
Create a "Hello world" web application
This article shows you how to create a simple HelloWorld web application. So we will demonstrate how it's quick to deploy a web application using WebRatio.
If you're not already in the WebRatio perspective, select Window > Open Perspective > WebRatio from the main menu
1. Let's create a new Web Project. In the main menu, click on the File > New > Web Project item. Enter "HelloWorld" (avoiding spaces) as project name, then click Finish.
2. Create a new site view. In the main area, called work area, right-click and choose the Add Site View command. Enter Hello World as site view name, then click Finish.
3. Select the Page icon from the left side palette and then click in the site view work area where you want to place the page.
4. Edit the Page properties in the Properties View. Enter "Hello World!" as page name and check the Home property to mark the new page as the home page of your site view.
5. Now let's add a content to the page. We will add a Multi Message Unit to print out a message.
Select the Multi Message Unit from the palette and then click in the page.
|
|
6. Edit the unit properties in the Properties View. Enter "Hello World!" as unit name. Click on the Edit button beside the Default message property to set the default message that will be shown. In the opened dialog, write "Hello World!" as value and then click OK
|
7. Click the Generate Full Project button, in the main toolbar.
and start Tomcat; open your browser and type the following url: http://localhost:8080/HelloWorld.









