-
public interface DynamicAttributes
The interface can be implemented byFormatConfigurations
that do not know their exact attributes at compile time.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setAttribute(String name, String value)
Attributes,that are defined in template code but not defined as setter methods, will be provided over this method.
-
-
-
Method Detail
-
setAttribute
void setAttribute(String name, String value)
Attributes,that are defined in template code but not defined as setter methods, will be provided over this method.Example:
$(button='Test' button.id='btn_id' button.onclick='buttonClicked()')
Available setter methods still take precedence over
setAttribute
. If there is a setter methodsetId(String val)
this will be called with parameter"btn_id"
andsetAttribute
will be called with("onclick", "buttonClicked()")
.
-
-