// Copyright 2004, 2005 The Apache Software Foundation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
This interface is used by the
For component. When a primary
key converter is available, it is used during the render, and as part of the
rewind phase that processes the form submission.
is invoked for each value.
This method is invoked just before the For's body is rendered. The resulting
primary key is written into the client as a hidden form field.
Likewise, during rewind,
is invoked for each key,
to get back the same (or equivalent) object. Again, the method is invoked
just before the For's body is rendered.
relationship between a For component and its primary key converter to track
what the current value being rendered or rewound is.