public class PageHelper
extends java.lang.Object
Constructor and Description |
---|
PageHelper(ToadletContext ctx,
PersistFields persistFields,
FirstTimeWizardToadlet.WIZARD_STEP step) |
Modifier and Type | Method and Description |
---|---|
HTMLNode |
addFormChild(HTMLNode parentNode,
java.lang.String target,
java.lang.String id) |
HTMLNode |
addFormChild(HTMLNode parentNode,
java.lang.String target,
java.lang.String id,
boolean includeOpennet)
Generates a form that includes persistence for inter-step fields.
|
HTMLNode |
getInfobox(java.lang.String category,
java.lang.String header,
HTMLNode parent,
java.lang.String title,
boolean isUnique) |
HTMLNode |
getPageContent(java.lang.String title)
Generates a PageMaker with the appropriate arguments for the wizard.
|
HTMLNode |
getPageOuter()
After getPageContent has been called, returns page outer HTMLNode.
|
public PageHelper(ToadletContext ctx, PersistFields persistFields, FirstTimeWizardToadlet.WIZARD_STEP step)
public HTMLNode getPageContent(java.lang.String title)
title
- desired page titlepublic HTMLNode getPageOuter()
public HTMLNode getInfobox(java.lang.String category, java.lang.String header, HTMLNode parent, java.lang.String title, boolean isUnique)
public HTMLNode addFormChild(HTMLNode parentNode, java.lang.String target, java.lang.String id)
public HTMLNode addFormChild(HTMLNode parentNode, java.lang.String target, java.lang.String id, boolean includeOpennet)
parentNode
- node to add form totarget
- where form should POST toid
- ID attribute (in HTML) of formincludeOpennet
- whether the opennet field should be persisted. False on the OPENNET step.