|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.form.displayers.AbstractFieldDisplayer<GroupField>
com.silverpeas.form.displayers.GroupFieldDisplayer
public class GroupFieldDisplayer
A GroupFieldDisplayer is an object which allow to select a group and display it in HTML and can retrieve via HTTP any updated value.
< * p/> < p/>
Field
,
FieldTemplate
,
Form
,
FieldDisplayer
Constructor Summary | |
---|---|
GroupFieldDisplayer()
|
Method Summary | |
---|---|
void |
display(PrintWriter out,
GroupField field,
FieldTemplate template,
PagesContext pageContext)
Prints the HTML value of the field. |
void |
displayScripts(PrintWriter out,
FieldTemplate template,
PagesContext PagesContext)
Prints the javascripts which will be used to control the new value given to the named field. |
String[] |
getManagedTypes()
Returns the name of the managed types. |
int |
getNbHtmlObjectsDisplayed(FieldTemplate template,
PagesContext pagesContext)
Method declaration |
boolean |
isDisplayedMandatory()
Method declaration |
List<String> |
update(List<org.apache.commons.fileupload.FileItem> items,
GroupField field,
FieldTemplate template,
PagesContext pageContext)
Updates the value of the field. |
List<String> |
update(String newId,
GroupField field,
FieldTemplate template,
PagesContext pagesContext)
Updates the value of the field. |
Methods inherited from class com.silverpeas.form.displayers.AbstractFieldDisplayer |
---|
index |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupFieldDisplayer()
Method Detail |
---|
public String[] getManagedTypes()
public void displayScripts(PrintWriter out, FieldTemplate template, PagesContext PagesContext) throws IOException
IOException
public void display(PrintWriter out, GroupField field, FieldTemplate template, PagesContext pageContext) throws FormException
FormException
public List<String> update(String newId, GroupField field, FieldTemplate template, PagesContext pagesContext) throws FormException
FieldDisplayer
FormException
public boolean isDisplayedMandatory()
public int getNbHtmlObjectsDisplayed(FieldTemplate template, PagesContext pagesContext)
public List<String> update(List<org.apache.commons.fileupload.FileItem> items, GroupField field, FieldTemplate template, PagesContext pageContext) throws FormException
FieldDisplayer
update
in interface FieldDisplayer<GroupField>
update
in class AbstractFieldDisplayer<GroupField>
FormException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |