|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.form.displayers.AbstractFieldDisplayer<ExplorerField>
com.silverpeas.form.displayers.ExplorerFieldDisplayer
public class ExplorerFieldDisplayer
An ExplorerFieldDisplayer is an object which allow to browse Silverpeas treeview (nodes) and to select one of it
Field
,
FieldTemplate
,
Form
,
FieldDisplayer
Constructor Summary | |
---|---|
ExplorerFieldDisplayer()
|
Method Summary | |
---|---|
void |
display(PrintWriter out,
ExplorerField field,
FieldTemplate template,
PagesContext pageContext)
Prints the HTML value of the field. |
void |
displayScripts(PrintWriter out,
FieldTemplate template,
PagesContext pageContext)
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 pageContext)
Return the number of HTML Objects displayed by the displayer. |
boolean |
isDisplayedMandatory()
Method declaration |
List<String> |
update(List<org.apache.commons.fileupload.FileItem> items,
ExplorerField field,
FieldTemplate template,
PagesContext pageContext)
Updates the value of the field. |
List<String> |
update(String newId,
ExplorerField field,
FieldTemplate template,
PagesContext pageContext)
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 ExplorerFieldDisplayer()
Method Detail |
---|
public String[] getManagedTypes()
public void displayScripts(PrintWriter out, FieldTemplate template, PagesContext pageContext) throws IOException
out
- template
-
IOException
public void display(PrintWriter out, ExplorerField field, FieldTemplate template, PagesContext pageContext) throws FormException
out
- field
- template
-
FormException
public List<String> update(String newId, ExplorerField field, FieldTemplate template, PagesContext pageContext) throws FormException
FieldDisplayer
FormException
public boolean isDisplayedMandatory()
public int getNbHtmlObjectsDisplayed(FieldTemplate template, PagesContext pageContext)
FieldDisplayer
public List<String> update(List<org.apache.commons.fileupload.FileItem> items, ExplorerField field, FieldTemplate template, PagesContext pageContext) throws FormException
FieldDisplayer
update
in interface FieldDisplayer<ExplorerField>
update
in class AbstractFieldDisplayer<ExplorerField>
FormException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |