Xpages onClick getClientId

if I add javascript like…

tmpPC = ‘#{javascript:getClientId(“txtPostcode”)}’;

To a button property (onClick, onMousedown, etc) Notes designer prevents me from editing the property after the xpage has been saved.

Am I missing something obvious here?

Subject: Workaround

I view the page source and change the value in there. Fault call placed with IBM.