Package net.mlw.vlh.web

Examples of net.mlw.vlh.web.ValueListConfigBean


   public String getColumnStyleClass() throws JspException
   {

      ValueListSpaceTag rootTag = (ValueListSpaceTag) JspUtils.getParent(this, ValueListSpaceTag.class);

      ValueListConfigBean config = rootTag.getConfig();

      if (config == null)
      {
         throw new JspException("No config found on root tag");
      }

      return config.getStylePrefix();
   }
View Full Code Here


   public ValueListConfigBean getConfig()
   {
      if (config == null)
      {
         LOGGER.warn("No ValueListConfigBean defined, using the default configuration.");
         config = new ValueListConfigBean();
      }

      return config;
   }
View Full Code Here

    * @return style
    * @throws JspException
    */
   public String getRowStyleClass() throws JspException
   {
      ValueListConfigBean config = getRootTag().getConfig();
      if (currentRowNumber == getRootTag().getValueList().getValueListInfo().getFocusedRowNumberInTable())
      {
         return config.getFocusedRowStyle();

      }
      else
      {
         return config.getStylePrefix() + (currentRowNumber % config.getStyleCount());

      }
   }
View Full Code Here

TOP

Related Classes of net.mlw.vlh.web.ValueListConfigBean

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.