com.arsdigita.bebop.demo
Class DemoDispatcher

java.lang.Object
  extended bycom.arsdigita.dispatcher.MapDispatcher
      extended bycom.arsdigita.bebop.page.BebopMapDispatcher
          extended bycom.arsdigita.bebop.BebopMapDispatcher
              extended bycom.arsdigita.bebop.demo.AutoDispatcher
                  extended bycom.arsdigita.bebop.demo.DemoDispatcher
All Implemented Interfaces:
BebopConstants, Dispatcher

public class DemoDispatcher
extends AutoDispatcher
implements BebopConstants

Demonstration dispatcher class. Shows how you would build pages to display dynamic data from the database using Bebop components.


Nested Class Summary
static class DemoDispatcher.DeliverySection
          Define a form section which can be reused in multiple forms From tutorial demo/form-sections.xml
 
Nested classes inherited from class com.arsdigita.dispatcher.MapDispatcher
MapDispatcher.ParseConfigHandler
 
Field Summary
static String versionId
           
 
Fields inherited from interface com.arsdigita.bebop.util.BebopConstants
BEBOP_BORDER, BEBOP_BOXPANEL, BEBOP_CELL, BEBOP_CHECKBOX, BEBOP_CHECKBOXGROUP, BEBOP_COLUMNPANEL, BEBOP_DATE, BEBOP_DATETIME, BEBOP_DHTMLEDITOR, BEBOP_FORMERRORS, BEBOP_FORMWIDGET, BEBOP_GRIDPANEL, BEBOP_LIST, BEBOP_MULTISELECT, BEBOP_OPTION, BEBOP_PAD, BEBOP_PADFRAME, BEBOP_PANELROW, BEBOP_PORTAL, BEBOP_PORTLET, BEBOP_RADIO, BEBOP_RADIOGROUP, BEBOP_SEG_BODY, BEBOP_SEG_HEADER, BEBOP_SEG_PANEL, BEBOP_SEGMENT, BEBOP_SELECT, BEBOP_TABLE, BEBOP_TABLEBODY, BEBOP_TABLEROW, BEBOP_TEXTAREA
 
Constructor Summary
DemoDispatcher()
           
 
Method Summary
static Page buildPagedate()
           
static Page buildPageMySite_1()
           
static Page buildPageMySite_2()
           
static Page buildPageTabbedPane()
           
static Page buildPageuser_and_date()
           
static Page buildPageusers()
           
static Page buildPageWorkflowAdmin()
           
static Dispatcher newInstance()
          returns a new instance of DemoDispatcher.
 
Methods inherited from class com.arsdigita.bebop.demo.AutoDispatcher
setUp, setUp
 
Methods inherited from class com.arsdigita.bebop.page.BebopMapDispatcher
addPage, getPresentationManager, newParseConfigHandler, setMap, setNotFoundPage, setPresentationManager
 
Methods inherited from class com.arsdigita.dispatcher.MapDispatcher
addPage, dispatch, getMap, preprocessRequest, readFromFile, requireTrailingSlash, setNotFoundDispatcher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

DemoDispatcher

public DemoDispatcher()
Method Detail

newInstance

public static Dispatcher newInstance()
returns a new instance of DemoDispatcher.


buildPageMySite_1

public static Page buildPageMySite_1()

buildPageMySite_2

public static Page buildPageMySite_2()

buildPagedate

public static Page buildPagedate()
Returns:
a Bebop page that shows the current time selected from the database.

buildPageusers

public static Page buildPageusers()
Returns:
a Bebop page that shows a list of users, their emails, and first/last names

buildPageuser_and_date

public static Page buildPageuser_and_date()
Returns:
a Bebop page that shows a list of users, their emails, and first/last names; *also* with a message about the current date. note the reuse of HelloDate component!

buildPageWorkflowAdmin

public static Page buildPageWorkflowAdmin()

buildPageTabbedPane

public static Page buildPageTabbedPane()


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC