Examples of XPage


Examples of net.xoetrope.xui.XPage

    public PosScreen showPage(String pageName, boolean refresh) {
        if (pageName.startsWith("/")) {
            pageName = pageName.substring(1);
        }
        XPage newPage = (XPage)currentProject.getPageManager().showPage(this.getScreenLocation() + "/" + pageName);        
        if (newPage instanceof PosScreen) {
            if (refresh) ((PosScreen) newPage).refresh();
            return (PosScreen) newPage;
        }
        return null;
View Full Code Here

Examples of net.xoetrope.xui.XPage

    public PosDialog showDialog(String pageName, DialogCallback cb, String text) {
        if (pageName.startsWith("/")) {
            pageName = pageName.substring(1);
        }
        XPage dialogPage = (XPage)currentProject.getPageManager().loadPage(this.getScreenLocation() + "/" + pageName);       
        PosDialog dialog = PosDialog.getInstance(dialogPage, true, 0);
        dialog.showDialog(this, cb, text);
        return dialog;
    }
View Full Code Here

Examples of net.xoetrope.xui.XPage

        page = loadClass( className );
      }
      catch ( Exception e ) {
        if ( BuildProperties.DEBUG )
          DebugLogger.trace( "Unable to load the named class: " + className );
        page = new XPage();
      }
      setPageName( pageName );
      setPageExtension( ext );
      page.setLayout( new XHtmlFormLayout( this ));   
View Full Code Here

Examples of net.xoetrope.xui.XPage

  /**
   * Returns the scripts for this page
   */
  public String getPageScript()
  {
    XPage currentPage = (XPage)pageMgr.getCurrentPage( null );
    return (String)currentPage.getAttribute( "source", "scripts" );
  }
View Full Code Here

Examples of net.xoetrope.xui.XPage

  /**
   * Returns the scripts for this page
   */
  public String getPageScript()
  {
    XPage currentPage = (XPage)pageMgr.getCurrentPage( null );
    return (String)currentPage.getAttribute( "source", "scripts" );
  }
View Full Code Here

Examples of net.xoetrope.xui.XPage

  {
    closeButtonID = -1;
    if ( owner != null )
      focusComponent = getFocusComponent( (Container)owner );
    if ( saveOnClose ) {
      XPage currentPage = (XPage)project.getPageManager().getCurrentPage( null );
      currentPage.saveBoundComponentValues();
    }
    updateBindings();
    updateBoundComponentValues();
    pageActivated();
    showModalWindow( this );
View Full Code Here

Examples of net.xoetrope.xui.XPage

      p = p.getParent();

    if ( p != null ) {
     
      if ( p instanceof XDragManager ){
        XPage page = (XPage)p;       
        String key = (String)page.getAttribute( "dragInfo", c.getName() );
       
        if ( key != null ) {
          XDragManager dragManager = (XDragManager)p;
          XDragInfo dragInfo = dragManager.getDragInfo( key );
          return new XDragInfoTransferable( dragInfo, dataFlavors[ 2 ] );
View Full Code Here

Examples of net.xoetrope.xui.XPage

    public PosScreen showPage(String pageName, boolean refresh) {
        if (pageName.startsWith("/")) {
            pageName = pageName.substring(1);
        }
        XPage newPage = (XPage)XProjectManager.getPageManager().showPage(this.getScreenLocation() + "/" + pageName);        
        if (newPage instanceof PosScreen) {
            if (refresh) ((PosScreen) newPage).refresh();
            return (PosScreen) newPage;
        }
        return null;
View Full Code Here

Examples of net.xoetrope.xui.XPage

    public PosDialog showDialog(String pageName, DialogCallback cb, String text) {
        if (pageName.startsWith("/")) {
            pageName = pageName.substring(1);
        }
        XPage dialogPage = (XPage)XProjectManager.getPageManager().loadPage(this.getScreenLocation() + "/" + pageName);       
        PosDialog dialog = PosDialog.getInstance(dialogPage, true, 0);
        dialog.showDialog(this, cb, text);
        return dialog;
    }
View Full Code Here
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.