layout


Standard Syntax:
     <%@ taglib prefix="layout" uri="http://www.sourceforge.net/springLayout" %>

XML Syntax:
     <anyxmlelement xmlns:layout="http://www.sourceforge.net/springLayout" />

Spring Framework Layout extensions JSP Extension Tag Library. Author: Rob Monie, Adam Boas

Tag Library Information
Display NameNone
Version1.0
Short Namelayout
URIhttp://www.sourceforge.net/springLayout
 

Tag Summary
configRenders Javascript and css imports and sets up an required javascript variables, so the form can utilise SpringLayout
formDefault implementation of a Form, Binds to the specified layout formBean exposing the bean to field tags.
multiPanelFormRenders panel tabs for the specified panelFormGroup. Exposes the current panel by name to the page context for use by enclosing forms. Forms then have access to fieldDefinitions for the current form panel.
displayRenders a field's value for display. If saveFieldValue is set to true a hidden field is rendered to the html that can be updated using javascript and submitted with the form. If the saveFieldValue property is set to false (default), the hidden field is rendered as disabled so it's value is not persisted with a submission of the form.
inputRenders an input field
autocompleteRenders an autocomplete input field
dateRenders an input field with date formatting and date picker
textareaRenders an text area field
selectRenders a select field (dropdown list box) with options refer to OptionsTag
optionsRenders an options for a select
labelRenders a field label
radioButtonsRenders a radio button group in both edit and read only modes
checkBoxesRenders a check box group in both edit and read only modes
ifEditModeRenders the body of the tag if the page is in edit mode.
ifReadModeRenders the body of the tag if the page is in read mode.
checkboxTrueFalseRenders a checkbox which can only hold the values true and false
forEachErrorIterates over the errors attribute exposing each as a variable defined via the var property
errorsshows errors for the path, supports wildcard paths such as fieldPath.*
forEachMessageIterates over the messages attribute exposing each as a variable defined via the var property
hasPageFunctionEvaluates the user's pageFunctionPermissions and determines if a user has the specified access to the given function. Possible values for state are 'enabled', 'disabled' and 'hidden'.
swapCommandObjectUsed to swap the command object as a page is rendered based on the command object of the controller bean specified. Useful when displaying multiple pages from a multi-panel controller at once such as printing.
dataGridRenders a table which can become editable.
dataGridColumnRenders a column inside a datagrid.
dataGridRemoveColumnRenders a column which contains controls to remove a row in a dataGrid.
pageErrorsshows errors messages, with a generic message for required field errors if any present.
 


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