Package org.olat.core.gui.formelements

Examples of org.olat.core.gui.formelements.LinkElement


        renderDropDown(f, se, sb);
      } else if (fe instanceof MultipleSelectionElement) {
        MultipleSelectionElement me = (MultipleSelectionElement) fe;
        renderCheckBoxes(f, me, translator, sb);
      } else if (fe instanceof LinkElement) {
        LinkElement le = (LinkElement) fe;
        renderLink(f, le, translator, sb);
      } else {
        throw new OLATRuntimeException("Unknown for element::" + fe.getName() + " " + fe.getClass().getCanonicalName(), null);
      }
View Full Code Here


    date.setDateChooserDateFormat("%d.%m.%Y");
    date.setUseDateChooser(true);
    date.setExample("Format: dd.mm.yyyy [e.g. 17.04.2007]");
    addFormElement("date", date);
   
    link = new LinkElement("guidemo.form.link", "http://www.google.com/", "Link to google.com");
    addFormElement("link", link);
   
    // radio
    String[] keys = new String[] { "1", "2", "3", "4" };
    String[] lables = new String[] { "red", "green", "blue", "yellow" };
View Full Code Here

TOP

Related Classes of org.olat.core.gui.formelements.LinkElement

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.