XPages and HTML5 gets easier in IBM Notes/Domino 8.5.3

Disclaimer :

“This is beta software from IBM and does not represent a commitment, promise or legal obligation by IBM to deliver, in a future release of Notes/Domino or Lotus Notes Traveler, any material, code or functionality described/shown in this presentation.”


The embargo on talking about the upcoming IBM Notes/Domino 8.5.3 release has been lifted and a couple of others have already blogged about some of the new features like the JS/CSS Aggregator or the new Java design Element but I wanted to mention a small feature that’s going to make life easier for anybody working on HTML 5

First of all the application properties page now has an option to allow you to select the HTML DocType for all the pages generated by your application. One of the options listed here is HTML 5.

Next there is a new property type that has been added to a number of controls called ‘Attribs’. Currently you can find them in the all properties section of the control. The idea behind this is to allow you to add additional attributes that will be rendered to the browser which will allow you to add html 5 attributes to your controls. So if you want to add the ‘Placeholder’ you can add the following to your inputText control :

 <xp:attr name="placeholder" value="This is the placeholder text"></xp:attr>

These two new features alone will make working with HTML5 in XPages much easier.

Tagged with:
Posted in None
%d bloggers like this: