public class DynamicForm extends DataEntryWidget
Modifier and Type | Field and Description |
---|---|
protected int | columns
Deprecated.
|
protected int | rows
Deprecated.
|
Constructor and Description |
---|
DynamicForm()
Deprecated.
DynamicForm constructor.
|
Modifier and Type | Method and Description |
---|---|
protected int | calculateNumberOfRows(int max, int cols)
Deprecated.
This method will calculate the number of rows given the number of columns and the maximum data elements.
|
int | getColumns()
Deprecated.
This method will return the number of columns in the table.
|
int | getRows()
Deprecated.
This method will return the number of rows in the table.
|
void | render(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Deprecated.
This method renders the form.
|
protected void | renderHorizontalTable(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, FormDataBean table)
Deprecated.
This method will output the table with products as rows and features as columns
|
protected void | renderVerticalTable(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, FormDataBean table)
Deprecated.
This method will output the table with features as rows and products as columns
|
void | setColumns(int newValue)
Deprecated.
Set the number of columns in the form.
|
void | setColumns(java.lang.String newValue)
Deprecated.
Set the number of columns using a String of the numeric value.
|
void | setRows(int newValue)
Deprecated.
Set the number of rows in the form.
|
java.lang.String | writeAllValues(ColumnDataBean row)
Deprecated.
This method renders the feature values for the row passed in.
|
protected int calculateNumberOfRows(int max, int cols)
public int getColumns()
public int getRows()
public void render(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void renderHorizontalTable(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, FormDataBean table) throws java.io.IOException
protected void renderVerticalTable(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, FormDataBean table) throws java.io.IOException
public void setColumns(int newValue)
public void setColumns(java.lang.String newValue)
public void setRows(int newValue)
public java.lang.String writeAllValues(ColumnDataBean row)