Home > Contents > Index >
asset:checkin
Checks in a revision tracked asset.
Syntax
<asset:checkin
name="
loaded asset
"
[annotation="
asset id
"]
[checkout="
true|false
"]
[flush="
true|false
"]>
Parameters
name
(required)- Input. Name of the loaded asset. (See
asset:load
.)
annotation (optional)
- Input. Specifies an annotation that is associated with the checkin.
checkout (optional)
- Input. Specifies whether to leave the asset checked out. The default is
false
and does not leave the asset checked out.
flush (optional)
- Input. Specifies that upon success, the object should be flushed from the object pool. A
true
value indicates that object should be flushed. The default is value iffalse
.
Description
This tag checks in a previously checked out asset.
Error Numbers
The possible values of
errno
include:
Value Description -10004 A required parameter is missing. -10005 The requested object is not in the object pool (is not loaded intomemory). -10012 Object is not checked out. -10016 Unable to check in specified object.Example
This checks in an asset.
<asset:load name="assetToEdit" type="Page" objectid='<%=ics.GetVar("assetid")%>' option="editable" /> ... <asset:save name="assetToEdit" /> <asset:checkin name="assetToEdit" annotation="Edits saved" />See Also
asset:checkout
asset:load
asset:track
asset:rollback
asset:undocheckout
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.