/** * Copyright (c) 2009 Juwi MacMillan Group GmbH * * 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 de.juwimm.cms.cocoon.acting; /** * An <code>Action</code> for dynamically loading of site-specific Actions. * * <p> * <h5>Configuration:</h5> * * <pre> * <map:action name="web20action" src="de.juwimm.cms.cocoon.acting.GenericAction"> * <siteShort>qmd</siteShort> * <classname>de.juwimm.web20.cocoon.acting.Web20InsertAction</classname> * <classpath> * <jar>juwimm-web20-cocoon-1.0.0.jar</jar> * <jar>juwimm-web20-common-1.0.0.jar</jar> * <jar>juwimm-web20-core-1.0.0-client.jar</jar> * </classpath> * </map:action> * </pre> * * </p> * <p> * <h5>Usage:</h5> * You can use this dynamically loaded action like every other action: * * <pre> * <map:match pattern="test/web20insert.xml"> * <map:act type="web20action"> * <map:parameter name="use-request-parameters" value="true" /> * <map:parameter name="siteId" value="6" /> * <map:parameter name="viewComponentId" value="639" /> * <map:parameter name="cqUserName" value="username" /> * <map:generate src="xml/web20.xml" /> * <map:transform type="web20"> * <map:parameter name="siteId" value="6" /> * <map:parameter name="viewComponentId" value="639" /> * <map:parameter name="cqUserName" value="username" /> * </map:transform> * <map:transform type="vcresolve" /> * <map:serialize type="xml" /> * </map:act> * </map:match> * </pre> * * </p> * * @author <a href="mailto:carsten.schalm@juwimm.com">Carsten Schalm</a> , Juwi|MacMillan Group Gmbh, Walsrode, Germany * @version $Id$ * @deprecated Use {@link org.tizzit.cocoon.generic.acting.GenericAction} instead! */ @Deprecated public class GenericAction extends org.tizzit.cocoon.generic.acting.GenericAction { }