Class AdempiereIdGenerator

  • All Implemented Interfaces:
    org.zkoss.zk.ui.sys.IdGenerator

    public class AdempiereIdGenerator
    extends Object
    implements org.zkoss.zk.ui.sys.IdGenerator
    Id generator for selenium ide recording. You don't need this to run ztl or zk jq selector based test script but if would help to code or troubleshoot the test script. DON'T use this for other purpose, you have been warned :)
    Author:
    Carlos Ruiz, hengsin
    • Constructor Detail

      • AdempiereIdGenerator

        public AdempiereIdGenerator()
    • Method Detail

      • nextComponentUuid

        public String nextComponentUuid​(org.zkoss.zk.ui.Desktop desktop,
                                        org.zkoss.zk.ui.Component comp,
                                        org.zkoss.zk.ui.metainfo.ComponentInfo compInfo)
        Specified by:
        nextComponentUuid in interface org.zkoss.zk.ui.sys.IdGenerator
      • escapeId

        public static String escapeId​(String prefix)
      • nextDesktopId

        public String nextDesktopId​(org.zkoss.zk.ui.Desktop desktop)
        Specified by:
        nextDesktopId in interface org.zkoss.zk.ui.sys.IdGenerator
      • nextPageUuid

        public String nextPageUuid​(org.zkoss.zk.ui.Page page)
        Specified by:
        nextPageUuid in interface org.zkoss.zk.ui.sys.IdGenerator
      • updateZkLocatorAttribute

        public static void updateZkLocatorAttribute​(org.zkoss.zk.ui.Component comp)