-
INDIP: xPages isEditable() won’t work on panels with READ ACL! see my workaround
If you have workflow applications then it’s most likely that you wanna make certain parts of your xPage READonly for certain states (eg. such that an approver cannot change the details of the request he has to approve) In old days we used access controlled sections. xPages gives us the possibility to add ACLs to…
-
QUINDIP: format your dates from backend documents properly
we use a standard date format in our company: 2013-04-30 22:52 to accomplish this I use: When you simply use a data binding this works like a breeze. It’s a bit more complicate if you want to display a date/time from a backend document with Java this won’t work: doc.getItemValueString(“fieldName”)doc.getItemValue(“fieldName”).get(0)doc.getItemValueDateTimeArray(“fieldName”).get(0) this will work:doc.getItemValueDateTimeArray(“fieldName”).get(0).toJavaDate() and just…
-
YOUFEB: DynamicViewPanel cannot sort descending?
I have a been troubling why I can’t sort on certain columns. Again after a loooooooooooooooooong time I figured: hell what.. So I changed the sort direction of that column which I could not sort in the dynamicViewPanel. Just out of any other options, something as a “last resort”, or out of desperation. And who…