java.lang.Object
net.i2p.router.web.HelperBase
net.i2p.router.web.helpers.HelpSectionHelper
Render the configuration menu at the top of all the config pages. refactored from confignav.jsp to reduce size and make translation easier.
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classOne help tab.private classSorts help tabs by localized title.Field Summary
FieldsFields inherited from class HelperBase
_context, _log, _out, CHECKED, PROP_ADVANCED, SELECTEDModifier and TypeFieldDescriptionprotected RouterContextThe router context.protected LogThe log instance.protected WriterThe writer for output.static final StringChecked attribute for HTML checkboxes.static final StringProperty key for advanced mode.static final StringSelected attribute for HTML select options.Constructor Summary
ConstructorsConstructorDescriptionCreate the helper; the superclass constructor sets up the request context.Method Summary
All MethodsModifier and TypeMethodDescriptionvoidrenderNavBar(String requestURI) Render the help navigation bar.Methods inherited from class HelperBase
_t, _t, _t, _x, getChecked, isAdvanced, ngettext, setContextId, storeWriterModifier and TypeMethodDescriptionTranslate a string.Translate a string with a parameter.Translate a string with two parameters.static StringMark a string for extraction by xgettext and translation.protected StringgetChecked(String prop) Get the checked attribute for a boolean property.booleanCheck if advanced mode is enabled.Translate a string with plural forms (ngettext).voidsetContextId(String contextId) Configure this bean to query a particular router context.voidstoreWriter(Writer out) Store the writer for output.
Field Details
pages
help-X.jsp.titles
Translation keys for the tab titles.
Constructor Details
HelpSectionHelper
public HelpSectionHelper()Create the helper; the superclass constructor sets up the request context.
Method Details