<i class="fa-trash-o fa" /> ( from http://fortawesome.github.io/Font-Awesome/icons/ )
Run Code Online (Sandbox Code Playgroud)
我希望上面的类是列图标的结果:
<xp:this.iconSrc><![CDATA[#{javascript:var class = "fa-trash-o fa";
if (rowData.isDocument() && rowData.getDocument()!= null) {
var formName = rowData.getDocument().getItemValueString("Form");
if ( formName == "Aform") {
// How can I reffer to the class? => The icon from the class will be shown. }
]]></xp:this.iconSrc>
Run Code Online (Sandbox Code Playgroud)