package org.sakaiproject.widgets.myconnections;

import org.apache.wicket.protocol.http.WebApplication;
import org.apache.wicket.spring.injection.annot.SpringComponentInjector;
import org.sakaiproject.widgets.myconnections.ui.WidgetPage;

/**
 * App class for My Connections widget
 *
 * @author Steve Swinsburg (steve.swinsburg@gmail.com)
 *
 */
public class WidgetApplication extends WebApplication {

	@Override
	public void init() {
		super.init();

		// Configure for Spring injection
		getComponentInstantiationListeners().add(new SpringComponentInjector(this));

		// Don't throw an exception if we are missing a property, just fallback
		getResourceSettings().setThrowExceptionOnMissingResource(false);

		// Remove the wicket specific tags from the generated markup
		getMarkupSettings().setStripWicketTags(true);

		// Don't add any extra tags around a disabled link (default is <em></em>)
		getMarkupSettings().setDefaultBeforeDisabledLink(null);
		getMarkupSettings().setDefaultAfterDisabledLink(null);

		// On Wicket session timeout, redirect to main page
		getApplicationSettings().setPageExpiredErrorPage(getHomePage());

		// cleanup the HTML
		getMarkupSettings().setStripWicketTags(true);
		getMarkupSettings().setStripComments(true);
		getMarkupSettings().setCompressWhitespace(true);

		// to put this app into deployment mode, see web.xml
	}

	/**
	 * The main page for our app
	 *
	 * @see org.apache.wicket.Application#getHomePage()
	 */
	@Override
	public Class<WidgetPage> getHomePage() {
		return WidgetPage.class;
	}

	/**
	 * Constructor
	 */
	public WidgetApplication() {
	}

}

@@ -26,28 +26,26 @@
 widgets.
-myconnection
+sitemember
 s;%0A%0Aimpo
@@ -204,20 +204,18 @@
 ets.
-myconnection
+sitemember
 s.ui

Fix packages after the move