Package com.gitblit.wicket.panels.BasePanel

Examples of com.gitblit.wicket.panels.BasePanel.JavascriptTextPrompt


      return copyFragment;
    } else {
      // javascript: manual copy & paste with modal browser prompt dialog
      Fragment copyFragment = new Fragment(wicketId, "jsPanel", this);
      ContextImage img = WicketUtils.newImage("copyIcon", "clippy.png");
      img.add(new JavascriptTextPrompt("onclick", "Copy to Clipboard (Ctrl+C, Enter)", text));
      copyFragment.add(img);
      return copyFragment;
    }
  }
View Full Code Here


      return copyFragment;
    } else {
      // javascript: manual copy & paste with modal browser prompt dialog
      Fragment copyFragment = new Fragment(wicketId, "jsPanel", this);
      ContextImage img = WicketUtils.newImage("copyIcon", "clippy.png");
      img.add(new JavascriptTextPrompt("onclick", "Copy to Clipboard (Ctrl+C, Enter)", text));
      copyFragment.add(img);
      return copyFragment;
    }
  }
View Full Code Here

TOP

Related Classes of com.gitblit.wicket.panels.BasePanel.JavascriptTextPrompt

Copyright © 2018 www.massapicom. 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.