org.wicketstuff.datatable_autocomplete.model
Class MarkupIDInStringModel
java.lang.Object
org.wicketstuff.datatable_autocomplete.model.MarkupIDInStringModel
- All Implemented Interfaces:
- Serializable, IClusterable, IDetachable, IModel<String>
public class MarkupIDInStringModel
- extends Object
- implements IModel<String>
- Author:
- mocleiri
Used for situations like rendering javascript method calls where we need the markupid for
the component.
The markupid is not available until the component is on a page so we need the model to
defer the question until rendering time which by definition the context will exist.
- See Also:
- Serialized Form
|
Field Summary |
static String |
MARKUP_ID_TAG
Used by child classes to define the markupid placeholder in their attached template |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MARKUP_ID_TAG
public static final String MARKUP_ID_TAG
- Used by child classes to define the markupid placeholder in their attached template
- See Also:
- Constant Field Values
MarkupIDInStringModel
public MarkupIDInStringModel(String template,
Component target,
Map<String,IModel<? extends Serializable>> templateArgMap)
MarkupIDInStringModel
public MarkupIDInStringModel(String template,
Component target)
storeTemplateArgument
protected void storeTemplateArgument(String alias,
IModel<? extends Serializable> valueModel)
getObject
public final String getObject()
- Specified by:
getObject in interface IModel<String>
setObject
public void setObject(String object)
- Specified by:
setObject in interface IModel<String>
detach
public void detach()
- Specified by:
detach in interface IDetachable
Copyright © 2009-2013. All Rights Reserved.