Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
insite:edit
Edits assets from the user interface.
Syntax
<insite:edit assetid="ID of asset" assetfield="Attribute_name of asset's field" assetfieldvalue="field value to be edited" assettype="type of asset" [ewebeditpro="true|false"] [width="pixels or percentage"] [height="pixels"] [variable="variable name"] [ssvariable="session variable name"] [property="property name"] [list="list name"] [column="column name"]/>Parameters
assetid (required)- ID of the asset to be edited.
 
assetfield (required)- Name of the field of the asset to be edited.
 
assettype (required)- Type of asset to be edited.
 
ewebeditpro (optional)- Legal values are
 trueorfalse. The default value isfalse.
width (optional)- Width of the asset in percentage or pixels. The default value is
 100%.
height (optional)- Height of the asset in pixels only. The default value is
 200pixels. Percentage values are unsupported.
variable (optional)- You must use at least one of the following four parameters:
 variable,ssvariable,property, orlistandcolumn(listandcolumnmust be used together). Name of the Content Server variable that you want to stream to a page. For example, for a variable called foo, set the parameter equal to foo rather than toVariables.foo.
ssvariable (optional)- You must use at least one of the following four parameters:
 variable,ssvariable,property, orlistandcolumn(listandcolumnmust be used together). Name of the Content Server session variable that you want to stream to a page.
property (optional)- You must use at least one of the following four parameters:
 variable,ssvariable,property, orlistandcolumn(listandcolumnmust be used together). A Content Server property from the futuretense.ini property file.
list (optional)- You must use at least one of the following four parameters:
 variable,ssvariable,property, orlistandcolumn(listandcolumnmust be used together). Name of the list.
column (optional)- You must use at least one of the following four parameters:
 variable,ssvariable,property, orlistandcolumn(listandcolumnmust be used together). Name of the field in the list.
Description
This tag allows you to edit assets in the Content Server system. When editing standard assets (the
assetfiledidis the column name, for example), theHeadlinefield is the description column for Article assets. When editing flex assets, the attribute name should be preceded by the prefixAttribute_; for example, thebodyattribute would beAttribute_body. For more information about editing assets, see the CS Developer's Guide.Example
<insite:edit assetid="Variables.cid" assetfield="Attribute_headline" assetfieldvalue="assetlist.SORT_headline" assettype="AArticles" ewebeditpro="true" width="100%" height="200"/>
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.