Package de.odysseus.calyxo.forms.view

Examples of de.odysseus.calyxo.forms.view.DefaultGroupModel


   * @see de.odysseus.calyxo.base.taglib.html.AbstractTag#init()
   */
  protected void init() throws Exception {
    super.init();

    groupModel = new DefaultGroupModel(getContext(), this);
    if (varGroupModel != null) {
      pageContext.setAttribute(varGroupModel, groupModel);
    }
  }
View Full Code Here


   */
  protected String getCheckedAttribute() throws Exception {
    if (getContext().isMultiple(this)) {
      GroupModel group = (GroupModel)getContext().getComponentData(this);
      if (group == null) {
        group = new DefaultGroupModel(getContext(), this);
        getContext().putComponentData(this, group);
      }
      if (group.isSelected(getValue())) {
        return "checked";
      } else if (!group.isSelectionAvailable() && getChecked() != null) {
View Full Code Here

TOP

Related Classes of de.odysseus.calyxo.forms.view.DefaultGroupModel

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.