Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
asset:checkout
Checks out a revision tracked asset for editing.
Syntax
<asset:checkouttype="asset type"objectid="asset id"/>Parameters
type (required)- Input. The asset type of the asset to check out.
objectid (required)- Input. The asset id of the asset to check out
Description
This tag checks out an existing asset for edit. Other users will be prevented from checking out the asset until it is checked back in.
Error Numbers
The possible values of
errnoinclude:
Example
This checks out an asset for edit.
<asset:checkout type="Page" objectid='<%=ics.GetVar("assetid")%>' /> <ics:if condition='<%=ics.GetVar("errno").equals("0")%>'> <ics:then> <asset:load name="assetToEdit" type="Page" objectid='<%=ics.GetVar("assetid")%>' option="editable" /> ... </ics:then> </ics:if>See Also
asset:checkin
asset:load
asset:track
asset:rollback
asset:undocheckout
Home > Contents > Index > 
Oracle JSP Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.