I’m creating a simple computed field with a binding of session.getCommonUserName().
The XML is:
<?xml version="1.0" encoding="UTF-8"?><xp:view xmlns:xp=“http://www.ibm.com/xsp/core”>
<xp:label value=“Bullshit” id=“label1”></xp:label>
<xp:text escape=“true” id=“computedField1”
binding=“${javascript:session.getCommonUserName()}”>
</xp:text>
</xp:view>
Any ideas?