Open Patterns Dialog Layout


Standard Syntax:
     <%@ taglib prefix="dialog" uri="http://www.opensubsystems.org" %>

XML Syntax:
     <anyxmlelement xmlns:dialog="http://www.opensubsystems.org" />

Collection of tags simplifying creation of user interface dialogs consisting of controls allowing user to access and modify data.

Tag Library Information
Display NameOpen Patterns Dialog Layout
Version1.2
Short Namedialog
URIhttp://www.opensubsystems.org
 

Tag Summary
unknownrowCustom tag to for the controls placed in a not yet known row of not yet known dialog, which these controls will use to construct their own IDs. Use this tag when you generate content of dialog row, which will be inserted into a real dialog row using tiles:put and tiles:insert and therefore the id of the dialog row where the controls will be inserted is not known yet. At the time when the unknown row is placed into a real dialog row, the placeholder id will be substituted for a real id.
rowCustom tag to generate all HTML code necessary to display row of a dialog, which usually contains single label and a single control possibly stretching the entire width of a dialog. The dialog row will be created from the content of the body of this tag.
splitrowCustom tag to generate all HTML code necessary to display two column row of a dialog. The dialog row can then contain controls in the left column and different controls in the right columns. The left column of the dialog is created using lefthalf tag and the right column is created using righthalf tag. Lefthalf and righthalf tags has to be placed in this order inside of the splitrow tag.
lefthalfCustom tag to generate all HTML code necessary to display left half of split dialog row. The content of the left half of the dialog row will be created from the content of the body of this tag. This tag has to be placed inside of splitrow tag befor the righthalf tag.
righthalfCustom tag to generate all HTML code necessary to display right half of split dialog row. The content of the right half of the dialog row will be created from the content of the body of this tag. This tag has to be placed inside of splitrow tag after the lefthalf tag.
labelCustom tag to generate control label which serves as a trigger to display context help for some control associated with the label. The association between the control and its label is made using id, since both the label, the control and the context help should be constructed by other dialog custom tags using the same id or placed within a dialog row or a column of dialog row with the same id.
textCustom tag to generate all HTML code necessary to display control containing read only text displayed in the dialog row.
editCustom tag to generate all HTML code necessary to display single line edit control displayed in the dialog row.
passwordCustom tag to generate all HTML code necessary to display single line password edit control displayed in the dialog row.
contexthelpCustom tag to generate all HTML required to display context help for a control. You can use the HelpLabelTag to display this context help when user clicks on the label. It is expected that this tag will be placed in the dialog row or column of a dialog row immediately following the control it belongs to. The context help will be by default displayed at the row boundary (in case the row is split into left and right half) and not at the field boundary.
imagebuttonCustom tag to generate all HTML code necessary to display image button control, that is button with image and text, displayed int the dialog row.
selectCustom tag to generate all HTML code necessary to display select control allowing user to select item from a list of elements displayed in the dialog row.
comboCustom tag to generate all HTML code necessary to display combo control allowing user to select exactly 1 from the list of elements displayed in the dialog row.
textareaCustom tag to generate all HTML code necessary to display multi line edit control displayed in the dialog row.
checkboxCustom tag to generate all HTML code necessary to display checkbox control displayed in the dialog row.
doubleselectinitCustom tag to initialize the double select control allowing user to move items between left and right list. This needs to be the first tag of all double select tags and should be placed in the page before the html tag. The <core:pagecache id="xyz"/> in emptypage.jsp layout will take the elements put into cache by this tag and place them at a correct location.
doubleselectCustom tag to generate all HTML code necessary to display double select control, which contains 2 select lists and buttons that allow moving items between lists and optionally reordering items in the destination list.
doubleselectleftCustom tag to generate all HTML code necessary to display left half of the double select control allowing user to move items between left and right list. The generated code will display the left select list with buttons allowing to move items between 2 select lists. The list and the controls will be displayed in the left half of where the entire control should be generated. The content of the body of this tag will be used to generate the content of this list.
doubleselectrightCustom tag to generate all HTML code necessary to display right half of the double select control allowing user to move items between left and right list. The generated code will display the right select list with buttons allowing to reorder items in the right list. The list and the controls will be displayed in the right half of where the entire control should be generated. The content of the body of this tag will be used to generate the content of this list.
doubleselectoptionsCustom tag to generate all HTML code necessary to display options of the double select from a single string which contains concatenated and potentially encoded list of values and texts.
dynamiclistinitCustom tag to initialize the dynamic list control that allows to type an item and then add it to the list, edit the items already in the list and reorder the items in the list. This needs to be the first tag of all dynamic list tags and should be placed in the page before the html tag. The <core:pagecache id="xyz"/> in emptypage.jsp layout will take the elements put into cache by this tag and place them at a correct location.
dynamiclistCustom tag to generate all HTML code necessary to display dynamic list control that allows to type an item and then add it to the list, edit the items already in the list and reorder the items in the list. The first row will display edit field + optional checkbox + Add button. Below it will be displayed multiselect list with buttons Remove, Up and Down. The initial content of the list will be specified in the page using standard options tags. The values of the option tags can contain optional id that is different from the displayed text and an optional order number of the item. If the id and order number are specified, they must be specified in the value parameter of the options tag in the following format: id:order.
calendarinitCustom tag to initialize the calendar component. This needs to be the first tag of all dynamic list tags and should be placed in the page before the html tag. The <core:pagecache id="xyz"/> in emptypage.jsp layout will take the elements put into cache by this tag and place them at a correct location.
calendarCustom tag to generate all HTML code necessary to display calendar control displayed in the dialog row (calendar consists from edit box and button that will open calendar dialog).
multicontrolCustom tag to generate all HTML code necessary to display dialog control consisting from multiple controls from which only one is dislayed at a time. This allows user to enter data using different type of control based on the data type, but the data can be still identified with the same label and context help. Currently this control supports only edit field and combo box.
 


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.