Your Development & Design Resource
Reserved Custom Control Property Names in IBM XPages
07/09/2012 02:25 PM by Chris Toohey
I was just adding to some jumpstart Custom Controls for an
HTML5-based XPages project that I'm working on when I ran into something new.
Specifically, I was working on the
bdi Custom Control (for the
<bdi> HTML5 element), and tried to match the name of the
HTML5 element attribute (
dir) with the Custom Control property
Domino Designer Alert for reserved Custom Control property names in XPages
So, apparently you can't use any of the following Custom Control property names:
|Reserved Property Name|
Not the end of the world, mind you, as it's a simple enough fix: name the
Custom Control property that handled the
dir HTML5 element
-- and now you know!
This is why I also avoid property names like "type", "length", "location", and other reserved [or potentially reserved] words. You'll get no errors when you use those, however...