I was recently working on a project where my code was injecting XPage elements onto the page at runtime. To do that, you need to know a lot of syntax. Syntax that isn’t in the help file, or blogged about, or easily findable. Sure, there’s this, but that isn’t exactly reader-friendly, nor are there examples of how to use the elements. Just because you know you’re using “XspInputText”, doesn’t mean you know how to use it. What’s the syntax for adding an attribute, for example? Or maybe you know the syntax structure, but need to know what the parameter looks like in the code.
Example, if you set the above “display format” to “Date and Time” in the picker, how is that set programmatically?
With the parameter “both”. Good luck figuring that out on your own.
File under: “Things you may have already known, but I didn’t, and I share it just in case you didn’t either” AND “Blog post titles I struggled with actually explaining what the post was about without actually typing the post in the title”