|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.fascinator.portal.guitoolkit.GUIFormRenderer
public class GUIFormRenderer
Render web form elements based on descriptive metadata.
| Constructor Summary | |
|---|---|
GUIFormRenderer(JsonSimpleConfig config)
Constructor. |
|
| Method Summary | |
|---|---|
String |
ajaxFluidErrorHolder(String prefix)
Render an error message text container. |
String |
ajaxFluidLoader(String prefix)
Render a circular loading animation. |
String |
ajaxProgressLoader(String prefix)
Render a horizontal progress loading animation. |
String |
renderFormElement(String name,
String type,
String label)
Render a simple form 'input' element with optional 'label'. |
String |
renderFormElement(String name,
String type,
String label,
String value)
Render a simple form 'input' element with optional 'label' and a starting value. |
String |
renderFormSelect(String name,
String label,
Map<String,String> values)
Render a 'select' drop-down element with optional 'label'. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GUIFormRenderer(JsonSimpleConfig config)
config - : System configuration| Method Detail |
|---|
public String ajaxFluidErrorHolder(String prefix)
prefix - : A String to prepend to element IDs
public String ajaxFluidLoader(String prefix)
prefix - : A String to prepend to element IDs
public String ajaxProgressLoader(String prefix)
prefix - : A String to prepend to element IDs
public String renderFormElement(String name,
String type,
String label)
name - : Value of the 'name' attributetype - : Value of the 'type' attributelabel - : Label text
public String renderFormElement(String name,
String type,
String label,
String value)
name - : Value of the 'name' attributetype - : Value of the 'type' attributelabel - : Label textvalue - : The starting text for the element value
public String renderFormSelect(String name,
String label,
Map<String,String> values)
name - : Value of the 'name' attributelabel - : Label textvalues - : A Map of values of label for the drop-down.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||