com.servoy.j2db.server.headlessclient.dataui
Class WebComponentSpecialIdMaker
java.lang.Object
com.servoy.j2db.server.headlessclient.dataui.WebComponentSpecialIdMaker
public class WebComponentSpecialIdMaker
- extends Object
Utility class for determining the markup ID of a given component. Uses the servoy id of that component and adds indexes in case of table/list view.
Called by overriden methods of Component.getMarkupId()
- Since:
- 5.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebComponentSpecialIdMaker
public WebComponentSpecialIdMaker()
getSpecialId
public static String getSpecialId(int selectedIndex,
org.apache.wicket.Component component)
getSpecialIdIfAppropriate
public static String getSpecialIdIfAppropriate(org.apache.wicket.Component component)
- Determines the markup ID of a given component. Uses the servoy id of that component and adds indexes in case of table/list view in order to make id's
unique.
- Parameters:
component - the component who's markup id is computed and returned.
- Returns:
- the markup id for the given component.