Class Init

java.lang.Object
org.zkoss.zkmax.bind.impl.Init

public class Init extends Object
Author:
dennis
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Key of application converters, you set it by library-property in application zk.xml.
    static final String
    Key of application validators, you set it by library-property in application zk.xml
    The format is name=className, different validators are split by comma.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    init(org.zkoss.zk.ui.WebApp wapp)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • APP_CONVERTERS

      public static final String APP_CONVERTERS
      Key of application converters, you set it by library-property in application zk.xml. The format is name=className, different converters are split by comma.

      Example

      
       <library-property>
         <name>org.zkoss.bind.appConverters</name>
         <value>foo=my.FooConverter,bar=my.BarConverter</value>
      </library-property>
       
      Since:
      6.0.1
      See Also:
    • APP_VALIDATORS

      public static final String APP_VALIDATORS
      Key of application validators, you set it by library-property in application zk.xml
      The format is name=className, different validators are split by comma.

      Example

      
       <library-property>
         <name>org.zkoss.bind.appValidators</name>
         <value>foo=my.FooValidator,bar=my.BarValidator</value>
      </library-property>
      
      Since:
      6.0.1
      See Also:
  • Constructor Details

    • Init

      public Init()
  • Method Details

    • init

      public static void init(org.zkoss.zk.ui.WebApp wapp) throws jakarta.servlet.ServletException
      Throws:
      jakarta.servlet.ServletException