Is it possible to include merge fields for custom HTML attributes of Visualforce tags? The following code doesn't seem to work.
<apex:repeat value="{!lst_items}" var="item">
<apex:inputText value="{!item.Value}" html-data-object="{!item.objectName}" />
</apex:repeat>
The above code throws the following compilation error:
Unknown property : Classname.item
The item property is declared public with getters and setters. In fact, the following works fine.
<apex:repeat value="{!lst_items}" var="item">
{!item.objectName}
</apex:repeat>