New demos on Bootstrap4XPages: Select2 and Alerts

In case you haven’t seen them yet: I’ve added two new articles/ demos on Bootstrap4XPages.

The Alerts article shows how you can use the XPages built-in FacesMessages functionality to show Bootstrap-styled alerts to users. It also allows you to add the message on one page, navigate the user to another and show the message on that page using the multi-page messages PhaseListener described here.

The Select2 article shows you how to integrate the excellent Select2 plugin into your XPages. Select2 can be described as a combobox-on-steroids/ value picker that allows you to search in all options, work with remote data (using Ajax requests), do multiple selects and format the results using HTML.

Happy Bootstrapping!

(oh and I’m working on a couple of more articles, so stay tuned…)

2 Thoughts on “New demos on Bootstrap4XPages: Select2 and Alerts

  1. Mark,

    I’m really interested in the select2 thing. Especially the remote data stuff if you’re selecting against a BIG list.
    When I go to the github site that you’ve linked to I can’t find the backend of that demo. I don’t see “namesDataStore.xsp” or any Java classes that you mention needing.

    Am I missing something?

    Thanks!!! Great stuff!
    Dave

    • Mark Leusink on July 11, 2013 at 22:33 said:

      I just thought I’d make the demo a bit more challenging :-)

      I’ve updated the GitHub repo: the missing components (XPage & Java class) have been added.

      BTW: on the homepage on Bootstrap4XPage you can also download the full demo database.

Leave a Reply

Your email address will not be published. Required fields are marked *


five + 9 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Post Navigation