|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.webed.utils.WebEdUtils
public class WebEdUtils
PUBLIC: Utility methods useful for writing web editor framework applications.
Constructor Summary | |
---|---|
WebEdUtils()
|
Method Summary | |
---|---|
static java.lang.String |
registerData(javax.servlet.jsp.PageContext pageContext,
java.lang.String action_name,
java.lang.String group_name,
java.util.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 java.lang.String |
registerData(javax.servlet.jsp.PageContext pageContext,
java.lang.String action_name,
java.lang.String group_name,
java.util.List paramlist,
java.util.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 java.lang.String |
registerData(javax.servlet.jsp.PageContext pageContext,
java.lang.String action_name,
java.lang.String group_name,
java.util.List paramlist,
java.util.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 java.lang.String registerData(javax.servlet.jsp.PageContext pageContext, java.lang.String action_name, java.lang.String group_name, java.util.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 java.lang.String registerData(javax.servlet.jsp.PageContext pageContext, java.lang.String action_name, java.lang.String group_name, java.util.List paramlist, java.util.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 java.lang.String registerData(javax.servlet.jsp.PageContext pageContext, java.lang.String action_name, java.lang.String group_name, java.util.List paramlist, java.util.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 |