|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.form.displayers.AbstractFieldDisplayer<MultipleUserField>
com.silverpeas.form.displayers.MultipleUserFieldDisplayer
public class MultipleUserFieldDisplayer
A MultipleUserFieldDisplayer is an object which can display a MultipleUserField in HTML and can retrieve via HTTP any updated value.
Field
,
FieldTemplate
,
Form
,
FieldDisplayer
Constructor Summary | |
---|---|
MultipleUserFieldDisplayer()
|
Method Summary | |
---|---|
void |
display(PrintWriter out,
MultipleUserField 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,
MultipleUserField field,
FieldTemplate template,
PagesContext pageContext)
Updates the value of the field. |
List<String> |
update(String newIds,
MultipleUserField 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 MultipleUserFieldDisplayer()
Method Detail |
---|
public String[] getManagedTypes()
public void displayScripts(PrintWriter out, FieldTemplate template, PagesContext PagesContext) throws IOException
IOException
public void display(PrintWriter out, MultipleUserField field, FieldTemplate template, PagesContext pageContext) throws FormException
FormException
public List<String> update(String newIds, MultipleUserField field, FieldTemplate template, PagesContext pagesContext) throws FormException
FormException
public List<String> update(List<org.apache.commons.fileupload.FileItem> items, MultipleUserField field, FieldTemplate template, PagesContext pageContext) throws FormException
FieldDisplayer
update
in interface FieldDisplayer<MultipleUserField>
update
in class AbstractFieldDisplayer<MultipleUserField>
FormException
public boolean isDisplayedMandatory()
public int getNbHtmlObjectsDisplayed(FieldTemplate template, PagesContext pagesContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |