Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.RuntimeCollective.webapps.tag: Javadoc index of package com.RuntimeCollective.webapps.tag.


Package Samples:

com.RuntimeCollective.webapps.tag

Classes:

ImageSubmitTag: A custom JSP tag that produces a submit button which uses an image rather than a button and behaves otherwise the same as SubmitTag, but also has all the same attributes as org.apache.struts.taglib.html.ImageTag Note this tag will not work if it sits next to a Struts html:submit tag. Convert other tags to rs:submit, to make sure it all works fine! This tag takes the following attributes: name - The name of the current form. [Mandatory]. src - The absolute url of the image file. [Optional]. srcKey - The key of the message resources string specifying the source URL of the image for this input tag. ...
SubmitTag: A custom JSP tag that produces a submit button whose label is different from the submitted value. Note this tag will not work if it sits next to a Struts html:submit tag. Convert other tags to rs:submit, to make sure it all works fine! This tag takes the following attributes: name - The name of the current form. [Mandatory]. label - The label of the submit button. [Mandatory]. value - The value of property to submit. Defaults to property's current value. [Optional]. property - The property to be set to value. Defaults to "formAction". [Optional]. defaultValue - The default value to submit, used ...
BelongsToTag: Evaluate the body of this tag only if the user specified by name, property and scope (or the currently logged-on user, if name is not specified) is a member (or not!) of the given group, or is a member of any group with the given group type. This tag takes the following optional parameters. Either group or groupType must be specified: name - specifies the attribute name of the bean whose property is accessed to retrieve the value specified by property (if specified). If property is not specified, the value of this bean itself will specify the user. If name is not specified, the currently logged-on ...
CheckLogonTag: Check for a valid User logged on in the current session under the key RuntimeParameters.getParam("logonUserKey") . If there is no such user, forward control to the logon page. Important: This tag must be placed on a jsp page before anything is written to the response. It's safest to always put it at the top. This tag takes the following optional parameters: page - the page to go to if the user is not logged in (defaults to /logon.jsp) group - if set then the tag will only admit users if they are logged in, and are members of the UserGroup with this name. groups - if set then the tag will only admit ...
LoadBeanTag: A custom JSP tag that sets the request parameters necessary for calling a BeanLoaderAction . This tag takes the following attributes: action - the name of the action that will load the bean. This will normally be of type BeanLoaderAction , and the action mapping for this action (defined in struts-config.xml) defines the type of bean to load, and the form to populate. [Mandatory]. name - the name of the bean, under page or request or session scope, that holds the id of the bean to load as a property [Optional]. scope - the scope of the bean to load [Optional]. property - the property of the bean, ...
CheckEditTag: Check if a user can edit the named session-scoped bean. This bean must implement the PermissionBean interface. If they do not have permission to edit this bean, control will be forwarded to a page that will display errors (defaults to /logon.jsp). By default, the User on the session under RuntimeParameters.get("logonUserKey") will be used. A different User bean on the session can be used by specifying the "user" parameter. This tag assumes the user is logged on; this tag should be used after checkLogon (unless "user" is specified). Attributes: name - The name of the bean to check edit permissions ...
CheckViewTag: Check if a user can view the named session-scoped bean. This bean must implement the PermissionBean interface. If they do not have permission to view this bean, control will be forwarded to a page that will display errors (defaults to /logon.jsp). By default, the User on the session under RuntimeParameters.get("logonUserKey") will be used. A different User bean on the session can be used by specifying the "user" parameter. This tag assumes the user is logged on; this tag should be used after checkLogon (unless "user" is specified). Attributes: name - The name of the bean to check view permissions ...
PlainTextLinkTag: a custom jsp tag that creates a link to the Runtime Betsie server or another Betsie server if specified in web.xml or the tag. You can also define the hostname of the site using your link either directly to the tag or in the web.xml Betsie is an opensource accessability tool that uses perl to render a plaintext version of your site suitable for text to speach web browsing. You can learn more by visiting http://betsie.sourceforge.net/ Takes the following attributes betsieDomain - Where the Betsie server is running. If not set checks web.xml for a parameter, if thats not set uses the default Runtime ...
HtmlInputTag: An abstract class for custom JSP tags that display a Java applet for WSIWYG editing of HTML. This class must be extended to provide methods for what applet class to use, what parameters to send in, and what script snippets (if any) are necessary. IMPORTANT: This tag must be used inside a form, and the form creation tag must contain onsubmit="return getHTMLEditorAppletValue()" , for example: <html:form action="/testHtmlAction" onsubmit="return getHTMLEditorAppletValue()"> Only one HtmlInputTag can be used per HTML page. This tag takes the following attributes: property ...
CrumbTrailTag: A custom JSP tag that adds the current page to the crumb trail and displays the result. Why not just hard-code the crumb trail into the jsp (or html)? This is OK for simple sites in which the same page is only accessed by a single path (i.e. which form a non-recurrent tree.) The advantage with this tag is that it can cope with more complex site graphs in which the same page can be access by multiple routes. This tag takes two attributes: label - the label to be given to the current page [Optional]. labelName, labelProperty - If label is not set, then the label can be taken from a bean of the given ...
EntityBeanTag: An abstract class meant to provide a base for tags that use EntityBeans. The getEntityBean(String entityName) method returns an EntityBean based on the values of name , scope , id , parameter , or throws a JspTagException if the EntityBean cannot be found from these values. You should pass in the EntityBean's class name. You should implement the doStartTag and doEndTag methods. They should call getEntityBean(String entityName) to get the EntityBean to use. If you add more properties, consider overriding release to free these resources as well. name - the name of the EntityBean object to use. [Optional]. ...
FindBeanCollectionTag: Finds a collection of EntityBean's given the bean type and a named query. The tag uses reflection to call the static finder method for the query on the bean type. The naming convention for the finder method is: public static Collection findQueryName(); Attributes: name - the name of the collection to create. scope - the scope in which to create the collection. [optional] type - the subtype of the EntityBean in which the finder is defined. query - the name of the query to be executed. For example, the tag: <rs:findBeans name="giraffes" type="com.RuntimeCollective.webapps.bean.Giraffe" ...
DefineTag: Define a scripting variable based on the value(s) of the specified bean property. This tag takes the following parameters: id - the name of the scripting variable that will be populated with the value. param - the name of the request parameter that contains the value. type - the type of the bean to be defined. toScope - the scope in which to define the bean (default: page scope). name - the name of the variable to search for. property - the property of the named variable that contains the value. scope - the scope to search for the value in. value - the value to define the bean as. In addition to ...
DateInputTag: A custom JSP tag that creates the input fields necessary to enter a com.RuntimeCollective.webapps.bean.DateBean . This tag takes the following attributes: property - the property of the form bean that contains the com.RuntimeCollective.webapps.bean.DateBean that the user should enter. [Mandatory] name - the name of the form bean (on any scope) that contains the date property. If this is not set, then the values of the date fields default to today. [Optional] scope - the scope of the form bean. [Optional] time - If "true", then include fields for entering a time. [Optional, default=false] Note - ...
SessionInputTag: Stores an ActionForm property in the session for use in the target action of the enclosing form. The principle benefit of this method of parameter passing is that the target Action can be more certain that the requesting browser intends that thia action should be executed. This tag makes use of the Struts transaction key, if it is available, to ensure the uniqueness of the name under which the property is stored. FIXME: currently (2002/10/26) if the user does not submit the form the stored property will never be removed from the Session until it expires. Attributes: name - the name of the bean ...
TreeBreadcrumbTag: View the breadcrumb trail for a given TreeExtension. This JSP tag takes the following attributes: name - the name under which the TreeExtension is stored. scope - the scope under which the TreeExtension is stored [Optional]. property - if the TreeExtension is not stored in "name", but in "name.property" [Optional]. displayProperty - the property to use to render each TreeExtension.getEntityBean() in the breadcrumb, defaults to "name". displayPath - the path to use to render the links in the breadcrumb (eg "/viewNode.jsp?id="), only relevent if asLinks is set to true [Optional]. asLinks - whether ...
TreeSelectTag: This tag generates a drop-down list from which you can select one element in a tree. You can specify a default 'value', otherwise the property of the form bean will be used. The tree which will be displayed is infered either from the 'value' you provide, or from the property of the form. One of these has to be not null. name : the name of the form bean property : the property you want to make selectable, must be an int (id of a TreeExtension) value : a default value which will be selected (the id of a TreeExtension) [optional] excludedValue : a value (id) which will not be displayed, not its children ...
WebfolderSelectTag: A custom JSP tag that creates an input select box containing all files in the current user's webfolder. The filename selected is does NOT include the path to the User's directory. For this reason the actual Bean which stores the property should be given in the name property, NOT the ActionForm bean. This is because it is the form's responsibility to generate the correct path to the resource. property - the property of the form bean that will be set to the selected filename. allowBlank - allows a blank selection to be made. [Optional] [default: false] htmlOnly - only show files that end in .html ...
ActionContextStoreTag: Saves an object from the request to the action context, if it is in the request; or loads it from the action context to the request otherwise. You will need this tag when, for example, viewing an Object over several JSPs (such as a List spanning on more than 1 page). To do this, get the initial action to load the object on the request, then on the JSP, add the following: <rs:acStore requestName="myObj" acName="myObj" /> This will ensure that the bean is saved on the action context, and reloaded every time. Note: you will most probably need to have the rs:parseTxToken tag near the top of your ...
HtmlTagButtons: A custom JSP tag that displays buttons which, when clicked, add 'bold', 'italic', and 'underline' html markup tags to the specified input field: name - The name of the current form. [Mandatory]. property - The name of the input field to which the tags will be added [Mandatory]. iconDirectory - The relative path to the directory that holds appropriate icon gifs for the buttons (bold.gif, underline.gif, and italic.gif). [Mandatory]. anchor - The anchor to scroll to once the tags have been added. [Optional]. This allows you to either specify the value explicitly, or take it from a bean's property ...
HtmlInputJSTag: A custom JSP tag that displays a Java applet for WSIWYG editing of HTML. This uses Javascript to-Java communication for setting the form value, hence is not suitable for use on Internet Explorer running on Macintosh computers. If you want IE Mac compatibility, consider using HtmlInputPostTag instead. IMPORTANT: This tag must be used inside a form, and the form creation tag must contain onsubmit="return getHTMLEditorAppletValue()" , for example: <html:form action="/testHtmlAction" onsubmit="return getHTMLEditorAppletValue()"> Only one HtmlInputTag can be used per HTML page ...
HasNoMembersTag: Evalute the nested body content of this tag if the specified value is not present on this request, or is an array, collection, iterator, enumeration or map of length=0. This tag takes the following parameters: name -- The name of the bean that holds the value. [Mandatory] property -- The property on the bean that holds the value. [Optional] scope -- The scope of the bean that holds the value. [Optional] collection -- A runtime expression that evaluates to a collection. If this is defined then name, property, and scope are ignored. [Optional]
HasMembersTag: Evalute the nested body content of this tag if the specified value is present on this request, and is an array, map, iterator, enumeration or collection of length>0. This tag takes the following parameters: name -- The name of the bean that holds the value. [Mandatory] property -- The property on the bean that holds the value. [Optional] scope -- The scope of the bean that holds the value. [Optional] collection -- A runtime expression that evaluates to a collection. If this is defined then name, property, and scope are ignored. [Optional]
SpacerRowTag: A JSP tag that displays a table row of spacer images. For example: <spacerRow widths="10, 308, 318" height="1" image="/templates/graphics/spacer.gif" /> will display: <tr> <td><img src="/templates/graphics/spacer.gif" alt=" " height="1" width="10" /></td> <td><img src="/templates/graphics/spacer.gif" alt=" " height="1" width="308" /></td> <td><img src="/templates/graphics/spacer.gif" alt=" " height="1" width="318" /></td> </tr> Height is optional, defaults to 1. Widths and Image are mandatory.
HtmlInputPostTag: A custom JSP tag that displays a Java applet for WSIWYG editing of HTML - specifically, the gateway of a resource. IMPORTANT: This tag must be used inside a form, and the form creation tag must contain onsubmit="return getHTMLEditorAppletValue()" , for example: <html:form action="/testHtmlAction" onsubmit="return getHTMLEditorAppletValue()"> Only one HtmlInputTag can be used per HTML page. This tag takes the following additional attributes: saveAction [optional] entityBean - on the session

Home | Contact Us | Privacy Policy | Terms of Service