Closed BerndGewehr closed 5 years ago
Sorry, Bernd, I just came across this while doing some work on the snippets site. The way it's done pre-dates Bootstrap coming into XPages Extension Library, so it's probably not going to be easy to incorporate as it is in the Application Layout Control. The OpenNTF Snippets search is now a multi-faceted search, working slightly differently.
It would need building up as a drop-down like we do with the login area in the new Snippets site https://github.com/OpenNTF/XSnippets/blob/master/xsnippets-disk/Code/ScriptLibraries/brandcms.login.js. Instead of a login form, it would need an unordered list and best would be to pass to a hidden input control that's bound to a sessionScope variable. Getting it in the nav bar is probably going to be trickier, it may need JavaScript as well to build it up.
For info, this is what we'll be launching soon as the navigation area and search area.
Here's the login area built by that brandcms.login.js
Hi Paul, thank you for the ping. We found a similar way to present our search in our xPages apps in between. No issue anymore for us, but possibly a good snippet anyway once modernized with bootstrap.
Hi OpenNTF,
the beautiful searchbox from the openntf.org start page is not yet available as a snippet, right? Would you be so kind to publish that? THX! Bernd