Package org.cast.isi.component

Examples of org.cast.isi.component.StateSavingCollapseBoxBehavior


      if (toggleState != null) {
        tagBox.add(new ClassAttributeModifier("open", !toggleState));
      }       
      tagBox.setVisible(ISIApplication.get().isTagsOn());

      StateSavingCollapseBoxBehavior behavior = new StateSavingCollapseBoxBehavior("tagToggle", getPageName(), "tagToggle");
      tagBox.add(new WebMarkupContainer("tagBoxToggle").add(behavior));

      ContentElement ce = responseService.getOrCreateContentElement(loc).getObject();
      tagBox.add(new TagPanel("tagPanel", ce, ISIApplication.get().getTagLinkBuilder(), ISISession.get().getStudentModel().getObject()));
    } else {
View Full Code Here


    if (toggleState != null) {
      tagBox.add(new ClassAttributeModifier("open", !toggleState));
    }       
    tagBox.setVisible(ISIApplication.get().isTagsOn());

    StateSavingCollapseBoxBehavior behavior = new StateSavingCollapseBoxBehavior("tagToggle", getPageName(), "tagToggle");
    tagBox.add(new WebMarkupContainer("tagBoxToggle").add(behavior));

    ContentElement ce = responseService.getOrCreateContentElement(loc).getObject();
    tagBox.add(new TagPanel("tagPanel", ce, ISIApplication.get().getTagLinkBuilder()).setRenderBodyOnly(true));
  }
View Full Code Here

TOP

Related Classes of org.cast.isi.component.StateSavingCollapseBoxBehavior

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.