Package org.olat.core.gui.components.table

Examples of org.olat.core.gui.components.table.HrefGenerator


  public void addColumnDescriptors(TableController tableCtr) {
    Locale loc = translator.getLocale();
    if (callback != null) {
      DefaultColumnDescriptor coldesc = new DefaultColumnDescriptor("table.header.filename", 0, DialogElementsController.ACTION_SHOW_FILE,
          loc);
      coldesc.setHrefGenerator(new HrefGenerator() {
        public String generate(int row, String href) {
          DialogElement entry = getEntryAt(row);
          return "javascript:o_openPopUp('" + href + entry.getFilename() + "','fileview','600','700','no')";
        }
      });
View Full Code Here

TOP

Related Classes of org.olat.core.gui.components.table.HrefGenerator

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.