|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.topicmaps.webed.utils.WebEdUtils
public class WebEdUtils
PUBLIC: Utility methods useful for writing web editor framework applications.
Constructor Summary | |
---|---|
WebEdUtils()
|
Method Summary | |
---|---|
static String |
registerData(javax.servlet.jsp.PageContext pageContext,
String action_name,
String group_name,
List paramlist)
PUBLIC: Binds the parameters to the specified action in the given action group and returns the HTML form control name to be used to invoke the action with the given parameters. |
static String |
registerData(javax.servlet.jsp.PageContext pageContext,
String action_name,
String group_name,
List paramlist,
List sub_actions)
PUBLIC: Binds the parameters to the specified action in the given action group and returns the HTML form control name to be used to invoke the action with the given parameters. |
static String |
registerData(javax.servlet.jsp.PageContext pageContext,
String action_name,
String group_name,
List paramlist,
Set curvalue)
PUBLIC: Binds the parameters to the specified action in the given action group and returns the HTML form control name to be used to invoke the action with the given parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WebEdUtils()
Method Detail |
---|
public static String registerData(javax.servlet.jsp.PageContext pageContext, String action_name, String group_name, List paramlist) throws javax.servlet.jsp.JspTagException
pageContext
- The page context.action_name
- The name of the action to bind to (same as the -action-
attribute on the JSP tags).group_name
- The name of the action group the action belongs to (same
as the -actiongroup- attribute on the form tag).paramlist
- The parameters to the action. A list of navigator variable
names.
javax.servlet.jsp.JspTagException
public static String registerData(javax.servlet.jsp.PageContext pageContext, String action_name, String group_name, List paramlist, Set curvalue) throws javax.servlet.jsp.JspTagException
pageContext
- The page context.action_name
- The name of the action to bind to (same as the -action-
attribute on the JSP tags).group_name
- The name of the action group the action belongs to (same
as the -actiongroup- attribute on the form tag).paramlist
- The parameters to the action. A list of navigator variable
names.curvalue
- The current value of the form control. (Warning: getting
this value right can be tricky.)
javax.servlet.jsp.JspTagException
public static String registerData(javax.servlet.jsp.PageContext pageContext, String action_name, String group_name, List paramlist, List sub_actions) throws javax.servlet.jsp.JspTagException
pageContext
- The page context.action_name
- The name of the action to bind to (same as the -action-
attribute on the JSP tags).group_name
- The name of the action group the action belongs to (same
as the -actiongroup- attribute on the form tag).paramlist
- The parameters to the action. A list of navigator variable
names.sub_actions
- A list of actions to be invoked when this
action is invoked.
javax.servlet.jsp.JspTagException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |