JSP Controls Tag Library
 

accept (Tag Library Documentation Generator - Generated Documentation)


JSP Controls Tag Library
Tag accept


The body of this tag is evaluated if request contains an event parameter. By default, the key of event parameter is built using event name like "login" and a standard event suffix ".jspcontrols.event", resulting in "login.jspcontrols.event". Value of event parameter is not used, but you are advised to specify it, using any dummy value like "1" or "TRUE", so the complete key/value pair of event parameter would result in something like "login.jspcontrols.event=TRUE". The "eventmask" attribute a Accept tag must precede Prerender and Render tags on JSP page. Only one Accept tag should be specified per component.

Tag Information
Tag Classnet.jspcontrols.tags.AcceptTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
eventmaskfalsetruejava.lang.StringAllows to specify custom event mask. The request parameters are iterated over to find a key that contains event mask as a substring. If found, request is considered to contain an event. Accept tag does not process custom event types. It evaluates its body when custom type event is supplied in request. This allows to have a custom event processing mechanism like a Struts action, all you need is to call an action from within the body of Accept tag.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.