com.arsdigita.bebop.demo
Class DemoDispatcher
java.lang.Object
com.arsdigita.dispatcher.MapDispatcher
com.arsdigita.bebop.page.BebopMapDispatcher
com.arsdigita.bebop.BebopMapDispatcher
com.arsdigita.bebop.demo.AutoDispatcher
com.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 |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
DemoDispatcher
public DemoDispatcher()
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