Class WebApplication

Object
  |
  +--Application
        |
        +--WebApplication
Direct Known Subclasses:
PBEApplication

public class WebApplication
extends Application


Field Summary
 integer cookieValue
           
static boolean debugOn
           
protected  varchar iCurrentPage
           
protected  generic iReturnFile
           
protected  varchar iReturnType
           
 varchar thisURL
           
static boolean traceOn
           
 integer webID
           
 
Constructor Summary
WebApplication()
           
 
Method Summary
 void debug(generic string)
           
 void error(generic string)
           
 varchar getCookie()
           
 varchar getCurrentPage()
           
 void gotoPage(varchar page)
           
 procedure input(varchar input_name, generic input_value, boolean is_first)
           
protected  void performGoto()
          This method handles relative RETURN, GOTO and REDIRECT commands. If the path begins with a '/' then the path is considered global to the application server. In all other cases the path is considered to be relative to the current page.
 void preparePage(varchar page)
           
 varchar randomCookie()
           
 void redirect(varchar page)
           
 void returnFile(varchar type, generic page)
           
 void setGotoFile(varchar type, generic page)
           
 void trace(generic string)
           
 
Methods inherited from class Application
catch, getLastError, try
 

Field Detail

debugOn

public static boolean debugOn

traceOn

public static boolean traceOn

cookieValue

public integer cookieValue

webID

public integer webID

thisURL

public varchar thisURL

iCurrentPage

protected varchar iCurrentPage

iReturnType

protected varchar iReturnType

iReturnFile

protected generic iReturnFile
Constructor Detail

WebApplication

public WebApplication()
Method Detail

debug

public void debug(generic string)

trace

public void trace(generic string)

error

public void error(generic string)

setGotoFile

public void setGotoFile(varchar type,
                        generic page)

returnFile

public void returnFile(varchar type,
                       generic page)

gotoPage

public void gotoPage(varchar page)

redirect

public void redirect(varchar page)

performGoto

protected void performGoto()
This method handles relative RETURN, GOTO and REDIRECT commands.

If the path begins with a '/' then the path is considered global to the application server.

In all other cases the path is considered to be relative to the current page. ".." is evaluated correctly.


preparePage

public void preparePage(varchar page)

getCurrentPage

public varchar getCurrentPage()

getCookie

public varchar getCookie()

randomCookie

public varchar randomCookie()

input

public procedure input(varchar input_name,
                       generic input_value,
                       boolean is_first)