API: Gui
Filename:
Released With:
5.0.0
Current Version:
1.0.0
Status: Active
Min Lasso Tested: 8.1.0
Max Lasso Tested: 8.5.3
Related:
Still don't get it?
Check out the talk list archives, or join and ask your questions.
Documentation Error or Request?
Email documentation corrections or comments
This is the configuration file used in conjunction with the fwp_rcrdList data type. The data type input parameters are minimal, and this is where all the work is done to define the list contents and style formatting. Every style attribute of the list is controlled through CSS, and the programmer specifies which CSS classes to use.
[output_none]
#
# version: 3.0
# released: 2004-04-06
#
# do not use literal { or } characters except for config file parsing
# use entities to display them as data if needed
#--------------------------------------------------------------------
# general table config
#
{tableConfig:
# <table> tag
listCellSpacePx===integer
#listCellPadPx===integer
#listTableBorderPx===integer
#listTableWidth===integer
# css <style=""> selector names to use
listDivClass===string
listHdrClass===string
listAltRowAClass===string
listAltRowBClass===string
listHdrSortClass===string
listDataSortClass===string
# location and size of asc|desc button images
listSortAscBtn===filepath
listSortDescBtn===filepath
# location of list navigation panel
listTopNavPanel===filepath
listBtmNavPanel===filepath
}
#--------------------------------------------------------
# data columns config
#
# this is a column which will contain a button link
{column:
lblName===string
lblStyle===string
cellType===form
cellWidth===integer
cellSortDefault===not used for forms, but must be here
cellContent===string / LDML code
cellStyle===string
formAction===filename
formHidden===comma separates list of var names
formButton===filepath
formBtnName===string
formPrvlg===string
}
# this is a plain display only column
{column:
lblName===string
lblStyle===string
cellType===field
cellWidth===integer
cellSortDefault===FWPro sort string
cellContent===string / LDML code
cellStyle===string
}
[/output_none]
Most of the configuration parameters should be self explanatory between the syntax reference above and the sample code below.
Each {column: } block can be used to create a cell which contains a graphic button in a form, or a plain display-only cell. The cellType=== item must be either the literal word form or field to designate it.
All values in the entire configuration file are used as literals except for the cellContent=== column items -- they are [process]ed to allow for conditional and dynamic control.
[output_none]
#
# version: 3.0
# released: 2004-04-06
#
# do not use literal { or } characters except for config file parsing
# use entities to display them as data if needed
#--------------------------------------------------------------------
# general table config
#
{tableConfig:
# table tag
listCellSpacePx===1
#listCellPadPx===0
#listTableBorderPx===0
#listTableWidth===
# css style selectors to use
listDivClass===stdlist
listHdrClass===hdr
listAltRowAClass===altrowA
listAltRowBClass===altrowB
listHdrSortClass===sorted
listDataSortClass===sorted
# location and size of asc|desc buttons
listSortAscBtn===[$fw_sPath->'controls']ibtn_sortAsc.gif
listSortDescBtn===[$fw_sPath->'controls']ibtn_sortDesc.gif
# location of list navigation panel
listTopNavPanel===[$fw_mPath->'panels']listNavPanel.dsp
#listBtmNavPanel===[$fw_mPath->'panels']listNavPanel.dsp
}
#--------------------------------------------------------
# data columns config
#
{column:
lblName===Edit
lblStyle===cntr
cellType===form
cellWidth===32
cellSortDefault===
cellContent===
cellStyle===cntr
formAction===updateForm
formHidden===fw_s
formButton===[$fw_sPath->'controls']ibtn_edit_org.gif
formBtnName===listBtnEdit
formPrvlg===
}
{column:
lblName===Name
lblStyle===cntr
cellType===field
cellWidth===223
cellSortDefault===refcName```asc```alphabetically by name
cellContent===[$m_rfcRnm]
cellStyle===left
}
{column:
lblName===API
lblStyle===cntr
cellType===field
cellWidth===52
cellSortDefault===refcAPI```asc```alphabetically by API
cellContent===[$m_rfcAPI]
cellStyle===cntr
}
{column:
lblName===Type
lblStyle===cntr
cellType===field
cellWidth===82
cellSortDefault===refcType```asc```alphabetically by Type
cellContent===[$m_rfcType]
cellStyle===cntr
}
{column:
lblName===Version
lblStyle===cntr
cellType===field
cellWidth===82
cellSortDefault===
cellContent===[$m_rfcVrsn]<br /><span class="dim">[$m_rfcVdat]</dim>
cellStyle===cntr
}
{column:
lblName===Modified
lblStyle===cntr
cellType===field
cellWidth===92
cellSortDefault===rcrdModified```desc```Modified date (recent at top)
cellContent===[fwpDate_mmShort4:$m_rModDate]<br /><span class="dim">[$m_rModBy]</dim>
cellStyle===cntr
}
{column:
lblName===Apv
lblStyle===cntr
cellType===field
cellWidth===32
cellSortDefault===
cellContent===[$m_rApv]
cellStyle===cntr
}
{column:
lblName===Del
lblStyle===cntr
cellType===form
cellWidth===32
cellSortDefault===
cellContent===
cellStyle===cntr
formAction===deleteForm
formHidden===fw_s
formButton===[$fw_sPath->'controls']ibtn_trash_red.gif
formBtnName===btnListDelete
formPrvlg===
}
[/output_none]
© 2002-2012, pageblocks.org