Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
asset:saveall
Calls asset:save for all assets named with the prefix name plus a counter.
Syntax
<asset:saveall type="asset type" prefix="loaded asset name" [initcount="integer"] [flush="true|false"] />Parameters
type (required)- Type of the asset to save.
prefix (required)- Base name of the loaded asset. The object name consists of this value plus a counter incremented by 1.
initcount (optional)- Initial value of the counter to be appended to the PREFIX value to determine the object name of the loaded asset. The default value is
1.
flush (optional)- If set to
true, the object is flushed from the object pool. The default value isfalse.
Error Numbers
When an error is encountered, other assets are saved. A list of error messages is written to
Variables.errdetailsn, wherenis an iterator beginning with 1.The possible values of
errnoinclude:
This example loads and saves the images with ids listed in the "idlist" variable.
<asset:loadall ids='<%=ics.GetVar("idlist")%>' type="Image" prefix="image"/> <ics:getvar name="imageTotal"/> assets loaded. <asset:saveall type="Image" prefix="image"/> <ics:geterrno/>See Also
asset:loadall
Home > Contents > Index > 
Oracle JSP Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.