AjaxTag Library
Tag portlet

Builds the JavaScript required to build a portlet style view.

Tag Information
Tag Classnet.sourceforge.ajaxtags.tags.AjaxPortletTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

startMinimizefalsetruebooleanTo start the Portlet minimized.
varfalsetruejava.lang.StringName of the JavaScript object created.
attachTofalsetruejava.lang.String Name of the JavaScript object to which portlet will attach. You must define 'var' attribute for this to work.
baseUrltruetruejava.lang.String URL of server-side action or servlet that processes a simple command.
sourcetruetruejava.lang.StringThe ID of the portlet.
parametersfalsetruejava.lang.String A comma-separated list of parameters to pass to the server-side action or servlet.
classNamePrefixfalsetruejava.lang.String CSS class name prefix to use for the portlet's 'Box', 'Tools', 'Refresh', 'Toggle', 'Close', 'Title', and 'Content' elements. Default: "portlet"
titletruetruejava.lang.StringTitle for portlet header.
imageClosefalsetruejava.lang.StringImage used for the close icon.
imageMaximizefalsetruejava.lang.StringImage used for the maximize icon.
imageMinimizefalsetruejava.lang.StringImage used for the minimize icon.
imageRefreshfalsetruejava.lang.StringImage used for the refresh icon.
refreshPeriodfalsetruejava.lang.String The time (in seconds) the portlet waits before automatically refreshing its content. If no period is specified, the portlet will not refresh itself automatically, but must be commanded to do so by clicking the refresh image/link (if one is defined). Lastly, the refresh will not occur until after the first time the content is loaded, so if executeOnLoad is set to false, the refresh will not begin until you manually refresh the first time.
executeOnLoadfalsetrueboolean Indicates whether the portlet's content should be retrieved when the page loads. Default: true
preFunctionfalsetruejava.lang.String Function to execute before AJAX is started. Should return string "cancel" to cancel AJAX execution.
postFunctionfalsetruejava.lang.String Function to execute after AJAX is finished, allowing for a chain of additional functions to execute.
errorFunctionfalsetruejava.lang.String Function to execute if there is a server exception (non-200 HTTP response).
parserfalsetruejava.lang.String The response parser to implement. Default: ResponseHtmlParser

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.