|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.html.HTMLGenerator
This class is used for creating HTML elements that contain values based upon the FieldDescribedClasses and their Fields that are used as parameters.
Field Summary | |
static short |
PAGING_BASIC
Basic paging provides just a next and previous links |
static short |
PAGING_INTERMEDIATE
Intermediate paging provided a first, previous, next, and last links |
Method Summary | |
static StringBuffer |
appendCSSLink(String href,
StringBuffer html)
Appends HTML code to include an HTML CSS link. |
static StringBuffer |
appendFeatureWarning(StringBuffer html,
javax.servlet.http.HttpServletRequest req)
|
static StringBuffer |
appendFeatureWarning(String before,
String after,
StringBuffer html,
javax.servlet.http.HttpServletRequest req)
Appends an unsupported warning if necessary to the StringBuffer of HTML |
static StringBuffer |
appendFeatureWarningJavaScript(StringBuffer html,
javax.servlet.http.HttpServletRequest req)
|
static StringBuffer |
appendHiddenInput(String inputName,
StringBuffer html)
Deprecated. replaced with HTMLInput.appendHiddenInput(String, String, StringBuffer) |
static StringBuffer |
appendHiddenInput(String inputName,
String inputValue,
StringBuffer html)
Deprecated. replaced with HTMLInput.appendHiddenInput(String, String, StringBuffer) |
static StringBuffer |
appendHiddenInputs(StringBuffer html,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
static StringBuffer |
appendHiddenNavigationIds(StringBuffer html,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
static String |
appendIdsToLink(String link,
javax.servlet.http.HttpServletRequest request)
Appends the session id and request id to the given link. |
static StringBuffer |
appendJavaScript(String source,
StringBuffer html)
Appends HTML code to include a JavaScript source file.. |
static StringBuffer |
appendLink(String rel,
String type,
String href,
StringBuffer html)
Appends HTML code to include an HTML link. |
static StringBuffer |
appendParagraphHeading(String title,
StringBuffer html)
Appends the givin Title. |
static String |
convertDoubleQuoteInJavaScriptString(String str)
|
static String |
convertJavaScriptString(String str)
|
static String |
convertLink(String str)
|
static String |
convertString(String str)
|
static String |
generateAssociationLinks(RowCollection rowCol,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Deprecated. |
static String |
generateComboBox(Field fld,
String attributes,
String fldName,
RowCollection rowCol,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated. |
static String |
generateComboBox(Field fld,
String attributes,
String fldName,
RowCollection rowCol,
String selectedVal,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated. |
static String |
generateComboBox(Field fld,
String attributes,
String fldName,
String dspFldName,
RowCollection rowCol,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated. |
static String |
generateComboBox(Field fld,
String attributes,
String fldName,
String dspFldName,
RowCollection rowCol,
String selectedVal,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated. |
static String |
generateComboBox(String id,
String attributes,
String fldName,
RowCollection rowCol,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated. |
static String |
generateComboBox(String id,
String attributes,
String fldName,
RowCollection rowCol,
String selectedVal,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated. |
static String |
generateComboBox(String id,
String attributes,
String fldName,
String dspFldName,
RowCollection rowCol,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated. |
static String |
generateComboBox(String id,
String attributes,
String fldName,
String dspFldName,
RowCollection rowCol,
String selectedVal,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated. |
static String |
generateCurrentUserValue(String fieldName,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Convience method the generates and returns HTML code to display a user's property value for the given Field name. |
static String |
generateField(Field field,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated. replaced with HTMLField.appendDisplayValue(.......) |
static StringBuffer |
generateHiddenInputs(StringBuffer html,
javax.servlet.http.HttpServletRequest request)
Deprecated. replaced with HTMLGenerator.appendHiddenInputs(StringBuffer, HttpServletRequest, HttpServletResponse) |
static String |
generateHiddenInputs(StringBuffer html,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Appends hidden html input fields used for the unique session identifier for objects, magic requests, and servlet actions. |
static String |
generateInput(Field fld,
int size,
String attributes,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated. replaced with HTMLField.appendInput(....) |
static String |
generateInput(Field fld,
int size,
String attributes,
int x,
int y,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated. x and y are no longer used, replaced with appendInput(Field, int, String, int, int, StringBuffer, HttpServletRequest, HttpServletResponse) |
static String |
generateInput(Field fld,
String attributes,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated. replaced with HTMLField.appendInput(....) |
static String |
generateLabel(Field fld,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String representing the Field's external column name as a bold label. |
static String |
generateLabelAndField(Field fld,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String representing HTML for a Field and also its label. |
static String |
generateLabelAndInput(Field fld,
int size,
String inputAttributes,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String representing HTML for input (with specified size) for a Field and also its label. |
static String |
generateLabelAndInput(Field fld,
String inputAttributes,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String representing HTML for input of a Field and also its label. |
static String |
generateList(Field fld,
String attributes,
String fldName,
RowCollection rowCol,
int size,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String for a HTML list. |
static String |
generateList(Field fld,
String attributes,
String fldName,
RowCollection rowCol,
int size,
int selectionMode,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String for a HTML list. |
static String |
generateList(Field fld,
String attributes,
String fldName,
RowCollection rowCol,
int size,
String selectedVal,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String for a HTML list. |
static String |
generateList(Field fld,
String attributes,
String fldName,
RowCollection rowCol,
int size,
String selectedVal,
int selectionMode,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String for a HTML list. |
static String |
generateList(Field fld,
String attributes,
String fldName,
String dspFldName,
RowCollection rowCol,
int size,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String for a HTML list. |
static String |
generateList(Field fld,
String attributes,
String fldName,
String dspFldName,
RowCollection rowCol,
int size,
int selectionMode,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String for a HTML list. |
static String |
generateList(Field fld,
String attributes,
String fldName,
String dspFldName,
RowCollection rowCol,
int size,
String selectedVal,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String for a HTML list. |
static String |
generateList(Field fld,
String attributes,
String fldName,
String dspFldName,
RowCollection rowCol,
int size,
String selectedVal,
int selectionMode,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String for a HTML list. |
static String |
generateList(String id,
String attributes,
String fldName,
RowCollection rowCol,
int size,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String for a HTML list. |
static String |
generateList(String id,
String attributes,
String fldName,
RowCollection rowCol,
int size,
int selectionMode,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String for a HTML list. |
static String |
generateList(String id,
String attributes,
String fldName,
RowCollection rowCol,
int size,
String selectedVal,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String for a HTML list. |
static String |
generateList(String id,
String attributes,
String fldName,
RowCollection rowCol,
int size,
String selectedVal,
int selectionMode,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String for a HTML list. |
static String |
generateList(String id,
String attributes,
String fldName,
String dspFldName,
RowCollection rowCol,
int size,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String for a HTML list. |
static String |
generateList(String id,
String attributes,
String fldName,
String dspFldName,
RowCollection rowCol,
int size,
int selectionMode,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String for a HTML list. |
static String |
generateList(String id,
String attributes,
String fldName,
String dspFldName,
RowCollection rowCol,
int size,
String selectedVal,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String for a HTML list. |
static String |
generateList(String id,
String attributes,
String fldName,
String dspFldName,
RowCollection rowCol,
int size,
String selectedVal,
int selectionMode,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Returns a String for a HTML list. |
static String |
generateMagicButton(String pName,
String pValue,
String pFormName,
String pServletPath,
String pAttributes,
MagicRequest pRequest)
This method generates the HTML string that will construct an HTML button component that onClick will set the action of the form that contains it and sets the magic request. |
static String |
generateNavigationLink(String linkId,
String body,
String linkText,
String title,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Convience method that generates a link that will load the given body into the current layout. |
static String |
generateNavigationLink(String linkId,
String body,
String linkText,
String title,
String clazz,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Convience method that generates a link that will load the given body into the current layout. |
static String |
generateRadio(Field fld,
String attributes,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated. replaced by HTMLInput.appendRadioButton(....) |
static String |
generateTable(Row row,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Deprecated. This is a unused method with a bad name |
static short |
getPagingLevel()
Gets the paging level |
static void |
setPagingLevel(short level)
Sets the paging level |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final short PAGING_BASIC
public static final short PAGING_INTERMEDIATE
Method Detail |
public static StringBuffer appendCSSLink(String href, StringBuffer html)
href
- location of the resourcehtml
- buffer to append code to
public static StringBuffer appendFeatureWarning(String before, String after, StringBuffer html, javax.servlet.http.HttpServletRequest req)
before
- Text to append before the warningafter
- Text to append after the warninghtml
- The StringBuffer to append toreq
- The HttpServletRequestpublic static StringBuffer appendFeatureWarning(StringBuffer html, javax.servlet.http.HttpServletRequest req)
public static StringBuffer appendFeatureWarningJavaScript(StringBuffer html, javax.servlet.http.HttpServletRequest req)
public static StringBuffer appendHiddenInput(String inputName, String inputValue, StringBuffer html)
inputName
- name for the hidden input field.html
- buffer to append html code to.public static StringBuffer appendHiddenInput(String inputName, StringBuffer html)
inputName
- name for the hidden input field.html
- buffer to append html code to.public static StringBuffer appendHiddenInputs(StringBuffer html, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DataEngineException
DataEngineException
public static StringBuffer appendHiddenNavigationIds(StringBuffer html, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DataEngineException
DataEngineException
public static String appendIdsToLink(String link, javax.servlet.http.HttpServletRequest request)
public static StringBuffer appendJavaScript(String source, StringBuffer html)
source
- file location of JavaScript to include in HTML output.html
- buffer to append html code to.public static StringBuffer appendLink(String rel, String type, String href, StringBuffer html)
rel
- relationship of current document to linktype
- content type of the linkhref
- location of the resourcehtml
- buffer to append code to
public static StringBuffer appendParagraphHeading(String title, StringBuffer html) throws CMException
CMException
public static String convertDoubleQuoteInJavaScriptString(String str)
public static String convertJavaScriptString(String str)
public static String convertLink(String str)
public static String convertString(String str)
public static String generateAssociationLinks(RowCollection rowCol, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws CMException
rowCol
- req
- HttpServletRequest
CMException
public static String generateComboBox(String id, String attributes, String fldName, String dspFldName, RowCollection rowCol, String selectedVal, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
id
- StringfldName
- StringdspFldName
- StringrowCol
- RowCollectionselectedVal
- String
CMException
public static String generateComboBox(String id, String attributes, String fldName, String dspFldName, RowCollection rowCol, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
id
- StringfldName
- StringdspFldName
- StringrowCol
- RowCollection
CMException
public static String generateComboBox(String id, String attributes, String fldName, RowCollection rowCol, String selectedVal, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
id
- StringfldName
- StringrowCol
- RowCollectionselectedVal
- String
CMException
public static String generateComboBox(String id, String attributes, String fldName, RowCollection rowCol, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
id
- StringfldName
- StringrowCol
- RowCollection
CMException
public static String generateComboBox(Field fld, String attributes, String fldName, String dspFldName, RowCollection rowCol, String selectedVal, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- FieldfldName
- StringdspFldName
- StringrowCol
- RowCollectionselectedVal
- String
CMException
public static String generateComboBox(Field fld, String attributes, String fldName, String dspFldName, RowCollection rowCol, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- FieldfldName
- StringdspFldName
- StringrowCol
- RowCollection
CMException
public static String generateComboBox(Field fld, String attributes, String fldName, RowCollection rowCol, String selectedVal, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- FieldfldName
- StringrowCol
- RowCollectionselectedVal
- String
CMException
public static String generateComboBox(Field fld, String attributes, String fldName, RowCollection rowCol, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- FieldfldName
- StringrowCol
- RowCollection
CMException
public static String generateCurrentUserValue(String fieldName, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
fieldName
- name of Field to display from user propertiesrequest
- request from clientresponse
- response to clientpublic static String generateField(Field field, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
CMException
public static StringBuffer generateHiddenInputs(StringBuffer html, javax.servlet.http.HttpServletRequest request) throws DataEngineException
html
- StringBuffer to append hidden html inputs (if null, a new StringBuffer is created)request
- request
DataEngineException
public static String generateHiddenInputs(StringBuffer html, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws DataEngineException
html
- StringBuffer to append hidden html inputs (if null, a new StringBuffer is created)request
- request
DataEngineException
public static String generateInput(Field fld, int size, String attributes, int x, int y, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- Field
CMException
public static String generateInput(Field fld, int size, String attributes, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- Field
CMException
public static String generateInput(Field fld, String attributes, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- Field
CMException
public static String generateLabel(Field fld, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- Field
CMException
public static String generateLabelAndField(Field fld, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- Field
CMException
public static String generateLabelAndInput(Field fld, int size, String inputAttributes, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- Fieldsize
- int
CMException
public static String generateLabelAndInput(Field fld, String inputAttributes, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- Field
CMException
public static String generateList(String id, String attributes, String fldName, String dspFldName, RowCollection rowCol, int size, int selectionMode, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
id
- StringfldName
- StringdspFldName
- StringrowCol
- RowCollectionsize
- intselectionMode
- int
CMException
public static String generateList(String id, String attributes, String fldName, String dspFldName, RowCollection rowCol, int size, String selectedVal, int selectionMode, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
id
- StringfldName
- StringdspFldName
- StringrowCol
- RowCollectionsize
- intselectedVal
- String
CMException
public static String generateList(String id, String attributes, String fldName, String dspFldName, RowCollection rowCol, int size, String selectedVal, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
id
- StringfldName
- StringdspFldName
- StringrowCol
- RowCollectionsize
- intselectedVal
- String
CMException
public static String generateList(String id, String attributes, String fldName, String dspFldName, RowCollection rowCol, int size, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
id
- StringfldName
- StringdspFldName
- StringrowCol
- RowCollectionsize
- int
CMException
public static String generateList(String id, String attributes, String fldName, RowCollection rowCol, int size, int selectionMode, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
id
- StringfldName
- StringrowCol
- RowCollectionsize
- intselectionMode
- int
CMException
public static String generateList(String id, String attributes, String fldName, RowCollection rowCol, int size, String selectedVal, int selectionMode, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
id
- StringfldName
- StringrowCol
- RowCollectionsize
- intselectedVal
- StringselectionMode
- int
CMException
public static String generateList(String id, String attributes, String fldName, RowCollection rowCol, int size, String selectedVal, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
id
- StringfldName
- StringrowCol
- RowCollectionsize
- intselectedVal
- String
CMException
public static String generateList(String id, String attributes, String fldName, RowCollection rowCol, int size, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
id
- StringfldName
- StringrowCol
- RowCollectionsize
- int
CMException
public static String generateList(Field fld, String attributes, String fldName, String dspFldName, RowCollection rowCol, int size, int selectionMode, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- FieldfldName
- StringdspFldName
- StringrowCol
- RowCollectionsize
- intselectionMode
- int
CMException
public static String generateList(Field fld, String attributes, String fldName, String dspFldName, RowCollection rowCol, int size, String selectedVal, int selectionMode, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fldName
- StringdspFldName
- StringrowCol
- RowCollectionsize
- intselectedVal
- String
CMException
public static String generateList(Field fld, String attributes, String fldName, String dspFldName, RowCollection rowCol, int size, String selectedVal, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- FieldfldName
- StringdspFldName
- StringrowCol
- RowCollectionsize
- intselectedVal
- String
CMException
public static String generateList(Field fld, String attributes, String fldName, String dspFldName, RowCollection rowCol, int size, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- FieldfldName
- StringdspFldName
- StringrowCol
- RowCollectionsize
- int
CMException
public static String generateList(Field fld, String attributes, String fldName, RowCollection rowCol, int size, int selectionMode, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- FieldfldName
- StringrowCol
- RowCollectionsize
- intselectionMode
- int
CMException
public static String generateList(Field fld, String attributes, String fldName, RowCollection rowCol, int size, String selectedVal, int selectionMode, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- FieldfldName
- StringrowCol
- RowCollectionsize
- intselectedVal
- StringselectionMode
- int
CMException
public static String generateList(Field fld, String attributes, String fldName, RowCollection rowCol, int size, String selectedVal, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- FieldfldName
- StringrowCol
- RowCollectionsize
- intselectedVal
- String
CMException
public static String generateList(Field fld, String attributes, String fldName, RowCollection rowCol, int size, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- FieldfldName
- StringrowCol
- RowCollectionsize
- int
CMException
public static String generateMagicButton(String pName, String pValue, String pFormName, String pServletPath, String pAttributes, MagicRequest pRequest)
pName
- java.lang.StringpValue
- java.lang.StringpFormName
- java.lang.StringpServletPath
- java.lang.StringpAttributes
- java.lang.StringpRequest
- MagicRequest
public static String generateNavigationLink(String linkId, String body, String linkText, String title, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
linkId
- id of magic requestbody
- page to load for body section of layoutlinkText
- text to display for the generated linktitle
- title of the linkrequest
- request from clientresponse
- response to clientpublic static String generateRadio(Field fld, String attributes, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fld
- planetj.database.Fieldattributes
- java.lang.Stringreq
- javax.servlet.http.HttpServletRequestres
- javax.servlet.http.HttpServletResponse
CMException
public static String generateTable(Row row, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
CMException
public static short getPagingLevel()
public static String generateNavigationLink(String linkId, String body, String linkText, String title, String clazz, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
linkId
- id of magic requestbody
- page to load for body section of layoutlinkText
- text to display for the generated linktitle
- title of the linkclazz
- style class to apply to linkrequest
- request from clientresponse
- response to clientpublic static void setPagingLevel(short level)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |