public class DynamicTableCGI extends Object implements IncludeCgiPrintInterface
Modifier and Type | Field and Description |
---|---|
protected int |
listCount
List box count.
|
protected VirtualCListBox |
vlist
List box.
|
Constructor and Description |
---|
DynamicTableCGI() |
Modifier and Type | Method and Description |
---|---|
void |
convCells(String[] convCells)
Convert dynamic data (from panel) to internet characters (& ,..).
|
protected String |
getColData(int col)
Get cell data for one listbox column.
|
protected String |
getDefine(String define,
int rowNum)
Get define value from template file.
|
protected String |
getRowFromTemplate(String template,
int rowNum)
Parse template and replace definitions with dynamic data.
|
protected String |
getTemplateFromFile(String fileName)
Get HTML template file data.
|
protected boolean |
init(String listBoxID)
Initiate method.
|
void |
performAction(HttpSession httpSession,
Element element)
Dynamic version of performAction.
|
void |
performAction(HttpSession httpSession,
HttpResource resource,
Element element,
PrintWriter out)
Perform action is main method.
|
void |
println(String printString)
Print line (String+(cr)(lf)) to output stream.
|
protected VirtualCListBox vlist
protected int listCount
public void performAction(HttpSession httpSession, HttpResource resource, Element element, PrintWriter out) throws IOException
performAction
in interface IncludeCgiPrintInterface
IOException
- for IO errors.public void performAction(HttpSession httpSession, Element element)
protected boolean init(String listBoxID)
public void println(String printString)
public void convCells(String[] convCells)
protected String getColData(int col)
protected String getDefine(String define, int rowNum)
protected String getRowFromTemplate(String template, int rowNum)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.