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

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 is false.

Error Numbers

When an error is encountered, other assets are saved. A list of error messages is written to Variables.errdetailsn, where n is an iterator beginning with 1.

The possible values of errno include:

Value
Description
-105
Database error.
-10001
The implementing class is invalid.
-10002
There is a missing method for the implementing class.
-10003
The method could not be invoked successfully.
-10004
A required parameter is missing.
-10005
The requested object is not in the object pool (is not loaded into memory).
-12018
Missing publication.
-12034
Publish in progress.
-12065
Error updating AssetPublication.
-12070
Asset not fully loaded. Must used "editable" option when loading the asset.

This example loads and saves the images with ids listed in the "idlist" variable.

See Also

   Home > Contents > Index >

Oracle JSP Tag Reference
Copyright (c) 2013, 2016 Oracle and/or its affiliates. All rights reserved.