基本自訂 > User Interface Customization > Customizing HTML Clients Using the Windchill JSP Framework > Checkin/Checkout
  
Checkin/Checkout
Objective
You want to be able to checkin and checkout an object.
Background
The ability to check in and checkout gives the ability to track changes to an object by providing an iteration history of each change. Also if a user has an object checked out, no other user may modify the object until it has been checked back in.
In order for an object to work with the checkin/checkout common component it must implement the wt.vc.wip.Workable interface.
Scope/Applicability/Assumptions
The object implements either the Workable interface.
Familiarity with the actions framework
Familiarity with the basic concepts of checkin/checkout
Intended Outcome
By following these procedures you should be able to add or modify the checkin and checkout actions.
Checkout action (no wizard involved)
Checkout status icon after the object is checked out
Checkin wizard (in this case with primary content but the primary attachment component will not appear if your object does not support it).
Solution
Sample Code
Customizing HTML Clients Using the Windchill JSP Framework