/* * Copyright (c) 2008 Edia (www.edia.nl) * * Licensed under the Educational Community License version 1.0 * * This Original Work, including software, source code, documents, or other related items, is being * provided by the copyright holder(s) subject to the terms of the Educational Community License. By * obtaining, using and/or copying this Original Work, you agree that you have read, understand, and * will comply with the following terms and conditions of the Educational Community License: * * Permission to use, copy, modify, merge, publish, distribute, and sublicense this Original Work * and its documentation, with or without modification, for any purpose, and without fee or royalty * to the copyright holder(s) is hereby granted, provided that you include the following on ALL * copies of the Original Work or portions thereof, including modifications or derivatives, that you * make: * * - The full text of the Educational Community License in a location viewable to users of the * redistributed or derivative work. * * - Any pre-existing intellectual property disclaimers, notices, or terms and conditions. * * - Notice of any changes or modifications to the Original Work, including the date the changes * were made. * * * Any modifications of the Original Work must be distributed in such a manner as to avoid any * confusion with the Original Work of the copyright holders. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT * NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * * The name and trademarks of copyright holder(s) may NOT be used in advertising or publicity * pertaining to the Original or Derivative Works without specific, written prior permission. Title * to copyright in the Original Work and any associated documentation will at all times remain with * the copyright holders. */ package org.sakaiproject.lessonbuildertool.tool.producers; import uk.org.ponder.rsf.components.UIContainer; import uk.org.ponder.rsf.view.ComponentChecker; import uk.org.ponder.rsf.view.ViewComponentProducer; import uk.org.ponder.rsf.viewstate.ViewParameters; /** * This produces a page that reloads the parent page. This only needs to be used when the title of a * top-level page has been changed (so that the sidebar title changes). * * @author Maarten van Hoof * */ public class ReloadPageProducer implements ViewComponentProducer { public static final String VIEW_ID = "ReloadPage"; public String getViewID() { return VIEW_ID; } public void fillComponents(UIContainer tofill, ViewParameters viewparams, ComponentChecker checker) {} }