Package org.adempiere.webui
Class AdempiereIdGenerator
- java.lang.Object
-
- org.adempiere.webui.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
-
-
Field Summary
Fields Modifier and Type Field Description static String
ZK_LOCATOR_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description AdempiereIdGenerator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
escapeId(String prefix)
String
nextComponentUuid(org.zkoss.zk.ui.Desktop desktop, org.zkoss.zk.ui.Component comp, org.zkoss.zk.ui.metainfo.ComponentInfo compInfo)
String
nextDesktopId(org.zkoss.zk.ui.Desktop desktop)
String
nextPageUuid(org.zkoss.zk.ui.Page page)
static void
updateZkLocatorAttribute(org.zkoss.zk.ui.Component comp)
-
-
-
Field Detail
-
ZK_LOCATOR_ATTRIBUTE
public static final String ZK_LOCATOR_ATTRIBUTE
- See Also:
- Constant Field Values
-
-
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 interfaceorg.zkoss.zk.ui.sys.IdGenerator
-
nextDesktopId
public String nextDesktopId(org.zkoss.zk.ui.Desktop desktop)
- Specified by:
nextDesktopId
in interfaceorg.zkoss.zk.ui.sys.IdGenerator
-
nextPageUuid
public String nextPageUuid(org.zkoss.zk.ui.Page page)
- Specified by:
nextPageUuid
in interfaceorg.zkoss.zk.ui.sys.IdGenerator
-
updateZkLocatorAttribute
public static void updateZkLocatorAttribute(org.zkoss.zk.ui.Component comp)
-
-