Package org.araneaframework.jsp

Examples of org.araneaframework.jsp.UiException


  public int after(Writer out) throws Exception {
    // Type check
    assertControlType("MultiSelectControl");   
   
    if (!"horizontal".equals(type) && !"vertical".equals(type))
      throw new UiException("Attribute 'type' cna be only either 'horizontal' or 'vertical'!");
   
    // Prepare
    MultiSelectControl.ViewModel viewModel = ((MultiSelectControl.ViewModel)controlViewModel);
   
    UiStdFormCheckboxMultiSelectItemLabelTag label = new UiStdFormCheckboxMultiSelectItemLabelTag();
View Full Code Here


    // Prepare
    String name = this.getScopedFullFieldId();    
    MultiSelectControl.ViewModel viewModel = ((MultiSelectControl.ViewModel)controlViewModel);
   
    if (viewModel.getSelectItemByValue(value) == null)
      throw new UiException("Value '" + value + "' not found in values list.");
   
    UiUtil.writeOpenStartTag(out, "input");
    UiUtil.writeAttribute(out, "name", name);
    UiUtil.writeAttribute(out, "class", getStyleClass());
    UiUtil.writeAttribute(out, "type", "checkbox");
View Full Code Here

TOP

Related Classes of org.araneaframework.jsp.UiException

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.