public class SiteComponentDataEntryPlugin extends java.lang.Object implements ProcessParametersPlugin, MakeHTMLComponentPlugin
Constructor and Description |
---|
SiteComponentDataEntryPlugin(SDBScreen screen) |
Modifier and Type | Method and Description |
---|---|
void |
addHiddenFields(SDBContext context,
HTMLForm form)
add hidden fields to the form
|
HTMLComponent |
makeHTMLComponent(SDBContext context,
SDBComponent screenComponent,
HTMLComponent htmlComponent)
Extend the generation of an HTMLcompnent
|
void |
postProcessParameters(WebClient client,
DBObject base)
The data entry screen will call this method AFTER building the universe.
|
void |
preProcessParameters(WebClient client,
DBObject base)
The data entry screen will call this method BEFORE building the universe from the parameters passed.
|
void |
setProcessParametersAttribute(WebClient client,
FormData fd)
set the attribute
|
void |
setProcessParametersOrder(WebClient client,
java.util.ArrayList orderedList)
set the order
|
public SiteComponentDataEntryPlugin(SDBScreen screen)
public HTMLComponent makeHTMLComponent(@Nonnull SDBContext context, @Nonnull SDBComponent screenComponent, @Nonnull HTMLComponent htmlComponent) throws java.lang.Exception
MakeHTMLComponentPlugin
makeHTMLComponent
in interface MakeHTMLComponentPlugin
context
- the contextjava.lang.Exception
- a serious problempublic void preProcessParameters(WebClient client, DBObject base) throws java.lang.Exception
preProcessParameters
in interface ProcessParametersPlugin
client
- the web clientbase
- the base objectjava.lang.Exception
- a serious problempublic void postProcessParameters(WebClient client, DBObject base) throws java.lang.Exception
postProcessParameters
in interface ProcessParametersPlugin
client
- the web clientbase
- the base objectjava.lang.Exception
- a serious problempublic void setProcessParametersAttribute(WebClient client, FormData fd) throws java.lang.Exception
setProcessParametersAttribute
in interface ProcessParametersPlugin
client
- the web clientfd
- form datajava.lang.Exception
- a serious problempublic void setProcessParametersOrder(WebClient client, java.util.ArrayList orderedList) throws java.lang.Exception
setProcessParametersOrder
in interface ProcessParametersPlugin
client
- the web clientorderedList
- the listjava.lang.Exception
- a serious problempublic void addHiddenFields(SDBContext context, HTMLForm form) throws java.lang.Exception
addHiddenFields
in interface ProcessParametersPlugin
context
- the contextform
- the formjava.lang.Exception
- a serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.