All Downloads are FREE. Search and download functionalities are using the official Maven repository.

wicket.extensions.markup.html.repeater.OrderedRepeatingView Maven / Gradle / Ivy

There is a newer version: 1.2.7
Show newest version
/*
 * $Id: OrderedRepeatingView.java 4196 2006-02-08 18:53:57Z jonathanlocke $
 * $Revision: 4196 $ $Date: 2006-02-08 19:53:57 +0100 (Wed, 08 Feb 2006) $
 * 
 * ==================================================================== 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
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * 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.
 */
package wicket.extensions.markup.html.repeater;

import java.util.ArrayList;
import java.util.List;

import wicket.Component;
import wicket.model.IModel;

/**
 * This view has been deprecated. It is no longer needed since wicket will now
 * guarantee that the order in which MarkupContainer.iterator() returns child
 * components is the order in which they were added. Use {@link RepeatingView}
 * instead.
 * 
 * 
 * A repeater view that renders all of its children, using its body markup, in
 * the order they were added.
 * 
 * For an example see {@link RepeatingView}
 * 
 * @see RepeatingView
 * 
 * @deprecated
 * 
 * @author Igor Vaynberg ( ivaynberg )
 * 
 * TODO Post 1.2: Remove this class
 * 
 */
public class OrderedRepeatingView extends RepeatingView
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** List of ids of children components in the order they were added */
	private List order = new ArrayList();

	/** @see Component#Component(String) */
	public OrderedRepeatingView(String id)
	{
		super(id);
	}

	/** @see Component#Component(String, IModel) */
	public OrderedRepeatingView(String id, IModel model)
	{
		super(id, model);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy