|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.form.displayers.AbstractFieldDisplayer<UserField>
com.silverpeas.form.displayers.UserFieldDisplayer
public class UserFieldDisplayer
A UserFieldDisplayer is an object which can display a UserFiel in HTML and can retrieve via HTTP any updated value.
Field,
FieldTemplate,
Form,
FieldDisplayer| Constructor Summary | |
|---|---|
UserFieldDisplayer()
|
|
| Method Summary | |
|---|---|
void |
display(PrintWriter out,
UserField 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 pageContext)
Return the number of HTML Objects displayed by the displayer. |
boolean |
isDisplayedMandatory()
Method declaration |
List<String> |
update(String newId,
UserField field,
FieldTemplate template,
PagesContext pageContext)
Updates the value of the field. |
| Methods inherited from class com.silverpeas.form.displayers.AbstractFieldDisplayer |
|---|
index, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserFieldDisplayer()
| Method Detail |
|---|
public String[] getManagedTypes()
public void displayScripts(PrintWriter out,
FieldTemplate template,
PagesContext pagesContext)
out - template - pagesContext -
IOException
public void display(PrintWriter out,
UserField field,
FieldTemplate template,
PagesContext pageContext)
throws FormException
out - field - PagesContext - template -
FormException
public List<String> update(String newId,
UserField field,
FieldTemplate template,
PagesContext pageContext)
throws FormException
FieldDisplayer
FormExceptionpublic boolean isDisplayedMandatory()
public int getNbHtmlObjectsDisplayed(FieldTemplate template,
PagesContext pageContext)
FieldDisplayer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||