Home > Contents > Index >
object:undocheckout
Retracts the checkout of an object.
Syntax
<object:undocheckout name="some object name" [revert="true|false"] [flush="true|false"]/>Parameters
name (required)
- Name of the object.
revert (optional)
- Specifies that the object should revert back to its last committed state. The default value
true
causes the object to revert back to its last committed state. Specifying the valuefalse
removes the checkout lock with out reverting the object back to the last committed state.
flush (optional)
- Flushes the object from the object pool. A
true
value indicates the object should be flushed. The default value isfalse
.
Description
This tag is used for retracting a checkout made on an object in the Sites system. The object can be reverted to its last committed state, or have the checkout lock removed.
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). -10011 Database table is not revision tracked. -10012 Object is not checked out -10018 Unable to undo check out specified objectExample
The following example retracts the checkout for
object1
, reverts it to it the last committed state, and flushes it from memory.<object:undocheckout name="object1" revert="true" flush="true"/>See Also
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.