Package $

Source Code of $.PageWrapper

// Generated by the Maven Archetype Plug-in
package ${package}.components;

import com.webobjects.appserver.*;
import com.webobjects.directtoweb.D2WPage;
import com.webobjects.directtoweb.D2WContext;

public class PageWrapper extends WOComponent {

    public PageWrapper(WOContext aContext) {
        super(aContext);
    }
    public D2WContext d2wContext() {
      if (context().page() instanceof D2WPage) {
      D2WPage d2wPage = (D2WPage) context().page();
      return d2wPage.d2wContext();
    }
      return null;
    }
}
TOP

Related Classes of $.PageWrapper

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.