object

object

This tag is used to render a contentType on a display page

Metadata

Examples

Basic usage. Rendering a packages/forms object:
<ft:object typename="mmInquiry" />
Rendering specific fields
<ft:object typename="farLogin" lFields="username,password" prefix="login" legend="" />
Separate items from the same contentType, but grouped so ft:processFormObjects only sees one object:
<h1>Your Stuff</h1>
<ft:object typename="mmInquiry" lFields="firstname,lastname" key="thereCanBeOnlyOne" />

<h1>Other Stuff</h1>
<ft:object typename="mmInquiry" lFields="kidsname,dogsname" key="thereCanBeOnlyOne" />

Attributes

Name Type Required Default Options Description
ObjectID string No ObjectID of object to render
stObject string No Object to render
typename string No Type of Object to render
key string No Used to group several ft:objects into one object. (Used to generate a new object) For example, if you have several ft:object's in an ft:form you can use this to group them into one object for ft:processFormObjects
ObjectLabel string No Used to group and label rendered object if required
lFields string No List of fields to render
lExcludeFields string No label List of fields to exclude from render
class string No class with which to set all farcry form tags
style string No style with which to set all farcry form tags
format string No edit edit or display
IncludeLabel string No 1
labelClass string No label The class to be applied to all labels
IncludeFieldSet string No
IncludeBR string No 1
InTable string No 0
insidePLP string No 0 how are we rendering the form
r_stFields string No the name of the structure that is to be returned with the form field information.
r_stPrefix string No the name of the structure that is to be returned with the form field prefix used.
stPropMetadata string No #structNew()# This is used to override the default metadata as setup in the type.cfc
wizardID string No If this object call is part of a wizard, the object will be retrieved from the wizard storage
bValidation string No true Flag to determine if client side validation classes are added to this section of the form.
lHiddenFields string No List of fields to render as hidden fields that can be use to inject a value into the form post.
stPropValues string No #structNew()#
bIncludeSystemProperties string No false Allow system properties to be displayed..
lock string No true Lock if editing.
bShowFieldHints boolean No true Flag to determine if the field hints are display.
prefix string No Allows the developer to pass in the prefix they wish to use. Default is the objectid stripped of the dashes.
focusField string No Enter the name of the field to focus on when rendering the form.