public class SelectGroupTag
extends javax.servlet.jsp.tagext.TagSupport
Tag for producing an e-person select widget in a form. Somewhat analogous to the HTML SELECT element. An input field is produced with a button which pops up a window from which e-people can be selected. Selected e-epeople are added to the field in the form. If the selector is for multiple e-people, a 'remove selected from list' button is also added.
On any form that has a selecteperson tag (only one allowed per page), you need to include the following Javascript code on all of the submit buttons, to ensure that the e-people IDs are posted and that the popup window is closed:
onclick="javascript:finishEPerson();"
| Constructor and Description |
|---|
SelectGroupTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag() |
void |
release() |
void |
setMultiple(String s)
Setter for multiple attribute
|
void |
setSelected(Object g)
Setter for groups in list
|
public void setMultiple(String s)
s - attribute from JSPpublic void setSelected(Object g)
g - attribute from JSPpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupportpublic int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionCopyright © 2016 DuraSpace. All Rights Reserved.