AgileApps Support Wiki Pre Release

Difference between revisions of "Lab B.1: Hello World"

From AgileApps Support Wiki
imported>Aeric
 
imported>Aeric
m (Text replace - 'Designer > Logic >' to 'Designer >')
Line 15: Line 15:


===Create a JSP Page===
===Create a JSP Page===
# Click '''Designer > Logic > Pages > [New Page]'''
# Click '''Designer > Pages > [New Page]'''
#::{{Note|If this is the first development activity to occur, you may see an error message like the following at the top of the screen:  
#::{{Note|If this is the first development activity to occur, you may see an error message like the following at the top of the screen:  
<pre>
<pre>

Revision as of 23:39, 22 June 2012

Goals
  • Set up a development environment
  • Create a JSP page
  • Visit the page in the platform
Prerequisites

Exercise

Set up a development environment

  1. In the navigation pane, click Setup.
  2. If you don't see an entry called Develop, then:

Create a JSP Page

  1. Click Designer > Pages > [New Page]

Notepad.png

Note: If this is the first development activity to occur, you may see an error message like the following at the top of the screen:

    To create a new class, page, or execute Java code in Data Policies,
    namespace needs to be set in Company Information. Click here ...

The link takes you to the Developer Configuration page, where you can specify your organization's namespace--typically, the company name or an abbreviation of it that corresponds to the company URL. (The lab exercises use "demo".)

  1. Enter the page name: HelloWorld.jsp
    Note: It is necessary to add the .jsp extension when specifying the page name.
  2. Add content for the page:
    <h1 align="center">Hello World!</h1>
    
  3. Click [Save]

Visit the page to confirm that it exists

The page you created appears.
Next
Lab B.2: Simple Interaction