// Path: mvc/WicketHelloWorld/src/main/java/com/sample/one/pages/GreetingsPage.java
// public class GreetingsPage extends WebPage {
// 
//     public GreetingsPage(final PageParameters pageParameters) {
//         /*
//          * Renders an attribute named 'greetingmessage'
//          */
//         add(new Label("greetingmessage", "Greetings, Hello World !"));
//     }
// 
// }


import com.sample.one.pages.GreetingsPage;
import org.apache.wicket.Page;
import org.apache.wicket.protocol.http.WebApplication;
package com.sample.one.apps;


/**
 * Entry point of the application.
 *
 * @author saifasif
 */
public class Application extends WebApplication {

    @Override
    public Class<? extends Page> getHomePage() {
// Path: mvc/WicketHelloWorld/src/main/java/com/sample/one/pages/GreetingsPage.java
// public class GreetingsPage extends WebPage {
// 
//     public GreetingsPage(final PageParameters pageParameters) {
//         /*
//          * Renders an attribute named 'greetingmessage'
//          */
//         add(new Label("greetingmessage", "Greetings, Hello World !"));
//     }
// 
// }


// Path: mvc/WicketHelloWorld/src/main/java/com/sample/one/apps/Application.java
import com.sample.one.pages.GreetingsPage;
import org.apache.wicket.Page;
import org.apache.wicket.protocol.http.WebApplication;

package com.sample.one.apps;


/**
 * Entry point of the application.
 *
 * @author saifasif
 */
public class Application extends WebApplication {

    @Override
    public Class<? extends Page> getHomePage() {
        return GreetingsPage.class;